id: 1 unit: function makeGUI() file: src/playground.ts start line: 178 end line: 395 size: 181 LOC McCabe index: 12 number of parameters: 0 id: 2 unit: function drawNetwork() file: src/playground.ts start line: 538 end line: 655 size: 108 LOC McCabe index: 15 number of parameters: 1 id: 3 unit: function drawNode() file: src/playground.ts start line: 423 end line: 535 size: 107 LOC McCabe index: 12 number of parameters: 6 id: 4 unit: static deserializeState() file: src/state.ts start line: 170 end line: 239 size: 53 LOC McCabe index: 17 number of parameters: 0 id: 5 unit: function updateHoverCard() file: src/playground.ts start line: 705 end line: 750 size: 46 LOC McCabe index: 8 number of parameters: 4 id: 6 unit: function updateDecisionBoundary() file: src/playground.ts start line: 796 end line: 838 size: 42 LOC McCabe index: 11 number of parameters: 2 id: 7 unit: export function updateWeights() file: src/nn.ts start line: 335 end line: 376 size: 41 LOC McCabe index: 10 number of parameters: 3 id: 8 unit: function addPlusMinusControl() file: src/playground.ts start line: 662 end line: 703 size: 39 LOC McCabe index: 4 number of parameters: 2 id: 9 unit: export function backProp() file: src/nn.ts start line: 282 end line: 329 size: 38 LOC McCabe index: 9 number of parameters: 3 id: 10 unit: export function buildNetwork() file: src/nn.ts start line: 204 end line: 241 size: 36 LOC McCabe index: 7 number of parameters: 6 id: 11 unit: function hideControls() file: src/playground.ts start line: 1027 end line: 1065 size: 35 LOC McCabe index: 3 number of parameters: 0 id: 12 unit: constructor() file: src/linechart.ts start line: 39 end line: 73 size: 31 LOC McCabe index: 2 number of parameters: 2 id: 13 unit: export function classifyCircleData() file: src/dataset.ts start line: 156 end line: 188 size: 27 LOC McCabe index: 3 number of parameters: 2 id: 14 unit: export function regressGaussian() file: src/dataset.ts start line: 95 end line: 134 size: 26 LOC McCabe index: 2 number of parameters: 2 id: 15 unit: function initTutorial() file: src/playground.ts start line: 966 end line: 991 size: 23 LOC McCabe index: 6 number of parameters: 0 id: 16 unit: private updateCircles() file: src/heatmap.ts start line: 182 end line: 207 size: 22 LOC McCabe index: 5 number of parameters: 2 id: 17 unit: function reset() file: src/playground.ts start line: 940 end line: 964 size: 22 LOC McCabe index: 4 number of parameters: 1 id: 18 unit: function generateData() file: src/playground.ts start line: 1067 end line: 1088 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 19 unit: serialize() file: src/state.ts start line: 244 end line: 266 size: 20 LOC McCabe index: 5 number of parameters: 0 id: 20 unit: function drawDatasetThumbnails() file: src/playground.ts start line: 993 end line: 1025 size: 19 LOC McCabe index: 5 number of parameters: 0 id: 21 unit: export function forwardProp() file: src/nn.ts start line: 253 end line: 273 size: 19 LOC McCabe index: 5 number of parameters: 2 id: 22 unit: function updateWeightsUI() file: src/playground.ts start line: 403 end line: 421 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 23 unit: export function regressPlane() file: src/dataset.ts start line: 75 end line: 93 size: 18 LOC McCabe index: 2 number of parameters: 2 id: 24 unit: function updateUI() file: src/playground.ts start line: 851 end line: 887 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 25 unit: export function classifyXORData() file: src/dataset.ts start line: 190 end line: 207 size: 17 LOC McCabe index: 5 number of parameters: 2 id: 26 unit: function oneStep() file: src/playground.ts start line: 909 end line: 923 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 27 unit: export function getOutputWeights() file: src/playground.ts start line: 925 end line: 938 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 28 unit: function renderThumbnail() file: src/playground.ts start line: 994 end line: 1006 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 29 unit: playOrPause() file: src/playground.ts start line: 99 end line: 110 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 30 unit: function userHasInteracted() file: src/playground.ts start line: 1093 end line: 1104 size: 12 LOC McCabe index: 4 number of parameters: 0 id: 31 unit: private redraw() file: src/linechart.ts start line: 95 end line: 108 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 32 unit: export function shuffle() file: src/dataset.ts start line: 36 end line: 51 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 33 unit: export function forEachNode() file: src/nn.ts start line: 379 end line: 390 size: 12 LOC McCabe index: 4 number of parameters: 3 id: 34 unit: addDataPoint() file: src/linechart.ts start line: 82 end line: 93 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 35 unit: function getLabel() file: src/dataset.ts start line: 113 end line: 123 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 36 unit: function getLoss() file: src/playground.ts start line: 840 end line: 849 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 37 unit: function normalRandom() file: src/dataset.ts start line: 224 end line: 234 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 38 unit: function getHideProps() file: src/state.ts start line: 64 end line: 72 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 39 unit: private start() file: src/playground.ts start line: 133 end line: 141 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 40 unit: function constructInputIds() file: src/playground.ts start line: 889 end line: 897 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 41 unit: function constructInput() file: src/playground.ts start line: 899 end line: 907 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 42 unit: function simulationStarted() file: src/playground.ts start line: 1106 end line: 1114 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 43 unit: export function classifyTwoGaussData() file: src/dataset.ts start line: 55 end line: 73 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 44 unit: function genSpiral() file: src/dataset.ts start line: 141 end line: 149 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 45 unit: export function getKeyFromValue() file: src/state.ts start line: 51 end line: 58 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 46 unit: play() file: src/playground.ts start line: 116 end line: 123 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 47 unit: d: diagonal() file: src/playground.ts start line: 774 end line: 782 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 48 unit: export function classifySpiralData() file: src/dataset.ts start line: 136 end line: 154 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 49 unit: function scrollTween() file: src/playground.ts start line: 42 end line: 48 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 50 unit: pause() file: src/playground.ts start line: 125 end line: 131 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 51 unit: function genGauss() file: src/dataset.ts start line: 62 end line: 68 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 52 unit: constructor() file: src/nn.ts start line: 51 end line: 57 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 53 unit: reset() file: src/linechart.ts start line: 75 end line: 80 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 54 unit: function() file: src/playground.ts start line: 341 end line: 345 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 55 unit: function updateBiasesUI() file: src/playground.ts start line: 397 end line: 401 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 56 unit: throw Error() file: src/state.ts start line: 191 end line: 194 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 57 unit: function getRelativeHeight() file: src/playground.ts start line: 657 end line: 660 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 58 unit: function zeroPad() file: src/playground.ts start line: 869 end line: 872 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 59 unit: function endsWith() file: src/state.ts start line: 60 end line: 62 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 60 unit: function hasKey() file: src/state.ts start line: 178 end line: 180 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 61 unit: function parseArray() file: src/state.ts start line: 182 end line: 184 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 62 unit: setHideProperty() file: src/state.ts start line: 279 end line: 281 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 63 unit: onPlayPause() file: src/playground.ts start line: 112 end line: 114 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 64 unit: function addCommas() file: src/playground.ts start line: 874 end line: 876 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 65 unit: function humanReadable() file: src/playground.ts start line: 878 end line: 880 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 66 unit: function getCircleLabel() file: src/dataset.ts start line: 160 end line: 162 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 67 unit: function randUniform() file: src/dataset.ts start line: 213 end line: 215 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 68 unit: export function getOutputNode() file: src/nn.ts start line: 393 end line: 395 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 69 unit: function drawLink() file: src/playground.ts start line: 752 end line: 753 size: 2 LOC McCabe index: 1 number of parameters: 0