docs.json
[
{
"comment": "",
"meta": {
"range": [
368,
526
],
"filename": "ActivationFunction.js",
"lineno": 14,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000002",
"name": "module.exports",
"type": "ClassDeclaration"
}
},
"undocumented": true,
"name": "exports",
"longname": "module.exports",
"kind": "class",
"memberof": "module",
"scope": "static"
},
{
"comment": "/**\n * @class ActivationFunction\n * @desc Container for the neural network activation function and its derivative\n * @param func Activation function\n * @param dfunc Derivative of the activation function\n * @see sigmoid tanh\n * @example\n *\n * const softStep = new ActivationFunction(\n * x => 1 / (1 + Math.exp(x)),\n * x => this.func(x) * (1 - this.func(x))\n * )\n */",
"meta": {
"filename": "ActivationFunction.js",
"lineno": 1,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {}
},
"kind": "class",
"name": "ActivationFunction",
"description": "Container for the neural network activation function and its derivative",
"params": [
{
"description": "Activation function",
"name": "func"
},
{
"description": "Derivative of the activation function",
"name": "dfunc"
}
],
"see": [
"sigmoid tanh"
],
"examples": [
"const softStep = new ActivationFunction(\n x => 1 / (1 + Math.exp(x)),\n x => this.func(x) * (1 - this.func(x))\n )"
],
"longname": "ActivationFunction",
"scope": "global"
},
{
"comment": "",
"meta": {
"range": [
383,
526
],
"filename": "ActivationFunction.js",
"lineno": 14,
"columnno": 15,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000003",
"name": "module.exports",
"type": "ClassDeclaration",
"paramnames": [
"func",
"dfunc"
]
}
},
"undocumented": true,
"name": "exports",
"longname": "module.exports",
"kind": "class",
"memberof": "module",
"scope": "static"
},
{
"comment": "",
"meta": {
"range": [
412,
524
],
"filename": "ActivationFunction.js",
"lineno": 15,
"columnno": 2,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000006",
"name": "module.exports",
"type": "MethodDefinition",
"paramnames": [
"func",
"dfunc"
]
},
"vars": {
"": null
}
},
"undocumented": true,
"name": "exports",
"longname": "module.exports#module.exports",
"kind": "class",
"memberof": "module.exports#module",
"scope": "static",
"params": []
},
{
"comment": "",
"meta": {
"range": [
444,
460
],
"filename": "ActivationFunction.js",
"lineno": 16,
"columnno": 4,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000013",
"name": "this.func",
"type": "Identifier",
"value": "func",
"paramnames": []
}
},
"undocumented": true,
"name": "func",
"longname": "module.exports#func",
"kind": "member",
"memberof": "module.exports",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
465,
483
],
"filename": "ActivationFunction.js",
"lineno": 17,
"columnno": 4,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000019",
"name": "this.dfunc",
"type": "Identifier",
"value": "dfunc",
"paramnames": []
}
},
"undocumented": true,
"name": "dfunc",
"longname": "module.exports#dfunc",
"kind": "member",
"memberof": "module.exports",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
488,
520
],
"filename": "ActivationFunction.js",
"lineno": 18,
"columnno": 4,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000025",
"name": "this.type",
"type": "Literal",
"value": "ActivationFunction",
"paramnames": []
}
},
"undocumented": true,
"name": "type",
"longname": "module.exports#type",
"kind": "member",
"memberof": "module.exports",
"scope": "instance"
},
{
"comment": "/**\n * @class DecisionTree\n * @param {Matrix | Array} data\n * @param {Function} evalFunction\n */",
"meta": {
"filename": "DecisionTree.js",
"lineno": 7,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {}
},
"kind": "class",
"name": "DecisionTree",
"params": [
{
"type": {
"names": [
"Matrix",
"Array"
]
},
"name": "data"
},
{
"type": {
"names": [
"function"
]
},
"name": "evalFunction"
}
],
"longname": "DecisionTree",
"scope": "global"
},
{
"comment": "",
"meta": {
"range": [
284,
457
],
"filename": "DecisionTree.js",
"lineno": 12,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000052",
"name": "DecisionTree",
"type": "ClassDeclaration",
"paramnames": [
"data",
"evalFunction"
]
}
},
"undocumented": true,
"name": "DecisionTree",
"longname": "DecisionTree",
"kind": "class",
"scope": "global"
},
{
"comment": "",
"meta": {
"range": [
307,
455
],
"filename": "DecisionTree.js",
"lineno": 13,
"columnno": 2,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000055",
"name": "DecisionTree",
"type": "MethodDefinition",
"paramnames": [
"data",
"evalFunction"
]
},
"vars": {
"": null
}
},
"undocumented": true,
"name": "DecisionTree",
"longname": "DecisionTree",
"kind": "class",
"scope": "global",
"params": []
},
{
"comment": "",
"meta": {
"range": [
356,
383
],
"filename": "DecisionTree.js",
"lineno": 14,
"columnno": 4,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000064",
"name": "this.data",
"type": "CallExpression",
"value": "",
"paramnames": []
}
},
"undocumented": true,
"name": "data",
"longname": "DecisionTree#data",
"kind": "member",
"memberof": "DecisionTree",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
388,
420
],
"filename": "DecisionTree.js",
"lineno": 15,
"columnno": 4,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000074",
"name": "this.evalFunction",
"type": "Identifier",
"value": "evalFunction",
"paramnames": []
}
},
"undocumented": true,
"name": "evalFunction",
"longname": "DecisionTree#evalFunction",
"kind": "member",
"memberof": "DecisionTree",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
425,
451
],
"filename": "DecisionTree.js",
"lineno": 16,
"columnno": 4,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000080",
"name": "this.type",
"type": "Literal",
"value": "DecisionTree",
"paramnames": []
}
},
"undocumented": true,
"name": "type",
"longname": "DecisionTree#type",
"kind": "member",
"memberof": "DecisionTree",
"scope": "instance"
},
{
"comment": "/**\n * @memberOf DecisionTree#getColumn\n * @param data\n * @param index\n * @returns {Matrix}\n */",
"meta": {
"range": [
555,
649
],
"filename": "DecisionTree.js",
"lineno": 26,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000086",
"name": "DecisionTree.prototype.getColumn",
"type": "FunctionExpression",
"paramnames": [
"data",
"index"
]
},
"vars": {
"": null
}
},
"memberof": "DecisionTree#getColumn.DecisionTree",
"params": [
{
"name": "data"
},
{
"name": "index"
}
],
"returns": [
{
"type": {
"names": [
"Matrix"
]
}
}
],
"name": "getColumn",
"longname": "DecisionTree#getColumn.DecisionTree#getColumn",
"kind": "function",
"scope": "instance"
},
{
"comment": "/**\n * @memberOf DecisionTree#split\n * @param data\n * @param m\n * @param n\n * @returns {Matrix[]}\n */",
"meta": {
"range": [
753,
1175
],
"filename": "DecisionTree.js",
"lineno": 37,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000107",
"name": "DecisionTree.prototype.split",
"type": "FunctionExpression",
"paramnames": [
"data",
"m",
"n"
]
},
"vars": {
"splittingFunction": "DecisionTree#split.DecisionTree#split~splittingFunction",
"": null,
"foldNode": "DecisionTree#split.DecisionTree#split~foldNode",
"left": "DecisionTree#split.DecisionTree#split~left",
"right": "DecisionTree#split.DecisionTree#split~right"
}
},
"memberof": "DecisionTree#split.DecisionTree",
"params": [
{
"name": "data"
},
{
"name": "m"
},
{
"name": "n"
}
],
"returns": [
{
"type": {
"names": [
"Array.<Matrix>"
]
}
}
],
"name": "split",
"longname": "DecisionTree#split.DecisionTree#split",
"kind": "function",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
816,
919
],
"filename": "DecisionTree.js",
"lineno": 38,
"columnno": 8,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000119",
"name": "splittingFunction",
"type": "ConditionalExpression",
"value": ""
}
},
"undocumented": true,
"name": "splittingFunction",
"longname": "DecisionTree#split.DecisionTree#split~splittingFunction",
"kind": "constant",
"memberof": "DecisionTree#split.DecisionTree#split",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
929,
1038
],
"filename": "DecisionTree.js",
"lineno": 42,
"columnno": 8,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000144",
"name": "foldNode",
"type": "ArrowFunctionExpression"
},
"vars": {
"": null
}
},
"undocumented": true,
"name": "foldNode",
"longname": "DecisionTree#split.DecisionTree#split~foldNode",
"kind": "function",
"memberof": "DecisionTree#split.DecisionTree#split",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
1048,
1088
],
"filename": "DecisionTree.js",
"lineno": 49,
"columnno": 8,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000171",
"name": "left",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "left",
"longname": "DecisionTree#split.DecisionTree#split~left",
"kind": "constant",
"memberof": "DecisionTree#split.DecisionTree#split",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
1097,
1150
],
"filename": "DecisionTree.js",
"lineno": 50,
"columnno": 8,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000178",
"name": "right",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "right",
"longname": "DecisionTree#split.DecisionTree#split~right",
"kind": "constant",
"memberof": "DecisionTree#split.DecisionTree#split",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
1177,
1463
],
"filename": "DecisionTree.js",
"lineno": 54,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000191",
"name": "DecisionTree.prototype.gain",
"type": "FunctionExpression",
"paramnames": [
"matrixSplit",
"total",
"score"
]
},
"vars": {
"p": "DecisionTree#gain~p",
"entropy0": "DecisionTree#gain~entropy0",
"entropy1": "DecisionTree#gain~entropy1"
}
},
"undocumented": true,
"name": "gain",
"longname": "DecisionTree#gain",
"kind": "function",
"memberof": "DecisionTree",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
1254,
1290
],
"filename": "DecisionTree.js",
"lineno": 55,
"columnno": 8,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000203",
"name": "p",
"type": "BinaryExpression",
"value": ""
}
},
"undocumented": true,
"name": "p",
"longname": "DecisionTree#gain~p",
"kind": "constant",
"memberof": "DecisionTree#gain",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
1299,
1348
],
"filename": "DecisionTree.js",
"lineno": 56,
"columnno": 8,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000214",
"name": "entropy0",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "entropy0",
"longname": "DecisionTree#gain~entropy0",
"kind": "constant",
"memberof": "DecisionTree#gain",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
1357,
1406
],
"filename": "DecisionTree.js",
"lineno": 57,
"columnno": 8,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000226",
"name": "entropy1",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "entropy1",
"longname": "DecisionTree#gain~entropy1",
"kind": "constant",
"memberof": "DecisionTree#gain",
"scope": "inner",
"params": []
},
{
"comment": "/**\n * @memberOf DecisionTree#train\n * @param {Matrix} data\n * @returns {Node}\n */",
"meta": {
"range": [
1548,
2535
],
"filename": "DecisionTree.js",
"lineno": 66,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000250",
"name": "DecisionTree.prototype.train",
"type": "FunctionExpression",
"paramnames": [
"data"
]
},
"vars": {
"score": "DecisionTree#train.DecisionTree#train~score",
"bestGain": "DecisionTree#train.DecisionTree#train~bestGain",
"bestAttribute": "DecisionTree#train.DecisionTree#train~bestAttribute",
"bestSets": "DecisionTree#train.DecisionTree#train~bestSets",
"columnCount": "DecisionTree#train.DecisionTree#train~columnCount",
"i": "DecisionTree#train.DecisionTree#train~i",
"columnValues": "DecisionTree#train.DecisionTree#train~columnValues",
"": null
}
},
"memberof": "DecisionTree#train.DecisionTree",
"params": [
{
"type": {
"names": [
"Matrix"
]
},
"name": "data"
}
],
"returns": [
{
"type": {
"names": [
"Node"
]
}
}
],
"name": "train",
"longname": "DecisionTree#train.DecisionTree#train",
"kind": "function",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
1673,
1709
],
"filename": "DecisionTree.js",
"lineno": 70,
"columnno": 8,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000275",
"name": "score",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "score",
"longname": "DecisionTree#train.DecisionTree#train~score",
"kind": "constant",
"memberof": "DecisionTree#train.DecisionTree#train",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
1727,
1741
],
"filename": "DecisionTree.js",
"lineno": 72,
"columnno": 6,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000285",
"name": "bestGain",
"type": "Literal",
"value": 0
}
},
"undocumented": true,
"name": "bestGain",
"longname": "DecisionTree#train.DecisionTree#train~bestGain",
"kind": "member",
"memberof": "DecisionTree#train.DecisionTree#train",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
1748,
1766
],
"filename": "DecisionTree.js",
"lineno": 73,
"columnno": 6,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000289",
"name": "bestAttribute",
"type": "ArrayExpression",
"value": "[]"
}
},
"undocumented": true,
"name": "bestAttribute",
"longname": "DecisionTree#train.DecisionTree#train~bestAttribute",
"kind": "member",
"memberof": "DecisionTree#train.DecisionTree#train",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
1773,
1786
],
"filename": "DecisionTree.js",
"lineno": 74,
"columnno": 6,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000293",
"name": "bestSets",
"type": "ArrayExpression",
"value": "[]"
}
},
"undocumented": true,
"name": "bestSets",
"longname": "DecisionTree#train.DecisionTree#train~bestSets",
"kind": "member",
"memberof": "DecisionTree#train.DecisionTree#train",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
1796,
1833
],
"filename": "DecisionTree.js",
"lineno": 76,
"columnno": 8,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000297",
"name": "columnCount",
"type": "BinaryExpression",
"value": ""
}
},
"undocumented": true,
"name": "columnCount",
"longname": "DecisionTree#train.DecisionTree#train~columnCount",
"kind": "constant",
"memberof": "DecisionTree#train.DecisionTree#train",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
1885,
1890
],
"filename": "DecisionTree.js",
"lineno": 78,
"columnno": 11,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000309",
"name": "i",
"type": "Literal",
"value": 0
}
},
"undocumented": true,
"name": "i",
"longname": "DecisionTree#train.DecisionTree#train~i",
"kind": "member",
"memberof": "DecisionTree#train.DecisionTree#train",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
1926,
1958
],
"filename": "DecisionTree.js",
"lineno": 79,
"columnno": 10,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000319",
"name": "columnValues",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "columnValues",
"longname": "DecisionTree#train.DecisionTree#train~columnValues",
"kind": "constant",
"memberof": "DecisionTree#train.DecisionTree#train",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
2014,
2054
],
"filename": "DecisionTree.js",
"lineno": 81,
"columnno": 12,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000336",
"name": "matrixSplit",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "matrixSplit",
"longname": "<anonymous>~matrixSplit",
"kind": "constant",
"memberof": "<anonymous>",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
2067,
2119
],
"filename": "DecisionTree.js",
"lineno": 82,
"columnno": 12,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000346",
"name": "gain",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "gain",
"longname": "<anonymous>~gain",
"kind": "constant",
"memberof": "<anonymous>",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
2221,
2236
],
"filename": "DecisionTree.js",
"lineno": 84,
"columnno": 8,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000382",
"name": "bestGain",
"type": "Identifier",
"funcscope": "<anonymous>",
"value": "gain",
"paramnames": []
}
},
"undocumented": true,
"name": "bestGain",
"longname": "<anonymous>~bestGain",
"kind": "member",
"memberof": "<anonymous>",
"scope": "inner"
},
{
"comment": "",
"meta": {
"range": [
2245,
2271
],
"filename": "DecisionTree.js",
"lineno": 85,
"columnno": 8,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000386",
"name": "bestAttribute",
"type": "ArrayExpression",
"funcscope": "<anonymous>",
"value": "[\"i\",\"value\"]",
"paramnames": []
}
},
"undocumented": true,
"name": "bestAttribute",
"longname": "<anonymous>~bestAttribute",
"kind": "member",
"memberof": "<anonymous>",
"scope": "inner"
},
{
"comment": "",
"meta": {
"range": [
2280,
2302
],
"filename": "DecisionTree.js",
"lineno": 86,
"columnno": 8,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000392",
"name": "bestSets",
"type": "Identifier",
"funcscope": "<anonymous>",
"value": "matrixSplit",
"paramnames": []
}
},
"undocumented": true,
"name": "bestSets",
"longname": "<anonymous>~bestSets",
"kind": "member",
"memberof": "<anonymous>",
"scope": "inner"
},
{
"comment": "/**\n * @memberOf DecisionTree#predict\n * @param {Array} observations\n * @param {Node} node\n * @returns {*}\n */",
"meta": {
"range": [
2648,
3037
],
"filename": "DecisionTree.js",
"lineno": 103,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000440",
"name": "DecisionTree.prototype.predict",
"type": "FunctionExpression",
"value": "predict",
"paramnames": [
"observations",
"node"
]
},
"vars": {
"v": "DecisionTree#predict.DecisionTree#predict~v",
"cond": "DecisionTree#predict.DecisionTree#predict~cond",
"": null,
"branch": "DecisionTree#predict.DecisionTree#predict~branch"
}
},
"memberof": "DecisionTree#predict.DecisionTree",
"params": [
{
"type": {
"names": [
"Array"
]
},
"name": "observations"
},
{
"type": {
"names": [
"Node"
]
},
"name": "node"
}
],
"returns": [
{
"type": {
"names": [
"*"
]
}
}
],
"name": "predict",
"longname": "DecisionTree#predict.DecisionTree#predict",
"kind": "function",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
2779,
2805
],
"filename": "DecisionTree.js",
"lineno": 107,
"columnno": 8,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000461",
"name": "v",
"type": "MemberExpression",
"value": "observations[undefined]"
}
},
"undocumented": true,
"name": "v",
"longname": "DecisionTree#predict.DecisionTree#predict~v",
"kind": "constant",
"memberof": "DecisionTree#predict.DecisionTree#predict",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
2814,
2909
],
"filename": "DecisionTree.js",
"lineno": 108,
"columnno": 8,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000469",
"name": "cond",
"type": "ConditionalExpression",
"value": ""
}
},
"undocumented": true,
"name": "cond",
"longname": "DecisionTree#predict.DecisionTree#predict~cond",
"kind": "constant",
"memberof": "DecisionTree#predict.DecisionTree#predict",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
2929,
2990
],
"filename": "DecisionTree.js",
"lineno": 112,
"columnno": 6,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000488",
"name": "branch",
"type": "ConditionalExpression",
"value": ""
}
},
"undocumented": true,
"name": "branch",
"longname": "DecisionTree#predict.DecisionTree#predict~branch",
"kind": "member",
"memberof": "DecisionTree#predict.DecisionTree#predict",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
3039,
3066
],
"filename": "DecisionTree.js",
"lineno": 119,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000510",
"name": "module.exports",
"type": "Identifier"
}
},
"undocumented": true,
"name": "exports",
"longname": "module.exports",
"kind": "member",
"memberof": "module",
"scope": "static"
},
{
"comment": "",
"meta": {
"range": [
46,
131
],
"filename": "Impurity.js",
"lineno": 5,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000514",
"name": "module.exports",
"type": "ClassDeclaration"
}
},
"undocumented": true,
"name": "exports",
"longname": "module.exports",
"kind": "class",
"memberof": "module",
"scope": "static"
},
{
"comment": "/**\r\n * @class Impurity\r\n * @param func\r\n */",
"meta": {
"filename": "Impurity.js",
"lineno": 1,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {}
},
"kind": "class",
"name": "Impurity",
"params": [
{
"name": "func"
}
],
"longname": "Impurity",
"scope": "global"
},
{
"comment": "",
"meta": {
"range": [
61,
131
],
"filename": "Impurity.js",
"lineno": 5,
"columnno": 15,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000515",
"name": "module.exports",
"type": "ClassDeclaration",
"paramnames": [
"func"
]
}
},
"undocumented": true,
"name": "exports",
"longname": "module.exports",
"kind": "class",
"memberof": "module",
"scope": "static"
},
{
"comment": "",
"meta": {
"range": [
81,
128
],
"filename": "Impurity.js",
"lineno": 6,
"columnno": 2,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000518",
"name": "module.exports",
"type": "MethodDefinition",
"paramnames": [
"func"
]
},
"vars": {
"": null
}
},
"undocumented": true,
"name": "exports",
"longname": "module.exports#module.exports",
"kind": "class",
"memberof": "module.exports#module",
"scope": "static",
"params": []
},
{
"comment": "",
"meta": {
"range": [
107,
123
],
"filename": "Impurity.js",
"lineno": 7,
"columnno": 4,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000524",
"name": "this.func",
"type": "Identifier",
"value": "func",
"paramnames": []
}
},
"undocumented": true,
"name": "func",
"longname": "module.exports#func",
"kind": "member",
"memberof": "module.exports",
"scope": "instance"
},
{
"comment": "/**\n * @class NeuralNetwork\n * @param {Number} inputNodes\n * @param {Nmber} hiddenNodes\n * @param {Number} outputNodes\n */",
"meta": {
"filename": "NeuralNetwork.js",
"lineno": 4,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {}
},
"kind": "class",
"name": "NeuralNetwork",
"params": [
{
"type": {
"names": [
"Number"
]
},
"name": "inputNodes"
},
{
"type": {
"names": [
"Nmber"
]
},
"name": "hiddenNodes"
},
{
"type": {
"names": [
"Number"
]
},
"name": "outputNodes"
}
],
"longname": "NeuralNetwork",
"scope": "global"
},
{
"comment": "",
"meta": {
"range": [
202,
954
],
"filename": "NeuralNetwork.js",
"lineno": 10,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000539",
"name": "NeuralNetwork",
"type": "ClassDeclaration",
"paramnames": [
"values"
]
}
},
"undocumented": true,
"name": "NeuralNetwork",
"longname": "NeuralNetwork",
"kind": "class",
"scope": "global"
},
{
"comment": "",
"meta": {
"range": [
226,
952
],
"filename": "NeuralNetwork.js",
"lineno": 11,
"columnno": 2,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000542",
"name": "NeuralNetwork",
"type": "MethodDefinition",
"paramnames": [
"values"
]
},
"vars": {
"": null
}
},
"undocumented": true,
"name": "NeuralNetwork",
"longname": "NeuralNetwork",
"kind": "class",
"scope": "global",
"params": []
},
{
"comment": "",
"meta": {
"range": [
330,
360
],
"filename": "NeuralNetwork.js",
"lineno": 14,
"columnno": 10,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000562",
"name": "f",
"type": "ArrowFunctionExpression"
}
},
"undocumented": true,
"name": "f",
"longname": "<anonymous>~f",
"kind": "function",
"memberof": "<anonymous>",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
365,
433
],
"filename": "NeuralNetwork.js",
"lineno": 15,
"columnno": 4,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000575",
"name": "this.weightsIh",
"type": "CallExpression",
"value": "",
"paramnames": []
}
},
"undocumented": true,
"name": "weightsIh",
"longname": "NeuralNetwork#weightsIh",
"kind": "member",
"memberof": "NeuralNetwork",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
438,
507
],
"filename": "NeuralNetwork.js",
"lineno": 16,
"columnno": 4,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000591",
"name": "this.weightsHo",
"type": "CallExpression",
"value": "",
"paramnames": []
}
},
"undocumented": true,
"name": "weightsHo",
"longname": "NeuralNetwork#weightsHo",
"kind": "member",
"memberof": "NeuralNetwork",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
513,
563
],
"filename": "NeuralNetwork.js",
"lineno": 18,
"columnno": 4,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000607",
"name": "this.biasH",
"type": "CallExpression",
"value": "",
"paramnames": []
}
},
"undocumented": true,
"name": "biasH",
"longname": "NeuralNetwork#biasH",
"kind": "member",
"memberof": "NeuralNetwork",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
568,
618
],
"filename": "NeuralNetwork.js",
"lineno": 19,
"columnno": 4,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000621",
"name": "this.biasO",
"type": "CallExpression",
"value": "",
"paramnames": []
}
},
"undocumented": true,
"name": "biasO",
"longname": "NeuralNetwork#biasO",
"kind": "member",
"memberof": "NeuralNetwork",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
921,
948
],
"filename": "NeuralNetwork.js",
"lineno": 30,
"columnno": 4,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000645",
"name": "this.type",
"type": "Literal",
"value": "NeuralNetwork",
"paramnames": []
}
},
"undocumented": true,
"name": "type",
"longname": "NeuralNetwork#type",
"kind": "member",
"memberof": "NeuralNetwork",
"scope": "instance"
},
{
"comment": "/**\n * @memberOf NeuralNetwork\n * @function NeuralNetwork#setActivationFunction\n * @param {Function} func\n */",
"meta": {
"filename": "NeuralNetwork.js",
"lineno": 33,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {}
},
"memberof": "NeuralNetwork",
"kind": "function",
"name": "setActivationFunction",
"params": [
{
"type": {
"names": [
"function"
]
},
"name": "func"
}
],
"longname": "NeuralNetwork#setActivationFunction",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
1065,
1175
],
"filename": "NeuralNetwork.js",
"lineno": 38,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000651",
"name": "NeuralNetwork.prototype.setActivationFunction",
"type": "FunctionExpression",
"paramnames": [
"func"
]
},
"vars": {
"this.activationFunction": "NeuralNetwork#activationFunction"
}
},
"undocumented": true,
"name": "setActivationFunction",
"longname": "NeuralNetwork#setActivationFunction",
"kind": "function",
"memberof": "NeuralNetwork",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
1143,
1173
],
"filename": "NeuralNetwork.js",
"lineno": 39,
"columnno": 2,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000663",
"name": "this.activationFunction",
"type": "Identifier",
"value": "func",
"paramnames": []
}
},
"undocumented": true,
"name": "activationFunction",
"longname": "NeuralNetwork#activationFunction",
"kind": "member",
"memberof": "NeuralNetwork",
"scope": "instance"
},
{
"comment": "/**\n * @memberOf NeuralNetwork\n * @function NeuralNetwork#setLearningRate\n * @param {Number} learningRate\n */",
"meta": {
"filename": "NeuralNetwork.js",
"lineno": 42,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {}
},
"memberof": "NeuralNetwork",
"kind": "function",
"name": "setLearningRate",
"params": [
{
"type": {
"names": [
"Number"
]
},
"name": "learningRate"
}
],
"longname": "NeuralNetwork#setLearningRate",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
1287,
1397
],
"filename": "NeuralNetwork.js",
"lineno": 47,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000669",
"name": "NeuralNetwork.prototype.setLearningRate",
"type": "FunctionExpression",
"paramnames": [
"learningRate"
]
},
"vars": {
"this.learningRate": "NeuralNetwork#learningRate"
}
},
"undocumented": true,
"name": "setLearningRate",
"longname": "NeuralNetwork#setLearningRate",
"kind": "function",
"memberof": "NeuralNetwork",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
1363,
1395
],
"filename": "NeuralNetwork.js",
"lineno": 48,
"columnno": 2,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000681",
"name": "this.learningRate",
"type": "Identifier",
"value": "learningRate",
"paramnames": []
}
},
"undocumented": true,
"name": "learningRate",
"longname": "NeuralNetwork#learningRate",
"kind": "member",
"memberof": "NeuralNetwork",
"scope": "instance"
},
{
"comment": "/**\n * @memberOf NeuralNetwork\n * @function NeuralNetwork#predict\n * @param {Array} inputArray\n * @returns {Array}\n */",
"meta": {
"filename": "NeuralNetwork.js",
"lineno": 51,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {}
},
"memberof": "NeuralNetwork",
"kind": "function",
"name": "predict",
"params": [
{
"type": {
"names": [
"Array"
]
},
"name": "inputArray"
}
],
"returns": [
{
"type": {
"names": [
"Array"
]
}
}
],
"longname": "NeuralNetwork#predict",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
1518,
2105
],
"filename": "NeuralNetwork.js",
"lineno": 57,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000687",
"name": "NeuralNetwork.prototype.predict",
"type": "FunctionExpression",
"paramnames": [
"inputArray"
]
},
"vars": {
"inputs": "NeuralNetwork#predict~inputs",
"hidden": "NeuralNetwork#predict~hidden",
"": null,
"output": "NeuralNetwork#predict~output"
}
},
"undocumented": true,
"name": "predict",
"longname": "NeuralNetwork#predict",
"kind": "function",
"memberof": "NeuralNetwork",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
1617,
1654
],
"filename": "NeuralNetwork.js",
"lineno": 59,
"columnno": 6,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000697",
"name": "inputs",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "inputs",
"longname": "NeuralNetwork#predict~inputs",
"kind": "member",
"memberof": "NeuralNetwork#predict",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
1661,
1704
],
"filename": "NeuralNetwork.js",
"lineno": 60,
"columnno": 6,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000705",
"name": "hidden",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "hidden",
"longname": "NeuralNetwork#predict~hidden",
"kind": "member",
"memberof": "NeuralNetwork#predict",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
1707,
1749
],
"filename": "NeuralNetwork.js",
"lineno": 61,
"columnno": 2,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000716",
"name": "hidden",
"type": "CallExpression",
"funcscope": "NeuralNetwork#predict",
"value": "",
"paramnames": []
}
},
"undocumented": true,
"name": "hidden",
"longname": "NeuralNetwork#predict~hidden",
"kind": "member",
"memberof": "NeuralNetwork#predict",
"scope": "inner"
},
{
"comment": "",
"meta": {
"range": [
1778,
1843
],
"filename": "NeuralNetwork.js",
"lineno": 63,
"columnno": 2,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000730",
"name": "hidden",
"type": "CallExpression",
"funcscope": "NeuralNetwork#predict",
"value": "",
"paramnames": []
}
},
"undocumented": true,
"name": "hidden",
"longname": "NeuralNetwork#predict~hidden",
"kind": "member",
"memberof": "NeuralNetwork#predict",
"scope": "inner"
},
{
"comment": "",
"meta": {
"range": [
1888,
1931
],
"filename": "NeuralNetwork.js",
"lineno": 66,
"columnno": 6,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000748",
"name": "output",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "output",
"longname": "NeuralNetwork#predict~output",
"kind": "member",
"memberof": "NeuralNetwork#predict",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
1934,
1976
],
"filename": "NeuralNetwork.js",
"lineno": 67,
"columnno": 2,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000759",
"name": "output",
"type": "CallExpression",
"funcscope": "NeuralNetwork#predict",
"value": "",
"paramnames": []
}
},
"undocumented": true,
"name": "output",
"longname": "NeuralNetwork#predict~output",
"kind": "member",
"memberof": "NeuralNetwork#predict",
"scope": "inner"
},
{
"comment": "",
"meta": {
"range": [
1979,
2044
],
"filename": "NeuralNetwork.js",
"lineno": 68,
"columnno": 2,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000773",
"name": "output",
"type": "CallExpression",
"funcscope": "NeuralNetwork#predict",
"value": "",
"paramnames": []
}
},
"undocumented": true,
"name": "output",
"longname": "NeuralNetwork#predict~output",
"kind": "member",
"memberof": "NeuralNetwork#predict",
"scope": "inner"
},
{
"comment": "/**\n * @memberOf NeuralNetwork\n * @function NeuralNetwork#train\n * @param {Array} inputArray\n * @param {Array} targetArray\n */",
"meta": {
"filename": "NeuralNetwork.js",
"lineno": 73,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {}
},
"memberof": "NeuralNetwork",
"kind": "function",
"name": "train",
"params": [
{
"type": {
"names": [
"Array"
]
},
"name": "inputArray"
},
{
"type": {
"names": [
"Array"
]
},
"name": "targetArray"
}
],
"longname": "NeuralNetwork#train",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
2234,
4394
],
"filename": "NeuralNetwork.js",
"lineno": 79,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000796",
"name": "NeuralNetwork.prototype.train",
"type": "FunctionExpression",
"paramnames": [
"inputArray",
"targetArray"
]
},
"vars": {
"dotAddMap": "NeuralNetwork#train~dotAddMap",
"": null,
"mapMulMul": "NeuralNetwork#train~mapMulMul",
"inputs": "NeuralNetwork#train~inputs",
"hidden": "NeuralNetwork#train~hidden",
"outputs": "NeuralNetwork#train~outputs",
"outputErrors": "NeuralNetwork#train~outputErrors",
"gradients": "NeuralNetwork#train~gradients",
"hiddenT": "NeuralNetwork#train~hiddenT",
"weightHoDeltas": "NeuralNetwork#train~weightHoDeltas",
"this.weightsHo": "NeuralNetwork#weightsHo",
"this.biasO": "NeuralNetwork#biasO",
"whoT": "NeuralNetwork#train~whoT",
"hiddenErrors": "NeuralNetwork#train~hiddenErrors",
"hiddenGradient": "NeuralNetwork#train~hiddenGradient",
"inputsT": "NeuralNetwork#train~inputsT",
"weightIhDeltas": "NeuralNetwork#train~weightIhDeltas",
"this.weightsIh": "NeuralNetwork#weightsIh",
"this.biasH": "NeuralNetwork#biasH"
}
},
"undocumented": true,
"name": "train",
"longname": "NeuralNetwork#train",
"kind": "function",
"memberof": "NeuralNetwork",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
2311,
2433
],
"filename": "NeuralNetwork.js",
"lineno": 80,
"columnno": 8,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000807",
"name": "dotAddMap",
"type": "ArrowFunctionExpression"
},
"vars": {
"": null
}
},
"undocumented": true,
"name": "dotAddMap",
"longname": "NeuralNetwork#train~dotAddMap",
"kind": "function",
"memberof": "NeuralNetwork#train",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
2442,
2572
],
"filename": "NeuralNetwork.js",
"lineno": 81,
"columnno": 8,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000838",
"name": "mapMulMul",
"type": "ArrowFunctionExpression"
},
"vars": {
"": null
}
},
"undocumented": true,
"name": "mapMulMul",
"longname": "NeuralNetwork#train~mapMulMul",
"kind": "function",
"memberof": "NeuralNetwork#train",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
2615,
2652
],
"filename": "NeuralNetwork.js",
"lineno": 84,
"columnno": 6,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000869",
"name": "inputs",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "inputs",
"longname": "NeuralNetwork#train~inputs",
"kind": "member",
"memberof": "NeuralNetwork#train",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
2660,
2714
],
"filename": "NeuralNetwork.js",
"lineno": 86,
"columnno": 6,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000877",
"name": "hidden",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "hidden",
"longname": "NeuralNetwork#train~hidden",
"kind": "member",
"memberof": "NeuralNetwork#train",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
2877,
2932
],
"filename": "NeuralNetwork.js",
"lineno": 92,
"columnno": 6,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000889",
"name": "outputs",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "outputs",
"longname": "NeuralNetwork#train~outputs",
"kind": "member",
"memberof": "NeuralNetwork#train",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
3114,
3176
],
"filename": "NeuralNetwork.js",
"lineno": 99,
"columnno": 6,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000901",
"name": "outputErrors",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "outputErrors",
"longname": "NeuralNetwork#train~outputErrors",
"kind": "member",
"memberof": "NeuralNetwork#train",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
3253,
3297
],
"filename": "NeuralNetwork.js",
"lineno": 103,
"columnno": 6,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000913",
"name": "gradients",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "gradients",
"longname": "NeuralNetwork#train~gradients",
"kind": "member",
"memberof": "NeuralNetwork#train",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
3454,
3488
],
"filename": "NeuralNetwork.js",
"lineno": 109,
"columnno": 6,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000920",
"name": "hiddenT",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "hiddenT",
"longname": "NeuralNetwork#train~hiddenT",
"kind": "member",
"memberof": "NeuralNetwork#train",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
3495,
3542
],
"filename": "NeuralNetwork.js",
"lineno": 110,
"columnno": 6,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000928",
"name": "weightHoDeltas",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "weightHoDeltas",
"longname": "NeuralNetwork#train~weightHoDeltas",
"kind": "member",
"memberof": "NeuralNetwork#train",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
3580,
3631
],
"filename": "NeuralNetwork.js",
"lineno": 113,
"columnno": 2,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000937",
"name": "this.weightsHo",
"type": "CallExpression",
"value": "",
"paramnames": []
}
},
"undocumented": true,
"name": "weightsHo",
"longname": "NeuralNetwork#weightsHo",
"kind": "member",
"memberof": "NeuralNetwork",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
3700,
3738
],
"filename": "NeuralNetwork.js",
"lineno": 116,
"columnno": 2,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000949",
"name": "this.biasO",
"type": "CallExpression",
"value": "",
"paramnames": []
}
},
"undocumented": true,
"name": "biasO",
"longname": "NeuralNetwork#biasO",
"kind": "member",
"memberof": "NeuralNetwork",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
3785,
3824
],
"filename": "NeuralNetwork.js",
"lineno": 119,
"columnno": 6,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000961",
"name": "whoT",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "whoT",
"longname": "NeuralNetwork#train~whoT",
"kind": "member",
"memberof": "NeuralNetwork#train",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
3831,
3876
],
"filename": "NeuralNetwork.js",
"lineno": 120,
"columnno": 6,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000971",
"name": "hiddenErrors",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "hiddenErrors",
"longname": "NeuralNetwork#train~hiddenErrors",
"kind": "member",
"memberof": "NeuralNetwork#train",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
3915,
3963
],
"filename": "NeuralNetwork.js",
"lineno": 123,
"columnno": 6,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000980",
"name": "hiddenGradient",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "hiddenGradient",
"longname": "NeuralNetwork#train~hiddenGradient",
"kind": "member",
"memberof": "NeuralNetwork#train",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
4133,
4167
],
"filename": "NeuralNetwork.js",
"lineno": 129,
"columnno": 6,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000987",
"name": "inputsT",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "inputsT",
"longname": "NeuralNetwork#train~inputsT",
"kind": "member",
"memberof": "NeuralNetwork#train",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
4174,
4226
],
"filename": "NeuralNetwork.js",
"lineno": 130,
"columnno": 6,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100000995",
"name": "weightIhDeltas",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "weightIhDeltas",
"longname": "NeuralNetwork#train~weightIhDeltas",
"kind": "member",
"memberof": "NeuralNetwork#train",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
4230,
4281
],
"filename": "NeuralNetwork.js",
"lineno": 132,
"columnno": 2,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001004",
"name": "this.weightsIh",
"type": "CallExpression",
"value": "",
"paramnames": []
}
},
"undocumented": true,
"name": "weightsIh",
"longname": "NeuralNetwork#weightsIh",
"kind": "member",
"memberof": "NeuralNetwork",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
4349,
4392
],
"filename": "NeuralNetwork.js",
"lineno": 134,
"columnno": 2,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001016",
"name": "this.biasH",
"type": "CallExpression",
"value": "",
"paramnames": []
}
},
"undocumented": true,
"name": "biasH",
"longname": "NeuralNetwork#biasH",
"kind": "member",
"memberof": "NeuralNetwork",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
4396,
4424
],
"filename": "NeuralNetwork.js",
"lineno": 137,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001027",
"name": "module.exports",
"type": "Identifier"
}
},
"undocumented": true,
"name": "exports",
"longname": "module.exports",
"kind": "member",
"memberof": "module",
"scope": "static"
},
{
"comment": "/**\n * @class Node\n * @param {Matrix | Array} results\n * @param {Number} col\n * @param {Number | String} value\n * @param {Node} left\n * @param {Node} right\n */",
"meta": {
"filename": "Node.js",
"lineno": 1,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {}
},
"kind": "class",
"name": "Node",
"params": [
{
"type": {
"names": [
"Matrix",
"Array"
]
},
"name": "results"
},
{
"type": {
"names": [
"Number"
]
},
"name": "col"
},
{
"type": {
"names": [
"Number",
"String"
]
},
"name": "value"
},
{
"type": {
"names": [
"Node"
]
},
"name": "left"
},
{
"type": {
"names": [
"Node"
]
},
"name": "right"
}
],
"longname": "Node",
"scope": "global"
},
{
"comment": "",
"meta": {
"range": [
160,
348
],
"filename": "Node.js",
"lineno": 9,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001031",
"name": "Node",
"type": "ClassDeclaration",
"paramnames": [
"results",
"col",
"value",
"left",
"right"
]
}
},
"undocumented": true,
"name": "Node",
"longname": "Node",
"kind": "class",
"scope": "global"
},
{
"comment": "",
"meta": {
"range": [
175,
346
],
"filename": "Node.js",
"lineno": 10,
"columnno": 2,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001034",
"name": "Node",
"type": "MethodDefinition",
"paramnames": [
"results",
"col",
"value",
"left",
"right"
]
},
"vars": {
"": null
}
},
"undocumented": true,
"name": "Node",
"longname": "Node",
"kind": "class",
"scope": "global",
"params": []
},
{
"comment": "",
"meta": {
"range": [
228,
248
],
"filename": "Node.js",
"lineno": 11,
"columnno": 4,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001044",
"name": "this.col",
"type": "LogicalExpression",
"value": "",
"paramnames": []
}
},
"undocumented": true,
"name": "col",
"longname": "Node#col",
"kind": "member",
"memberof": "Node",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
253,
271
],
"filename": "Node.js",
"lineno": 12,
"columnno": 4,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001053",
"name": "this.value",
"type": "Identifier",
"value": "value",
"paramnames": []
}
},
"undocumented": true,
"name": "value",
"longname": "Node#value",
"kind": "member",
"memberof": "Node",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
276,
292
],
"filename": "Node.js",
"lineno": 13,
"columnno": 4,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001059",
"name": "this.left",
"type": "Identifier",
"value": "left",
"paramnames": []
}
},
"undocumented": true,
"name": "left",
"longname": "Node#left",
"kind": "member",
"memberof": "Node",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
297,
315
],
"filename": "Node.js",
"lineno": 14,
"columnno": 4,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001065",
"name": "this.right",
"type": "Identifier",
"value": "right",
"paramnames": []
}
},
"undocumented": true,
"name": "right",
"longname": "Node#right",
"kind": "member",
"memberof": "Node",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
320,
342
],
"filename": "Node.js",
"lineno": 15,
"columnno": 4,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001071",
"name": "this.results",
"type": "Identifier",
"value": "results",
"paramnames": []
}
},
"undocumented": true,
"name": "results",
"longname": "Node#results",
"kind": "member",
"memberof": "Node",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
350,
369
],
"filename": "Node.js",
"lineno": 19,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001076",
"name": "module.exports",
"type": "Identifier"
}
},
"undocumented": true,
"name": "exports",
"longname": "module.exports",
"kind": "member",
"memberof": "module",
"scope": "static"
},
{
"comment": "/**\n * @class Perceptron\n * @classdesc Perceptron to train and predict\n * @see of\n * @example\n *\n * const m = Perceptron.of([0.2365698, 0.4567897, 0.95989898, -0.457878787])\n *\n */",
"meta": {
"filename": "Perceptron.js",
"lineno": 1,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {}
},
"kind": "class",
"name": "Perceptron",
"classdesc": "Perceptron to train and predict",
"see": [
"of"
],
"examples": [
"const m = Perceptron.of([0.2365698, 0.4567897, 0.95989898, -0.457878787])"
],
"longname": "Perceptron",
"scope": "global"
},
{
"comment": "",
"meta": {
"range": [
186,
252
],
"filename": "Perceptron.js",
"lineno": 10,
"columnno": 4,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001081",
"name": "Perceptron",
"type": "FunctionExpression"
},
"vars": {
"this.weights": null
}
},
"undocumented": true,
"name": "Perceptron",
"longname": "Perceptron",
"kind": "function",
"scope": "global",
"params": []
},
{
"comment": "",
"meta": {
"range": [
222,
250
],
"filename": "Perceptron.js",
"lineno": 11,
"columnno": 2,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001087",
"name": "this.weights",
"type": "LogicalExpression",
"value": "",
"paramnames": []
}
},
"undocumented": true,
"name": "weights",
"longname": "weights",
"kind": "member",
"scope": "global"
},
{
"comment": "/**\n * @memberOf Perceptron\n * @static\n * @function Perceptron.of\n * @desc Creates a Perceptron object\n * @param weights {array} Weights for predicting\n * @returns {Perceptron}\n * @example\n *\n * const weights = [0.123456, 0.458789, 0.9987454]\n * const m = Perceptron.of(weights)\n *\n */",
"meta": {
"filename": "Perceptron.js",
"lineno": 14,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {}
},
"memberof": "Perceptron",
"scope": "static",
"kind": "function",
"name": "of",
"description": "Creates a Perceptron object",
"params": [
{
"type": {
"names": [
"array"
]
},
"description": "Weights for predicting",
"name": "weights"
}
],
"returns": [
{
"type": {
"names": [
"Perceptron"
]
}
}
],
"examples": [
"const weights = [0.123456, 0.458789, 0.9987454]\nconst m = Perceptron.of(weights)"
],
"longname": "Perceptron.of"
},
{
"comment": "",
"meta": {
"range": [
541,
727
],
"filename": "Perceptron.js",
"lineno": 27,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001095",
"name": "Perceptron.of",
"type": "FunctionExpression",
"paramnames": [
"val"
]
},
"vars": {
"this.weights": "Perceptron.of#weights"
}
},
"undocumented": true,
"name": "of",
"longname": "Perceptron.of",
"kind": "function",
"memberof": "Perceptron",
"scope": "static"
},
{
"comment": "",
"meta": {
"range": [
658,
676
],
"filename": "Perceptron.js",
"lineno": 30,
"columnno": 4,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001114",
"name": "this.weights",
"type": "Identifier",
"value": "val",
"paramnames": []
}
},
"undocumented": true,
"name": "weights",
"longname": "Perceptron.of#weights",
"kind": "member",
"memberof": "Perceptron.of",
"scope": "instance"
},
{
"comment": "/**\n * @memberOf Perceptron\n * @type {string}\n */",
"meta": {
"range": [
779,
819
],
"filename": "Perceptron.js",
"lineno": 40,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001126",
"name": "Perceptron.prototype.type",
"type": "Literal",
"value": "Perceptron",
"paramnames": []
}
},
"memberof": "Perceptron",
"type": {
"names": [
"string"
]
},
"name": "type",
"longname": "Perceptron#type",
"kind": "member",
"scope": "instance"
},
{
"comment": "/**\n * @memberOf Perceptron\n * @function Perceptron#predict\n * @param row {Array} Array of values to predict\n * @returns {Boolean}\n * @example\n *\n * const m = Perceptron.of()\n * const train = [...] // dataset: [[0,1,2], [1,2,3]]\n * m.train(train, 0.1, 10000)\n * m.predict([1,2,1]) // returns 1 or 0\n */",
"meta": {
"filename": "Perceptron.js",
"lineno": 42,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {}
},
"memberof": "Perceptron",
"kind": "function",
"name": "predict",
"params": [
{
"type": {
"names": [
"Array"
]
},
"description": "Array of values to predict",
"name": "row"
}
],
"returns": [
{
"type": {
"names": [
"Boolean"
]
}
}
],
"examples": [
"const m = Perceptron.of()\nconst train = [...] // dataset: [[0,1,2], [1,2,3]]\nm.train(train, 0.1, 10000)\nm.predict([1,2,1]) // returns 1 or 0"
],
"longname": "Perceptron#predict",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
1126,
1316
],
"filename": "Perceptron.js",
"lineno": 54,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001134",
"name": "Perceptron.prototype.predict",
"type": "FunctionExpression",
"paramnames": [
"row"
]
},
"vars": {
"activation": "Perceptron#predict~activation",
"": null
}
},
"undocumented": true,
"name": "predict",
"longname": "Perceptron#predict",
"kind": "function",
"memberof": "Perceptron",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
1180,
1208
],
"filename": "Perceptron.js",
"lineno": 55,
"columnno": 6,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001144",
"name": "activation",
"type": "MemberExpression",
"value": "this.weights[0]"
}
},
"undocumented": true,
"name": "activation",
"longname": "Perceptron#predict~activation",
"kind": "member",
"memberof": "Perceptron#predict",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
1239,
1276
],
"filename": "Perceptron.js",
"lineno": 57,
"columnno": 4,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001161",
"name": "activation",
"type": "BinaryExpression",
"funcscope": "<anonymous>",
"value": "",
"paramnames": []
}
},
"undocumented": true,
"name": "activation",
"longname": "<anonymous>~activation",
"kind": "member",
"memberof": "<anonymous>",
"scope": "inner"
},
{
"comment": "/**\n * @memberOf Perceptron\n * @function Perceptron#train\n * @param train {Array} Dataset to train the preceptron\n * @param lRate {Number} Set the learning rate of the perceptron\n * @param nEpoch {Number} Set the number of iterations to train the perceptron\n * @example\n *\n * const m = Perceptron.of()\n * const train = [...] // dataset: [[0,1,2], [1,2,3]]\n * m.train(train, 0.1, 10000)\n * m.weights = [0.213131, -0.45464, 0.789797]\n *\n */",
"meta": {
"filename": "Perceptron.js",
"lineno": 62,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {}
},
"memberof": "Perceptron",
"kind": "function",
"name": "train",
"params": [
{
"type": {
"names": [
"Array"
]
},
"description": "Dataset to train the preceptron",
"name": "train"
},
{
"type": {
"names": [
"Number"
]
},
"description": "Set the learning rate of the perceptron",
"name": "lRate"
},
{
"type": {
"names": [
"Number"
]
},
"description": "Set the number of iterations to train the perceptron",
"name": "nEpoch"
}
],
"examples": [
"const m = Perceptron.of()\nconst train = [...] // dataset: [[0,1,2], [1,2,3]]\nm.train(train, 0.1, 10000)\nm.weights = [0.213131, -0.45464, 0.789797]"
],
"longname": "Perceptron#train",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
1759,
2218
],
"filename": "Perceptron.js",
"lineno": 76,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001180",
"name": "Perceptron.prototype.train",
"type": "FunctionExpression",
"paramnames": [
"train",
"lRate",
"nEpoch"
]
},
"vars": {
"this.weights": "Perceptron#train#weights",
"": null,
"i": "Perceptron#train~i"
}
},
"undocumented": true,
"name": "train",
"longname": "Perceptron#train",
"kind": "function",
"memberof": "Perceptron",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
1824,
1892
],
"filename": "Perceptron.js",
"lineno": 77,
"columnno": 2,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001192",
"name": "this.weights",
"type": "CallExpression",
"value": "",
"paramnames": []
}
},
"undocumented": true,
"name": "weights",
"longname": "Perceptron#train#weights",
"kind": "member",
"memberof": "Perceptron#train",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
1904,
1909
],
"filename": "Perceptron.js",
"lineno": 78,
"columnno": 11,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001216",
"name": "i",
"type": "Literal",
"value": 0
}
},
"undocumented": true,
"name": "i",
"longname": "Perceptron#train~i",
"kind": "member",
"memberof": "Perceptron#train",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
1974,
1999
],
"filename": "Perceptron.js",
"lineno": 80,
"columnno": 12,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001235",
"name": "expected",
"type": "MemberExpression",
"value": "[0]"
}
},
"undocumented": true,
"name": "expected",
"longname": "<anonymous>~expected",
"kind": "constant",
"memberof": "<anonymous>",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
2012,
2032
],
"filename": "Perceptron.js",
"lineno": 81,
"columnno": 12,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001246",
"name": "row",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "row",
"longname": "<anonymous>~row",
"kind": "constant",
"memberof": "<anonymous>",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
2045,
2075
],
"filename": "Perceptron.js",
"lineno": 82,
"columnno": 12,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001256",
"name": "prediction",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "prediction",
"longname": "<anonymous>~prediction",
"kind": "constant",
"memberof": "<anonymous>",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
2088,
2117
],
"filename": "Perceptron.js",
"lineno": 83,
"columnno": 12,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001264",
"name": "error",
"type": "BinaryExpression",
"value": ""
}
},
"undocumented": true,
"name": "error",
"longname": "<anonymous>~error",
"kind": "constant",
"memberof": "<anonymous>",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
2156,
2196
],
"filename": "Perceptron.js",
"lineno": 85,
"columnno": 8,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001279",
"name": "this.weights[undefined]",
"type": "BinaryExpression",
"value": "",
"paramnames": []
}
},
"undocumented": true,
"name": "weights[undefined]",
"longname": "Perceptron#train#weights[undefined]",
"kind": "member",
"memberof": "Perceptron#train",
"scope": "instance"
},
{
"comment": "",
"meta": {
"range": [
2220,
2245
],
"filename": "Perceptron.js",
"lineno": 91,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001292",
"name": "module.exports",
"type": "Identifier"
}
},
"undocumented": true,
"name": "exports",
"longname": "module.exports",
"kind": "member",
"memberof": "module",
"scope": "static"
},
{
"comment": "",
"meta": {
"range": [
76,
88
],
"filename": "index.js",
"lineno": 2,
"columnno": 9,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001303",
"name": "exports.countClasses",
"type": "Identifier"
}
},
"undocumented": true,
"name": "countClasses",
"longname": "countClasses",
"kind": "member",
"scope": "global"
},
{
"comment": "",
"meta": {
"range": [
90,
109
],
"filename": "index.js",
"lineno": 2,
"columnno": 23,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001306",
"name": "exports.convert2frequencies",
"type": "Identifier"
}
},
"undocumented": true,
"name": "convert2frequencies",
"longname": "convert2frequencies",
"kind": "member",
"scope": "global"
},
{
"comment": "",
"meta": {
"range": [
122,
143
],
"filename": "index.js",
"lineno": 4,
"columnno": 9,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001310",
"name": "exports.Perceptron",
"type": "Identifier"
}
},
"undocumented": true,
"name": "Perceptron",
"longname": "Perceptron",
"kind": "member",
"scope": "global"
},
{
"comment": "",
"meta": {
"range": [
175,
199
],
"filename": "index.js",
"lineno": 5,
"columnno": 9,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001315",
"name": "exports.NeuralNetwork",
"type": "Identifier"
}
},
"undocumented": true,
"name": "NeuralNetwork",
"longname": "NeuralNetwork",
"kind": "member",
"scope": "global"
},
{
"comment": "",
"meta": {
"range": [
234,
263
],
"filename": "index.js",
"lineno": 6,
"columnno": 9,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001320",
"name": "exports.ActivationFunction",
"type": "Identifier"
}
},
"undocumented": true,
"name": "ActivationFunction",
"longname": "ActivationFunction",
"kind": "member",
"scope": "global"
},
{
"comment": "",
"meta": {
"range": [
303,
321
],
"filename": "index.js",
"lineno": 7,
"columnno": 9,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001325",
"name": "exports.sigmoid",
"type": "Identifier"
}
},
"undocumented": true,
"name": "sigmoid",
"longname": "sigmoid",
"kind": "member",
"scope": "global"
},
{
"comment": "",
"meta": {
"range": [
355,
370
],
"filename": "index.js",
"lineno": 8,
"columnno": 9,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001330",
"name": "exports.tanh",
"type": "Identifier"
}
},
"undocumented": true,
"name": "tanh",
"longname": "tanh",
"kind": "member",
"scope": "global"
},
{
"comment": "",
"meta": {
"range": [
402,
420
],
"filename": "index.js",
"lineno": 10,
"columnno": 9,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001335",
"name": "exports.entropy",
"type": "Identifier"
}
},
"undocumented": true,
"name": "entropy",
"longname": "entropy",
"kind": "member",
"scope": "global"
},
{
"comment": "",
"meta": {
"range": [
454,
469
],
"filename": "index.js",
"lineno": 11,
"columnno": 9,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001340",
"name": "exports.Node",
"type": "Identifier"
}
},
"undocumented": true,
"name": "Node",
"longname": "Node",
"kind": "member",
"scope": "global"
},
{
"comment": "",
"meta": {
"range": [
495,
518
],
"filename": "index.js",
"lineno": 12,
"columnno": 9,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001345",
"name": "exports.DecisionTree",
"type": "Identifier"
}
},
"undocumented": true,
"name": "DecisionTree",
"longname": "DecisionTree",
"kind": "member",
"scope": "global"
},
{
"comment": "",
"meta": {
"range": [
552,
571
],
"filename": "index.js",
"lineno": 13,
"columnno": 9,
"path": "/Volumes/BigOne/github/funml/src",
"code": {
"id": "astnode100001350",
"name": "exports.Impurity",
"type": "Identifier"
}
},
"undocumented": true,
"name": "Impurity",
"longname": "Impurity",
"kind": "member",
"scope": "global"
},
{
"comment": "/**\n * @function entropy\n * @type {Impurity}\n */",
"meta": {
"filename": "entropy.js",
"lineno": 6,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {}
},
"kind": "function",
"name": "entropy",
"type": {
"names": [
"Impurity"
]
},
"returns": [
{
"type": {
"names": [
"Impurity"
]
}
}
],
"longname": "entropy",
"scope": "global"
},
{
"comment": "",
"meta": {
"range": [
224,
597
],
"filename": "entropy.js",
"lineno": 10,
"columnno": 6,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001377",
"name": "entropy",
"type": "NewExpression",
"value": ""
}
},
"undocumented": true,
"name": "entropy",
"longname": "entropy",
"kind": "constant",
"scope": "global",
"params": []
},
{
"comment": "",
"meta": {
"range": [
308,
360
],
"filename": "entropy.js",
"lineno": 13,
"columnno": 10,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001385",
"name": "arr",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "arr",
"longname": "<anonymous>~arr",
"kind": "constant",
"memberof": "<anonymous>",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
371,
405
],
"filename": "entropy.js",
"lineno": 14,
"columnno": 10,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001403",
"name": "countedClasses",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "countedClasses",
"longname": "<anonymous>~countedClasses",
"kind": "constant",
"memberof": "<anonymous>",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
416,
441
],
"filename": "entropy.js",
"lineno": 15,
"columnno": 10,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001409",
"name": "nrRows",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "nrRows",
"longname": "<anonymous>~nrRows",
"kind": "constant",
"memberof": "<anonymous>",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
452,
514
],
"filename": "entropy.js",
"lineno": 16,
"columnno": 10,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001416",
"name": "classFrequencies",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "classFrequencies",
"longname": "<anonymous>~classFrequencies",
"kind": "constant",
"memberof": "<anonymous>",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
598,
620
],
"filename": "entropy.js",
"lineno": 20,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001441",
"name": "module.exports",
"type": "Identifier"
}
},
"undocumented": true,
"name": "exports",
"longname": "module.exports",
"kind": "member",
"memberof": "module",
"scope": "static"
},
{
"comment": "/**\n * @function gini\n * @type {Impurity}\n */",
"meta": {
"filename": "gini.js",
"lineno": 9,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {}
},
"kind": "function",
"name": "gini",
"type": {
"names": [
"Impurity"
]
},
"returns": [
{
"type": {
"names": [
"Impurity"
]
}
}
],
"longname": "gini",
"scope": "global"
},
{
"comment": "",
"meta": {
"range": [
265,
766
],
"filename": "gini.js",
"lineno": 13,
"columnno": 6,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001456",
"name": "gini",
"type": "NewExpression",
"value": ""
}
},
"undocumented": true,
"name": "gini",
"longname": "gini",
"kind": "constant",
"scope": "global",
"params": []
},
{
"comment": "",
"meta": {
"range": [
310,
379
],
"filename": "gini.js",
"lineno": 15,
"columnno": 10,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001464",
"name": "countedClasses",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "countedClasses",
"longname": "<anonymous>~countedClasses",
"kind": "constant",
"memberof": "<anonymous>",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
390,
462
],
"filename": "gini.js",
"lineno": 16,
"columnno": 10,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001479",
"name": "classFrequencies",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "classFrequencies",
"longname": "<anonymous>~classFrequencies",
"kind": "constant",
"memberof": "<anonymous>",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
472,
479
],
"filename": "gini.js",
"lineno": 18,
"columnno": 8,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001490",
"name": "imp",
"type": "Literal",
"value": 0
}
},
"undocumented": true,
"name": "imp",
"longname": "<anonymous>~imp",
"kind": "member",
"memberof": "<anonymous>",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
490,
519
],
"filename": "gini.js",
"lineno": 19,
"columnno": 10,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001494",
"name": "len",
"type": "MemberExpression",
"value": "classFrequencies.length"
}
},
"undocumented": true,
"name": "len",
"longname": "<anonymous>~len",
"kind": "constant",
"memberof": "<anonymous>",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
534,
539
],
"filename": "gini.js",
"lineno": 21,
"columnno": 13,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001501",
"name": "i",
"type": "Literal",
"value": 0
}
},
"undocumented": true,
"name": "i",
"longname": "<anonymous>~i",
"kind": "member",
"memberof": "<anonymous>",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
569,
593
],
"filename": "gini.js",
"lineno": 22,
"columnno": 12,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001511",
"name": "p1",
"type": "MemberExpression",
"value": "classFrequencies[undefined]"
}
},
"undocumented": true,
"name": "p1",
"longname": "<anonymous>~p1",
"kind": "constant",
"memberof": "<anonymous>",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
610,
615
],
"filename": "gini.js",
"lineno": 24,
"columnno": 15,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001518",
"name": "j",
"type": "Literal",
"value": 0
}
},
"undocumented": true,
"name": "j",
"longname": "<anonymous>~j",
"kind": "member",
"memberof": "<anonymous>",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
672,
696
],
"filename": "gini.js",
"lineno": 26,
"columnno": 16,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001533",
"name": "p2",
"type": "MemberExpression",
"value": "classFrequencies[undefined]"
}
},
"undocumented": true,
"name": "p2",
"longname": "<anonymous>~p2",
"kind": "constant",
"memberof": "<anonymous>",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
707,
721
],
"filename": "gini.js",
"lineno": 27,
"columnno": 10,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001539",
"name": "imp",
"type": "BinaryExpression",
"funcscope": "<anonymous>",
"value": "",
"paramnames": []
}
},
"undocumented": true,
"name": "imp",
"longname": "<anonymous>~imp",
"kind": "member",
"memberof": "<anonymous>",
"scope": "inner"
},
{
"comment": "",
"meta": {
"range": [
767,
786
],
"filename": "gini.js",
"lineno": 34,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001546",
"name": "module.exports",
"type": "Identifier"
}
},
"undocumented": true,
"name": "exports",
"longname": "module.exports",
"kind": "member",
"memberof": "module",
"scope": "static"
},
{
"comment": "/**\n * @function convert2frequencies\n * @param total\n * @returns {function(*=)}\n */",
"meta": {
"filename": "helpers.js",
"lineno": 3,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {}
},
"kind": "function",
"name": "convert2frequencies",
"params": [
{
"name": "total"
}
],
"returns": [
{
"type": {
"names": [
"function"
]
}
}
],
"longname": "convert2frequencies",
"scope": "global"
},
{
"comment": "",
"meta": {
"range": [
121,
224
],
"filename": "helpers.js",
"lineno": 8,
"columnno": 6,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001555",
"name": "convert2frequencies",
"type": "ArrowFunctionExpression"
},
"vars": {
"": null
}
},
"undocumented": true,
"name": "convert2frequencies",
"longname": "convert2frequencies",
"kind": "function",
"scope": "global",
"params": []
},
{
"comment": "/**\n * @function countClasses\n * @param arr\n * @returns {*}\n */",
"meta": {
"filename": "helpers.js",
"lineno": 13,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {}
},
"kind": "function",
"name": "countClasses",
"params": [
{
"name": "arr"
}
],
"returns": [
{
"type": {
"names": [
"*"
]
}
}
],
"longname": "countClasses",
"scope": "global"
},
{
"comment": "",
"meta": {
"range": [
296,
419
],
"filename": "helpers.js",
"lineno": 18,
"columnno": 6,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001582",
"name": "countClasses",
"type": "ArrowFunctionExpression"
},
"vars": {
"": null
}
},
"undocumented": true,
"name": "countClasses",
"longname": "countClasses",
"kind": "function",
"scope": "global",
"params": []
},
{
"comment": "",
"meta": {
"range": [
341,
394
],
"filename": "helpers.js",
"lineno": 19,
"columnno": 2,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001595",
"name": "acc[undefined]",
"type": "ConditionalExpression",
"value": "",
"paramnames": []
}
},
"undocumented": true,
"name": "acc[undefined]",
"longname": "acc[undefined]",
"kind": "member",
"scope": "global"
},
{
"comment": "",
"meta": {
"range": [
381,
394
],
"filename": "helpers.js",
"lineno": 19,
"columnno": 42,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001606",
"name": "acc[undefined]",
"type": "Literal",
"value": 1,
"paramnames": []
}
},
"undocumented": true,
"name": "acc[undefined]",
"longname": "acc[undefined].acc[undefined]",
"kind": "member",
"memberof": "acc[undefined]",
"scope": "static"
},
{
"comment": "",
"meta": {
"range": [
430,
449
],
"filename": "helpers.js",
"lineno": 23,
"columnno": 9,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001616",
"name": "exports.convert2frequencies",
"type": "Identifier"
}
},
"undocumented": true,
"name": "convert2frequencies",
"longname": "convert2frequencies",
"kind": "member",
"scope": "global"
},
{
"comment": "",
"meta": {
"range": [
451,
463
],
"filename": "helpers.js",
"lineno": 23,
"columnno": 30,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001619",
"name": "exports.countClasses",
"type": "Identifier"
}
},
"undocumented": true,
"name": "countClasses",
"longname": "countClasses",
"kind": "member",
"scope": "global"
},
{
"comment": "",
"meta": {
"range": [
38,
87
],
"filename": "mapReduce.js",
"lineno": 3,
"columnno": 6,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001629",
"name": "mapReduce",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "mapReduce",
"longname": "mapReduce",
"kind": "constant",
"scope": "global",
"params": []
},
{
"comment": "",
"meta": {
"range": [
88,
112
],
"filename": "mapReduce.js",
"lineno": 4,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001645",
"name": "module.exports",
"type": "Identifier"
}
},
"undocumented": true,
"name": "exports",
"longname": "module.exports",
"kind": "member",
"memberof": "module",
"scope": "static"
},
{
"comment": "/**\n * @function sigmoid\n * @type {ActivationFunction}\n * @param {Function} func x => 1 / (1 + Math.exp(-x))\n * @param {Function} dfunc y => y * (1 - y)\n */",
"meta": {
"filename": "sigmoid.js",
"lineno": 3,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {}
},
"kind": "function",
"name": "sigmoid",
"type": {
"names": [
"ActivationFunction"
]
},
"returns": [
{
"type": {
"names": [
"ActivationFunction"
]
}
}
],
"params": [
{
"type": {
"names": [
"function"
]
},
"description": "x => 1 / (1 + Math.exp(-x))",
"name": "func"
},
{
"type": {
"names": [
"function"
]
},
"description": "y => y * (1 - y)",
"name": "dfunc"
}
],
"longname": "sigmoid",
"scope": "global"
},
{
"comment": "",
"meta": {
"range": [
219,
304
],
"filename": "sigmoid.js",
"lineno": 9,
"columnno": 6,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001654",
"name": "sigmoid",
"type": "NewExpression",
"value": ""
}
},
"undocumented": true,
"name": "sigmoid",
"longname": "sigmoid",
"kind": "constant",
"scope": "global",
"params": []
},
{
"comment": "",
"meta": {
"range": [
305,
327
],
"filename": "sigmoid.js",
"lineno": 13,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001677",
"name": "module.exports",
"type": "Identifier"
}
},
"undocumented": true,
"name": "exports",
"longname": "module.exports",
"kind": "member",
"memberof": "module",
"scope": "static"
},
{
"comment": "/**\n * @function tanh\n * @type {ActivationFunction}\n * @param {Function} func x => Math.tanh(x)\n * @param {Function} dfunc y => 1 - (y * y)\n */",
"meta": {
"filename": "tanh.js",
"lineno": 3,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {}
},
"kind": "function",
"name": "tanh",
"type": {
"names": [
"ActivationFunction"
]
},
"returns": [
{
"type": {
"names": [
"ActivationFunction"
]
}
}
],
"params": [
{
"type": {
"names": [
"function"
]
},
"description": "x => Math.tanh(x)",
"name": "func"
},
{
"type": {
"names": [
"function"
]
},
"description": "y => 1 - (y * y)",
"name": "dfunc"
}
],
"longname": "tanh",
"scope": "global"
},
{
"comment": "",
"meta": {
"range": [
206,
278
],
"filename": "tanh.js",
"lineno": 9,
"columnno": 6,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001686",
"name": "tanh",
"type": "NewExpression",
"value": ""
}
},
"undocumented": true,
"name": "tanh",
"longname": "tanh",
"kind": "constant",
"scope": "global",
"params": []
},
{
"comment": "",
"meta": {
"range": [
279,
298
],
"filename": "tanh.js",
"lineno": 13,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001704",
"name": "module.exports",
"type": "Identifier"
}
},
"undocumented": true,
"name": "exports",
"longname": "module.exports",
"kind": "member",
"memberof": "module",
"scope": "static"
},
{
"comment": "/**\n * @function variance\n * @type {Impurity}\n */",
"meta": {
"filename": "variance.js",
"lineno": 5,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {}
},
"kind": "function",
"name": "variance",
"type": {
"names": [
"Impurity"
]
},
"returns": [
{
"type": {
"names": [
"Impurity"
]
}
}
],
"longname": "variance",
"scope": "global"
},
{
"comment": "",
"meta": {
"range": [
162,
454
],
"filename": "variance.js",
"lineno": 9,
"columnno": 6,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001723",
"name": "variance",
"type": "NewExpression",
"value": ""
}
},
"undocumented": true,
"name": "variance",
"longname": "variance",
"kind": "constant",
"scope": "global",
"params": []
},
{
"comment": "",
"meta": {
"range": [
211,
236
],
"filename": "variance.js",
"lineno": 11,
"columnno": 10,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001731",
"name": "nrRows",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "nrRows",
"longname": "<anonymous>~nrRows",
"kind": "constant",
"memberof": "<anonymous>",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
293,
345
],
"filename": "variance.js",
"lineno": 16,
"columnno": 10,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001745",
"name": "arr",
"type": "CallExpression",
"value": ""
}
},
"undocumented": true,
"name": "arr",
"longname": "<anonymous>~arr",
"kind": "constant",
"memberof": "<anonymous>",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
356,
380
],
"filename": "variance.js",
"lineno": 17,
"columnno": 10,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001763",
"name": "mean",
"type": "BinaryExpression",
"value": ""
}
},
"undocumented": true,
"name": "mean",
"longname": "<anonymous>~mean",
"kind": "constant",
"memberof": "<anonymous>",
"scope": "inner",
"params": []
},
{
"comment": "",
"meta": {
"range": [
456,
479
],
"filename": "variance.js",
"lineno": 22,
"columnno": 0,
"path": "/Volumes/BigOne/github/funml/src/util",
"code": {
"id": "astnode100001788",
"name": "module.exports",
"type": "Identifier"
}
},
"undocumented": true,
"name": "exports",
"longname": "module.exports",
"kind": "member",
"memberof": "module",
"scope": "static"
},
{
"kind": "package",
"longname": "package:undefined",
"files": [
"/Volumes/BigOne/github/funml/src/ActivationFunction.js",
"/Volumes/BigOne/github/funml/src/DecisionTree.js",
"/Volumes/BigOne/github/funml/src/Impurity.js",
"/Volumes/BigOne/github/funml/src/NeuralNetwork.js",
"/Volumes/BigOne/github/funml/src/Node.js",
"/Volumes/BigOne/github/funml/src/Perceptron.js",
"/Volumes/BigOne/github/funml/src/index.js",
"/Volumes/BigOne/github/funml/src/util/entropy.js",
"/Volumes/BigOne/github/funml/src/util/gini.js",
"/Volumes/BigOne/github/funml/src/util/helpers.js",
"/Volumes/BigOne/github/funml/src/util/mapReduce.js",
"/Volumes/BigOne/github/funml/src/util/sigmoid.js",
"/Volumes/BigOne/github/funml/src/util/tanh.js",
"/Volumes/BigOne/github/funml/src/util/variance.js"
]
}
]