id: 1 unit: export default function App() file: react-native/pose-detection/App.tsx start line: 50 end line: 305 size: 173 LOC McCabe index: 26 number of parameters: 0 id: 2 unit: async runObjectDetector() file: interactive-visualizers/src/app/app.component.ts start line: 855 end line: 1011 size: 140 LOC McCabe index: 18 number of parameters: 2 id: 3 unit: export function setUpUI() file: lstm-text-generation/ui.js start line: 136 end line: 423 size: 132 LOC McCabe index: 20 number of parameters: 0 id: 4 unit: async runImageSegmenter() file: interactive-visualizers/src/app/app.component.ts start line: 667 end line: 808 size: 131 LOC McCabe index: 20 number of parameters: 2 id: 5 unit: async function readData() file: translation/translation.ts start line: 43 end line: 186 size: 114 LOC McCabe index: 13 number of parameters: 1 id: 6 unit: export function parseArguments() file: snake-dqn/train.js start line: 140 end line: 235 size: 96 LOC McCabe index: 1 number of parameters: 0 id: 7 unit: export function renderSnakeGame() file: snake-dqn/snake_graphics.js start line: 29 end line: 139 size: 96 LOC McCabe index: 11 number of parameters: 3 id: 8 unit: async function main() file: translation/translation.ts start line: 353 end line: 482 size: 95 LOC McCabe index: 5 number of parameters: 0 id: 9 unit: async function run() file: visualize-convnet/index.js start line: 33 end line: 129 size: 83 LOC McCabe index: 12 number of parameters: 0 id: 10 unit: async function run() file: visualize-convnet/main.js start line: 109 end line: 203 size: 77 LOC McCabe index: 10 number of parameters: 0 id: 11 unit: async train() file: addition-rnn/index.js start line: 257 end line: 342 size: 76 LOC McCabe index: 7 number of parameters: 3 id: 12 unit: async function init() file: mnist-acgan/index.js start line: 162 end line: 249 size: 75 LOC McCabe index: 7 number of parameters: 0 id: 13 unit: async runImageClassifier() file: interactive-visualizers/src/app/app.component.ts start line: 576 end line: 662 size: 74 LOC McCabe index: 13 number of parameters: 2 id: 14 unit: function parseArguments() file: sentiment/train.js start line: 87 end line: 158 size: 72 LOC McCabe index: 1 number of parameters: 0 id: 15 unit: function renderCartPole() file: cart-pole/ui.js start line: 132 end line: 215 size: 71 LOC McCabe index: 4 number of parameters: 2 id: 16 unit: async function main() file: sentiment/train.js start line: 160 end line: 244 size: 69 LOC McCabe index: 9 number of parameters: 0 id: 17 unit: async function getDataIterator() file: intent-classifier/training/train_tagger.js start line: 54 end line: 161 size: 69 LOC McCabe index: 11 number of parameters: 4 id: 18 unit: function parseArgs() file: lstm-text-generation/train_node.js start line: 31 end line: 97 size: 67 LOC McCabe index: 1 number of parameters: 0 id: 19 unit: export async function train() file: snake-dqn/train.js start line: 67 end line: 138 size: 66 LOC McCabe index: 12 number of parameters: 9 id: 20 unit: def read_data() file: translation/python/translation.py start line: 0 end line: 0 size: 65 LOC McCabe index: 18 number of parameters: 0 id: 21 unit: function createAndCompileModel() file: addition-rnn/index.js start line: 172 end line: 237 size: 65 LOC McCabe index: 7 number of parameters: 5 id: 22 unit: function createAndCompileModel() file: addition-rnn-webworker/worker.js start line: 164 end line: 229 size: 65 LOC McCabe index: 7 number of parameters: 5 id: 23 unit: async function runAdditionRNNDemo() file: addition-rnn-webworker/index.js start line: 28 end line: 95 size: 64 LOC McCabe index: 5 number of parameters: 0 id: 24 unit: function parseArguments() file: jena-weather/train-rnn.js start line: 36 end line: 99 size: 63 LOC McCabe index: 1 number of parameters: 0 id: 25 unit: async function main() file: quantization/eval_mobilenetv2.js start line: 73 end line: 141 size: 63 LOC McCabe index: 6 number of parameters: 0 id: 26 unit: export function createModel() file: date-conversion-attention/model.js start line: 68 end line: 136 size: 62 LOC McCabe index: 1 number of parameters: 4 id: 27 unit: async generateExample() file: simple-object-detection/synthetic_images.js start line: 99 end line: 174 size: 56 LOC McCabe index: 9 number of parameters: 3 id: 28 unit: async function run() file: date-conversion-attention/train.js start line: 177 end line: 240 size: 56 LOC McCabe index: 9 number of parameters: 0 id: 29 unit: async function generateText() file: lstm-text-generation/ui.js start line: 176 end line: 235 size: 54 LOC McCabe index: 8 number of parameters: 0 id: 30 unit: async load() file: jena-weather/data.js start line: 52 end line: 116 size: 52 LOC McCabe index: 10 number of parameters: 0 id: 31 unit: export async function getNormalizedDatasets() file: quantization/data_housing.js start line: 116 end line: 176 size: 52 LOC McCabe index: 5 number of parameters: 7 id: 32 unit: export function wireUpEvaluateTableCallbacks() file: iris/ui.js start line: 148 end line: 200 size: 51 LOC McCabe index: 1 number of parameters: 1 id: 33 unit: export function wireUpEvaluateTableCallbacks() file: iris-fitDataset/ui.js start line: 148 end line: 200 size: 51 LOC McCabe index: 1 number of parameters: 1 id: 34 unit: step() file: snake-dqn/snake_game.js start line: 122 end line: 187 size: 51 LOC McCabe index: 13 number of parameters: 1 id: 35 unit: function loadFeatures() file: sentiment/data.js start line: 49 end line: 107 size: 50 LOC McCabe index: 10 number of parameters: 4 id: 36 unit: function seq2seqModel() file: translation/translation.ts start line: 210 end line: 272 size: 49 LOC McCabe index: 1 number of parameters: 3 id: 37 unit: function parseArguments() file: date-conversion-attention/train.js start line: 127 end line: 175 size: 49 LOC McCabe index: 1 number of parameters: 0 id: 38 unit: export async function getDatasetStats() file: quantization/data_housing.js start line: 39 end line: 90 size: 49 LOC McCabe index: 4 number of parameters: 0 id: 39 unit: async load() file: tsne-mnist-canvas/data.js start line: 44 end line: 104 size: 46 LOC McCabe index: 4 number of parameters: 0 id: 40 unit: function buildGenerator() file: mnist-acgan/gan.js start line: 87 end line: 162 size: 46 LOC McCabe index: 2 number of parameters: 1 id: 41 unit: async load() file: mnist-core/data.js start line: 46 end line: 106 size: 46 LOC McCabe index: 4 number of parameters: 0 id: 42 unit: export function buildModel() file: sentiment/train.js start line: 36 end line: 85 size: 45 LOC McCabe index: 7 number of parameters: 4 id: 43 unit: export async function writeEmbeddingMatrixAndLabels() file: sentiment/embedding.js start line: 65 end line: 118 size: 45 LOC McCabe index: 8 number of parameters: 4 id: 44 unit: async load() file: mnist/data.js start line: 41 end line: 96 size: 44 LOC McCabe index: 3 number of parameters: 0 id: 45 unit: async load() file: mnist-acgan/web-data.js start line: 44 end line: 99 size: 44 LOC McCabe index: 3 number of parameters: 0 id: 46 unit: function gradClassActivationMap() file: visualize-convnet/cam.js start line: 49 end line: 127 size: 43 LOC McCabe index: 4 number of parameters: 4 id: 47 unit: function drawBoundingBoxes() file: simple-object-detection/index.js start line: 42 end line: 90 size: 43 LOC McCabe index: 3 number of parameters: 3 id: 48 unit: async function train() file: fashion-mnist-vae/train.js start line: 60 end line: 122 size: 43 LOC McCabe index: 6 number of parameters: 4 id: 49 unit: def main() file: translation/python/translation.py start line: 0 end line: 0 size: 42 LOC McCabe index: 1 number of parameters: 0 id: 50 unit: export function generateDataForTraining() file: date-conversion-attention/train.js start line: 52 end line: 125 size: 42 LOC McCabe index: 7 number of parameters: 2 id: 51 unit: async function main() file: quantization/train_mnist.js start line: 68 end line: 115 size: 42 LOC McCabe index: 6 number of parameters: 0 id: 52 unit: function getModel() file: intent-classifier/training/tagger_model.js start line: 26 end line: 80 size: 42 LOC McCabe index: 4 number of parameters: 1 id: 53 unit: async retrainModel() file: mnist-transfer-cnn/index.js start line: 112 end line: 161 size: 42 LOC McCabe index: 4 number of parameters: 0 id: 54 unit: function parseArguments() file: mnist-acgan/gan.js start line: 365 end line: 405 size: 41 LOC McCabe index: 1 number of parameters: 0 id: 55 unit: async train() file: cart-pole/index.js start line: 110 end line: 179 size: 41 LOC McCabe index: 4 number of parameters: 5 id: 56 unit: function parseArguments() file: visualize-convnet/main.js start line: 34 end line: 73 size: 40 LOC McCabe index: 1 number of parameters: 0 id: 57 unit: async function iris() file: iris-fitDataset/index.js start line: 170 end line: 219 size: 40 LOC McCabe index: 2 number of parameters: 0 id: 58 unit: export function createDeepQNetwork() file: snake-dqn/dqn.js start line: 20 end line: 61 size: 40 LOC McCabe index: 7 number of parameters: 3 id: 59 unit: async function init() file: gpu-pipeline/index.js start line: 31 end line: 99 size: 39 LOC McCabe index: 1 number of parameters: 0 id: 60 unit: export async function runSeq2SeqInference() file: date-conversion-attention/model.js start line: 155 end line: 203 size: 39 LOC McCabe index: 5 number of parameters: 3 id: 61 unit: public static void initializeFlipper() file: react-native/pose-detection/android/app/src/debug/java/com/posenet/ReactNativeFlipper.java start line: 28 end line: 68 size: 39 LOC McCabe index: 3 number of parameters: 2 id: 62 unit: public static void initializeFlipper() file: react-native/image-classification/expo/android/app/src/debug/java/com/posenet/ReactNativeFlipper.java start line: 28 end line: 68 size: 39 LOC McCabe index: 3 number of parameters: 2 id: 63 unit: public static void initializeFlipper() file: react-native/image-classification/react-native-cli/android/app/src/debug/java/com/reactnativecli/ReactNativeFlipper.java start line: 28 end line: 71 size: 39 LOC McCabe index: 3 number of parameters: 2 id: 64 unit: def main() file: sentiment/python/imdb.py start line: 0 end line: 0 size: 38 LOC McCabe index: 6 number of parameters: 0 id: 65 unit: function parseArgs() file: quantization/train_housing.js start line: 30 end line: 67 size: 38 LOC McCabe index: 1 number of parameters: 0 id: 66 unit: async function getSampleRowHandler() file: data-csv/index.js start line: 104 end line: 143 size: 38 LOC McCabe index: 5 number of parameters: 0 id: 67 unit: async function writeInternalActivationAndGetOutput() file: visualize-convnet/filters.js start line: 51 end line: 96 size: 37 LOC McCabe index: 4 number of parameters: 5 id: 68 unit: async function iris() file: iris/index.js start line: 167 end line: 211 size: 37 LOC McCabe index: 2 number of parameters: 0 id: 69 unit: function parseArgs() file: lstm-text-generation/gen_node.js start line: 32 end line: 68 size: 37 LOC McCabe index: 1 number of parameters: 0 id: 70 unit: async function train() file: webcam-transfer-learning/index.js start line: 64 end line: 125 size: 37 LOC McCabe index: 3 number of parameters: 0 id: 71 unit: async fetchLabelmap() file: interactive-visualizers/src/app/app.component.ts start line: 535 end line: 571 size: 37 LOC McCabe index: 10 number of parameters: 1 id: 72 unit: playStep() file: snake-dqn/agent.js start line: 81 end line: 121 size: 37 LOC McCabe index: 5 number of parameters: 0 id: 73 unit: function createFoundCard() file: electron/renderer.js start line: 175 end line: 216 size: 36 LOC McCabe index: 3 number of parameters: 2 id: 74 unit: function parseArgs() file: quantization/train_mnist.js start line: 31 end line: 66 size: 36 LOC McCabe index: 1 number of parameters: 0 id: 75 unit: export function sampleFromMnistData() file: mnist-acgan/web-data.js start line: 171 end line: 210 size: 36 LOC McCabe index: 6 number of parameters: 1 id: 76 unit: def train_and_save_model() file: mnist-transfer-cnn/python/mnist_transfer_cnn.py start line: 0 end line: 0 size: 36 LOC McCabe index: 1 number of parameters: 11 id: 77 unit: async function train() file: mnist/index.js start line: 124 end line: 218 size: 35 LOC McCabe index: 2 number of parameters: 2 id: 78 unit: function generateData() file: addition-rnn/index.js start line: 120 end line: 160 size: 34 LOC McCabe index: 6 number of parameters: 3 id: 79 unit: async function loadImages() file: quantization/data_mnist.js start line: 89 end line: 126 size: 34 LOC McCabe index: 3 number of parameters: 3 id: 80 unit: async function tagTokens() file: intent-classifier/app/tagger.js start line: 107 end line: 157 size: 34 LOC McCabe index: 3 number of parameters: 2 id: 81 unit: function generateData() file: addition-rnn-webworker/worker.js start line: 112 end line: 152 size: 34 LOC McCabe index: 6 number of parameters: 3 id: 82 unit: function toNormalizedTensors() file: polynomial-regression/index.js start line: 116 end line: 149 size: 34 LOC McCabe index: 5 number of parameters: 2 id: 83 unit: def train_model() file: sentiment/python/imdb.py start line: 0 end line: 0 size: 33 LOC McCabe index: 4 number of parameters: 9 id: 84 unit: async ensureModelLoaded() file: electron/image_classifier.js start line: 85 end line: 123 size: 33 LOC McCabe index: 9 number of parameters: 1 id: 85 unit: export function getIrisData() file: iris/data.js start line: 153 end line: 187 size: 33 LOC McCabe index: 4 number of parameters: 1 id: 86 unit: async function init() file: simple-object-detection/index.js start line: 144 end line: 181 size: 33 LOC McCabe index: 3 number of parameters: 0 id: 87 unit: export function createModel() file: quantization/model_mnist.js start line: 20 end line: 53 size: 33 LOC McCabe index: 1 number of parameters: 0 id: 88 unit: async function csvToTensors() file: intent-classifier/training/csv_to_tensors.js start line: 49 end line: 98 size: 33 LOC McCabe index: 2 number of parameters: 4 id: 89 unit: async function trainModel() file: iris-fitDataset/index.js start line: 40 end line: 91 size: 32 LOC McCabe index: 1 number of parameters: 2 id: 90 unit: function buildDiscriminator() file: mnist-acgan/gan.js start line: 181 end line: 230 size: 32 LOC McCabe index: 1 number of parameters: 0 id: 91 unit: makeFruits_() file: snake-dqn/snake_game.js start line: 263 end line: 298 size: 32 LOC McCabe index: 8 number of parameters: 0 id: 92 unit: export async function plotDataAndPredictions() file: polynomial-regression-core/ui.js start line: 43 end line: 77 size: 32 LOC McCabe index: 1 number of parameters: 4 id: 93 unit: getData_() file: mnist-node/data.js start line: 150 end line: 184 size: 31 LOC McCabe index: 3 number of parameters: 1 id: 94 unit: getData_() file: quantization/data_mnist.js start line: 206 end line: 240 size: 31 LOC McCabe index: 3 number of parameters: 1 id: 95 unit: getData_() file: mnist-acgan/data.js start line: 152 end line: 186 size: 31 LOC McCabe index: 3 number of parameters: 1 id: 96 unit: function renderModelPredictions() file: polynomial-regression/index.js start line: 192 end line: 223 size: 31 LOC McCabe index: 5 number of parameters: 7 id: 97 unit: async function renderLatentSpace() file: fashion-mnist-vae/client.js start line: 97 end line: 138 size: 31 LOC McCabe index: 1 number of parameters: 1 id: 98 unit: async function main() file: lstm-text-generation/train_node.js start line: 99 end line: 156 size: 30 LOC McCabe index: 5 number of parameters: 0 id: 99 unit: async function main() file: quantization/eval_mnist.js start line: 54 end line: 86 size: 30 LOC McCabe index: 4 number of parameters: 0 id: 100 unit: async function writeImageTensorToFile() file: visualize-convnet/utils.js start line: 64 end line: 94 size: 29 LOC McCabe index: 4 number of parameters: 2 id: 101 unit: export function searchForKeywords() file: electron/image_classifier.js start line: 209 end line: 239 size: 29 LOC McCabe index: 7 number of parameters: 3 id: 102 unit: async function trainModel() file: iris/index.js start line: 40 end line: 85 size: 29 LOC McCabe index: 1 number of parameters: 4 id: 103 unit: export async function getBaselineMeanAbsoluteError() file: jena-weather/models.js start line: 52 end line: 82 size: 29 LOC McCabe index: 1 number of parameters: 6 id: 104 unit: async function runAndVisualizeInference() file: simple-object-detection/index.js start line: 97 end line: 142 size: 29 LOC McCabe index: 4 number of parameters: 1 id: 105 unit: export function createModel() file: quantization/model_fashion_mnist.js start line: 26 end line: 55 size: 29 LOC McCabe index: 1 number of parameters: 0 id: 106 unit: export async function fetchOnceAndSaveToDiskWithBuffer() file: quantization/data_mnist.js start line: 48 end line: 78 size: 29 LOC McCabe index: 4 number of parameters: 3 id: 107 unit: export function displaySimulation() file: data-generator/ui.js start line: 105 end line: 139 size: 29 LOC McCabe index: 3 number of parameters: 2 id: 108 unit: async function prepare() file: react-native/pose-detection/App.tsx start line: 69 end line: 110 size: 29 LOC McCabe index: 2 number of parameters: 0 id: 109 unit: async function initGame() file: snake-dqn/index.js start line: 119 end line: 153 size: 29 LOC McCabe index: 4 number of parameters: 0 id: 110 unit: async function run() file: baseball-node/server.js start line: 28 end line: 63 size: 29 LOC McCabe index: 4 number of parameters: 0 id: 111 unit: export async function generateText() file: lstm-text-generation/model.js start line: 103 end line: 144 size: 28 LOC McCabe index: 4 number of parameters: 6 id: 112 unit: async function embedTokens() file: intent-classifier/training/tokens_to_embeddings.js start line: 47 end line: 84 size: 28 LOC McCabe index: 3 number of parameters: 4 id: 113 unit: def train_model() file: mnist-transfer-cnn/python/mnist_transfer_cnn.py start line: 0 end line: 0 size: 28 LOC McCabe index: 1 number of parameters: 7 id: 114 unit: function convertToTensors() file: iris/data.js start line: 96 end line: 135 size: 27 LOC McCabe index: 4 number of parameters: 3 id: 115 unit: export function renderEvaluateTable() file: iris/ui.js start line: 119 end line: 146 size: 27 LOC McCabe index: 4 number of parameters: 4 id: 116 unit: export function renderEvaluateTable() file: iris-fitDataset/ui.js start line: 119 end line: 146 size: 27 LOC McCabe index: 4 number of parameters: 4 id: 117 unit: export function createModel() file: quantization/model_housing.js start line: 22 end line: 48 size: 27 LOC McCabe index: 1 number of parameters: 0 id: 118 unit: updateDirection_() file: snake-dqn/snake_game.js start line: 189 end line: 215 size: 27 LOC McCabe index: 13 number of parameters: 1 id: 119 unit: async function createDataset() file: abalone-node/data.js start line: 27 end line: 53 size: 26 LOC McCabe index: 4 number of parameters: 1 id: 120 unit: def train() file: iris/python/iris.py start line: 0 end line: 0 size: 26 LOC McCabe index: 2 number of parameters: 3 id: 121 unit: export function drawConfusionMatrix() file: iris/ui.js start line: 51 end line: 76 size: 26 LOC McCabe index: 3 number of parameters: 1 id: 122 unit: prepareDecoderModel() file: translation/index.js start line: 76 end line: 104 size: 26 LOC McCabe index: 1 number of parameters: 1 id: 123 unit: decodeSequence() file: translation/index.js start line: 131 end line: 174 size: 26 LOC McCabe index: 4 number of parameters: 1 id: 124 unit: export function drawConfusionMatrix() file: iris-fitDataset/ui.js start line: 51 end line: 76 size: 26 LOC McCabe index: 3 number of parameters: 1 id: 125 unit: async function showPredictions() file: mnist/index.js start line: 225 end line: 253 size: 26 LOC McCabe index: 3 number of parameters: 1 id: 126 unit: function parseArgs() file: quantization/eval_mnist.js start line: 27 end line: 52 size: 26 LOC McCabe index: 1 number of parameters: 0 id: 127 unit: async function getClassificationMessage() file: intent-classifier/app/index.js start line: 71 end line: 97 size: 26 LOC McCabe index: 5 number of parameters: 1 id: 128 unit: async function run() file: intent-classifier/training/train_tagger.js start line: 166 end line: 197 size: 26 LOC McCabe index: 1 number of parameters: 5 id: 129 unit: async function main() file: snake-dqn/train.js start line: 237 end line: 264 size: 26 LOC McCabe index: 2 number of parameters: 0 id: 130 unit: constructor() file: snake-dqn/snake_game.js start line: 60 end line: 88 size: 26 LOC McCabe index: 6 number of parameters: 1 id: 131 unit: async function loadImages() file: fashion-mnist-vae/data.js start line: 63 end line: 95 size: 26 LOC McCabe index: 5 number of parameters: 1 id: 132 unit: async function arrayToJimp() file: fashion-mnist-vae/data.js start line: 128 end line: 155 size: 26 LOC McCabe index: 4 number of parameters: 1 id: 133 unit: function inputGradientAscent() file: visualize-convnet/filters.js start line: 112 end line: 153 size: 25 LOC McCabe index: 2 number of parameters: 4 id: 134 unit: async searchFromFiles() file: electron/image_classifier.js start line: 135 end line: 169 size: 25 LOC McCabe index: 3 number of parameters: 3 id: 135 unit: function addTextElementToImageNode() file: chrome-extension/src/content.js start line: 94 end line: 121 size: 25 LOC McCabe index: 1 number of parameters: 2 id: 136 unit: function makeTimeSeriesScatterPlot() file: jena-weather/index.js start line: 125 end line: 150 size: 25 LOC McCabe index: 2 number of parameters: 4 id: 137 unit: export function buildModel() file: jena-weather/models.js start line: 168 end line: 195 size: 25 LOC McCabe index: 7 number of parameters: 3 id: 138 unit: def decode_sequence() file: translation/python/translation.py start line: 0 end line: 0 size: 25 LOC McCabe index: 6 number of parameters: 7 id: 139 unit: async fetchTestImages() file: interactive-visualizers/src/app/app.component.ts start line: 279 end line: 305 size: 25 LOC McCabe index: 5 number of parameters: 0 id: 140 unit: function dateTuplesToTensor() file: date-conversion-attention/train.js start line: 75 end line: 102 size: 25 LOC McCabe index: 1 number of parameters: 1 id: 141 unit: async function run() file: intent-classifier/training/csv_to_tensors.js start line: 101 end line: 133 size: 25 LOC McCabe index: 1 number of parameters: 3 id: 142 unit: async function fitModel() file: polynomial-regression/index.js start line: 165 end line: 189 size: 25 LOC McCabe index: 1 number of parameters: 3 id: 143 unit: async function countRowsHandler() file: data-csv/index.js start line: 44 end line: 72 size: 25 LOC McCabe index: 4 number of parameters: 0 id: 144 unit: export async function run() file: boston-housing/index.js start line: 132 end line: 173 size: 25 LOC McCabe index: 1 number of parameters: 3 id: 145 unit: function plotAccuracyPerClass() file: baseball-node/client.js start line: 62 end line: 95 size: 25 LOC McCabe index: 2 number of parameters: 1 id: 146 unit: async function setupMnistTransferCNN() file: mnist-transfer-cnn/index.js start line: 168 end line: 194 size: 25 LOC McCabe index: 3 number of parameters: 0 id: 147 unit: export function padSequences() file: sentiment/sequence_utils.js start line: 36 end line: 64 size: 24 LOC McCabe index: 6 number of parameters: 5 id: 148 unit: export function findImagesFromDirectoriesRecursive() file: electron/image_utils.js start line: 66 end line: 90 size: 24 LOC McCabe index: 7 number of parameters: 1 id: 149 unit: function makeTimeSeriesChart() file: jena-weather/index.js start line: 86 end line: 111 size: 24 LOC McCabe index: 6 number of parameters: 5 id: 150 unit: export async function getTopKClasses() file: mobilenet/index.js start line: 103 end line: 128 size: 24 LOC McCabe index: 4 number of parameters: 2 id: 151 unit: function showResults() file: mobilenet/index.js start line: 134 end line: 163 size: 24 LOC McCabe index: 2 number of parameters: 2 id: 152 unit: async function loadLabels() file: quantization/data_mnist.js start line: 128 end line: 155 size: 24 LOC McCabe index: 3 number of parameters: 3 id: 153 unit: function parseRecords() file: intent-classifier/training/raw_to_tagged_tokens.js start line: 62 end line: 89 size: 24 LOC McCabe index: 5 number of parameters: 1 id: 154 unit: export function normalizeDataset() file: website-phishing/utils.js start line: 137 end line: 166 size: 24 LOC McCabe index: 3 number of parameters: 4 id: 155 unit: function drawROC() file: website-phishing/index.js start line: 64 end line: 90 size: 24 LOC McCabe index: 3 number of parameters: 3 id: 156 unit: async function step() file: snake-dqn/index.js start line: 64 end line: 87 size: 24 LOC McCabe index: 5 number of parameters: 0 id: 157 unit: async function start() file: tsne-mnist-canvas/index.js start line: 79 end line: 118 size: 23 LOC McCabe index: 1 number of parameters: 4 id: 158 unit: async calculateMeansAndStddevs_() file: jena-weather/data.js start line: 155 end line: 183 size: 23 LOC McCabe index: 4 number of parameters: 0 id: 159 unit: export function populateSelects() file: jena-weather/ui.js start line: 34 end line: 57 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 160 unit: export async function trainModel() file: jena-weather/models.js start line: 218 end line: 241 size: 23 LOC McCabe index: 1 number of parameters: 10 id: 161 unit: async function setupTranslator() file: translation/index.js start line: 188 end line: 212 size: 23 LOC McCabe index: 3 number of parameters: 0 id: 162 unit: def main() file: quantization/draw_quantization.py start line: 0 end line: 0 size: 23 LOC McCabe index: 1 number of parameters: 0 id: 163 unit: async function main() file: quantization/eval_housing.js start line: 45 end line: 75 size: 23 LOC McCabe index: 2 number of parameters: 0 id: 164 unit: async function trainDiscriminatorOneStep() file: mnist-acgan/gan.js start line: 298 end line: 329 size: 23 LOC McCabe index: 1 number of parameters: 7 id: 165 unit: export function generateData() file: polynomial-regression-core/data.js start line: 20 end line: 50 size: 23 LOC McCabe index: 1 number of parameters: 3 id: 166 unit: export function updateWeightDescription() file: boston-housing/ui.js start line: 42 end line: 67 size: 23 LOC McCabe index: 3 number of parameters: 1 id: 167 unit: async classify() file: electron/image_classifier.js start line: 53 end line: 77 size: 22 LOC McCabe index: 1 number of parameters: 2 id: 168 unit: async function loadImages() file: mnist-node/data.js start line: 72 end line: 97 size: 22 LOC McCabe index: 3 number of parameters: 1 id: 169 unit: async function main() file: lstm-text-generation/gen_node.js start line: 70 end line: 102 size: 22 LOC McCabe index: 2 number of parameters: 0 id: 170 unit: async function main() file: quantization/train_housing.js start line: 69 end line: 105 size: 22 LOC McCabe index: 4 number of parameters: 0 id: 171 unit: async function loadImages() file: mnist-acgan/data.js start line: 76 end line: 101 size: 22 LOC McCabe index: 3 number of parameters: 1 id: 172 unit: export async function plotROC() file: website-phishing/ui.js start line: 55 end line: 80 size: 22 LOC McCabe index: 4 number of parameters: 3 id: 173 unit: function scaleAndAverageGradients() file: cart-pole/index.js start line: 389 end line: 416 size: 22 LOC McCabe index: 4 number of parameters: 2 id: 174 unit: prepTestExamples() file: mnist-transfer-cnn/index.js start line: 70 end line: 94 size: 22 LOC McCabe index: 5 number of parameters: 0 id: 175 unit: async function setupSentiment() file: sentiment/index.js start line: 90 end line: 112 size: 21 LOC McCabe index: 3 number of parameters: 0 id: 176 unit: function logitsToSpans() file: iris/ui.js start line: 83 end line: 103 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 177 unit: function logitsToSpans() file: iris-fitDataset/ui.js start line: 83 end line: 103 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 178 unit: async handleInputImage() file: interactive-visualizers/src/app/app.component.ts start line: 486 end line: 506 size: 21 LOC McCabe index: 4 number of parameters: 2 id: 179 unit: async function loadTruncatedBase() file: simple-object-detection/train.js start line: 76 end line: 101 size: 21 LOC McCabe index: 4 number of parameters: 0 id: 180 unit: export function showTestResults() file: mnist/ui.js start line: 33 end line: 60 size: 21 LOC McCabe index: 3 number of parameters: 3 id: 181 unit: function parseArgs() file: quantization/eval_mobilenetv2.js start line: 30 end line: 50 size: 21 LOC McCabe index: 1 number of parameters: 0 id: 182 unit: function model() file: mnist-core/model.js start line: 51 end line: 75 size: 21 LOC McCabe index: 1 number of parameters: 1 id: 183 unit: constructor() file: snake-dqn/agent.js start line: 42 end line: 67 size: 21 LOC McCabe index: 1 number of parameters: 2 id: 184 unit: export async function setup() file: boston-housing/ui.js start line: 69 end line: 92 size: 21 LOC McCabe index: 1 number of parameters: 0 id: 185 unit: function loadTargets() file: sentiment/data.js start line: 116 end line: 138 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 186 unit: async function writeConvLayerFilters() file: visualize-convnet/main.js start line: 88 end line: 107 size: 20 LOC McCabe index: 3 number of parameters: 5 id: 187 unit: async function readImageTensorFromFile() file: visualize-convnet/utils.js start line: 36 end line: 55 size: 20 LOC McCabe index: 2 number of parameters: 3 id: 188 unit: export async function readImageAsTensor() file: electron/image_utils.js start line: 35 end line: 54 size: 20 LOC McCabe index: 2 number of parameters: 3 id: 189 unit: img.onload = function() file: chrome-extension/src/content.js start line: 176 end line: 198 size: 20 LOC McCabe index: 5 number of parameters: 1 id: 190 unit: async function setupCamera() file: gpu-pipeline/ui-util.js start line: 30 end line: 52 size: 20 LOC McCabe index: 1 number of parameters: 0 id: 191 unit: drawTriangle() file: simple-object-detection/synthetic_images.js start line: 240 end line: 262 size: 20 LOC McCabe index: 1 number of parameters: 5 id: 192 unit: async function readImageTensorFromFile() file: quantization/eval_mobilenetv2.js start line: 52 end line: 71 size: 20 LOC McCabe index: 2 number of parameters: 3 id: 193 unit: async function generateAndVisualizeImages() file: mnist-acgan/index.js start line: 84 end line: 110 size: 20 LOC McCabe index: 1 number of parameters: 1 id: 194 unit: function createSliders() file: mnist-acgan/index.js start line: 127 end line: 147 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 195 unit: onEpochEnd: async() file: data-generator/index.js start line: 144 end line: 164 size: 20 LOC McCabe index: 3 number of parameters: 2 id: 196 unit: async function getColumnNamesHandler() file: data-csv/index.js start line: 79 end line: 98 size: 20 LOC McCabe index: 3 number of parameters: 0 id: 197 unit: export function updateSampleRowOutput() file: data-csv/ui.js start line: 74 end line: 95 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 198 unit: async function run() file: baseball-node/train_strike_zone.js start line: 22 end line: 48 size: 20 LOC McCabe index: 2 number of parameters: 2 id: 199 unit: async function run() file: baseball-node/train_pitch_type.js start line: 22 end line: 48 size: 20 LOC McCabe index: 2 number of parameters: 2 id: 200 unit: predict() file: sentiment/index.js start line: 60 end line: 83 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 201 unit: function tensorToCanvas() file: custom-layer/index.js start line: 36 end line: 54 size: 19 LOC McCabe index: 2 number of parameters: 2 id: 202 unit: function initControls() file: tsne-mnist-canvas/index.js start line: 120 end line: 143 size: 19 LOC McCabe index: 1 number of parameters: 0 id: 203 unit: async analyzeImage() file: chrome-extension/src/service_worker.js start line: 105 end line: 123 size: 19 LOC McCabe index: 3 number of parameters: 3 id: 204 unit: parseDateTime_() file: jena-weather/data.js start line: 127 end line: 147 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 205 unit: encodeString() file: translation/index.js start line: 110 end line: 129 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 206 unit: nextDataEpoch() file: lstm-text-generation/data.js start line: 130 end line: 150 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 207 unit: async testImageSelected() file: interactive-visualizers/src/app/app.component.ts start line: 388 end line: 407 size: 19 LOC McCabe index: 2 number of parameters: 2 id: 208 unit: async function predict() file: mobilenet/index.js start line: 61 end line: 95 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 209 unit: async function init() file: date-conversion-attention/index.js start line: 102 end line: 124 size: 19 LOC McCabe index: 3 number of parameters: 0 id: 210 unit: export function handScoringHelper() file: data-generator/game.js start line: 88 end line: 107 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 211 unit: private static void initializeFlipper() file: react-native/pose-detection/android/app/src/main/java/com/posenet/MainApplication.java start line: 105 end line: 127 size: 19 LOC McCabe index: 6 number of parameters: 2 id: 212 unit: private static void initializeFlipper() file: react-native/image-classification/expo/android/app/src/main/java/com/posenet/MainApplication.java start line: 105 end line: 127 size: 19 LOC McCabe index: 6 number of parameters: 2 id: 213 unit: private static void initializeFlipper() file: react-native/image-classification/react-native-cli/android/app/src/main/java/com/reactnativecli/MainApplication.java start line: 76 end line: 98 size: 19 LOC McCabe index: 6 number of parameters: 2 id: 214 unit: export async function plotData() file: polynomial-regression-core/ui.js start line: 20 end line: 41 size: 19 LOC McCabe index: 1 number of parameters: 3 id: 215 unit: export async function loadData() file: sentiment/data.js start line: 220 end line: 239 size: 18 LOC McCabe index: 1 number of parameters: 3 id: 216 unit: async function fetchOnceAndSaveToDiskWithBuffer() file: mnist-node/data.js start line: 44 end line: 61 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 217 unit: async function loadLabels() file: mnist-node/data.js start line: 99 end line: 120 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 218 unit: constructor() file: lstm-text-generation/data.js start line: 64 end line: 85 size: 18 LOC McCabe index: 2 number of parameters: 4 id: 219 unit: export async function maybeDownload() file: lstm-text-generation/data.js start line: 245 end line: 262 size: 18 LOC McCabe index: 3 number of parameters: 2 id: 220 unit: export function encodeOutputDateStrings() file: date-conversion-attention/date_format.js start line: 278 end line: 295 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 221 unit: function fetchOnceAndSaveToDiskWithBuffer() file: mnist-acgan/data.js start line: 47 end line: 64 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 222 unit: async function loadLabels() file: mnist-acgan/data.js start line: 103 end line: 124 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 223 unit: function displayEmbeddingsPlot() file: intent-classifier/app/tagger.js start line: 203 end line: 225 size: 18 LOC McCabe index: 1 number of parameters: 2 id: 224 unit: async function displayTags() file: intent-classifier/app/tagger.js start line: 233 end line: 252 size: 18 LOC McCabe index: 1 number of parameters: 3 id: 225 unit: async function trainModelUsingFitDataset() file: data-generator/index.js start line: 135 end line: 173 size: 18 LOC McCabe index: 1 number of parameters: 2 id: 226 unit: export async function displayBatches() file: data-generator/ui.js start line: 150 end line: 169 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 227 unit: update() file: cart-pole/cart_pole.js start line: 91 end line: 112 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 228 unit: export function textToImageArray() file: mnist-transfer-cnn/util.js start line: 55 end line: 73 size: 18 LOC McCabe index: 5 number of parameters: 2 id: 229 unit: async function maybeDownload() file: sentiment/data.js start line: 146 end line: 162 size: 17 LOC McCabe index: 3 number of parameters: 2 id: 230 unit: async function run() file: abalone-node/train.js start line: 33 end line: 55 size: 17 LOC McCabe index: 1 number of parameters: 3 id: 231 unit: function createModel() file: abalone-node/model.js start line: 26 end line: 42 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 232 unit: function displaySearchResults() file: electron/renderer.js start line: 96 end line: 112 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 233 unit: function textContentFromPrediction() file: chrome-extension/src/content.js start line: 39 end line: 58 size: 17 LOC McCabe index: 7 number of parameters: 1 id: 234 unit: def seq2seq_model() file: translation/python/translation.py start line: 0 end line: 0 size: 17 LOC McCabe index: 4 number of parameters: 3 id: 235 unit: async function refreshLocalModelStatus() file: lstm-text-generation/ui.js start line: 140 end line: 156 size: 17 LOC McCabe index: 3 number of parameters: 0 id: 236 unit: export function createModel() file: lstm-text-generation/model.js start line: 32 end line: 50 size: 17 LOC McCabe index: 4 number of parameters: 3 id: 237 unit: function createConvModel() file: mnist/index.js start line: 35 end line: 85 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 238 unit: export function encodeInputDateStrings() file: date-conversion-attention/date_format.js start line: 249 end line: 265 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 239 unit: function parseArgs() file: quantization/eval_housing.js start line: 27 end line: 43 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 240 unit: function run() file: intent-classifier/training/raw_to_csv.js start line: 54 end line: 73 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 241 unit: function encoder() file: fashion-mnist-vae/model.js start line: 42 end line: 64 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 242 unit: export function imageVectorToText() file: mnist-transfer-cnn/util.js start line: 28 end line: 44 size: 17 LOC McCabe index: 6 number of parameters: 2 id: 243 unit: export function convertDataToTensors() file: mnist-transfer-cnn/util.js start line: 83 end line: 99 size: 17 LOC McCabe index: 1 number of parameters: 2 id: 244 unit: def load_mnist_data() file: mnist-transfer-cnn/python/mnist_transfer_cnn.py start line: 0 end line: 0 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 245 unit: def main() file: mnist-transfer-cnn/python/mnist_transfer_cnn.py start line: 0 end line: 0 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 246 unit: nextBatch() file: tsne-mnist-canvas/data.js start line: 123 end line: 143 size: 16 LOC McCabe index: 2 number of parameters: 3 id: 247 unit: export async function updateLocalModelStatus() file: iris/loader.js start line: 72 end line: 88 size: 16 LOC McCabe index: 2 number of parameters: 0 id: 248 unit: export async function updateLocalModelStatus() file: iris-fitDataset/loader.js start line: 72 end line: 88 size: 16 LOC McCabe index: 2 number of parameters: 0 id: 249 unit: addExample() file: webcam-transfer-learning/controller_dataset.js start line: 34 end line: 57 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 250 unit: async initAppWithTfliteModel() file: interactive-visualizers/src/app/app.component.ts start line: 315 end line: 330 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 251 unit: export function draw() file: mnist/ui.js start line: 96 end line: 111 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 252 unit: async loadData() file: quantization/data_mnist.js start line: 180 end line: 196 size: 16 LOC McCabe index: 2 number of parameters: 0 id: 253 unit: function buildCombinedModel() file: mnist-acgan/gan.js start line: 244 end line: 264 size: 16 LOC McCabe index: 1 number of parameters: 4 id: 254 unit: nextBatch() file: mnist-core/data.js start line: 125 end line: 145 size: 16 LOC McCabe index: 2 number of parameters: 3 id: 255 unit: function appendMessage() file: intent-classifier/app/index.js start line: 112 end line: 132 size: 16 LOC McCabe index: 2 number of parameters: 3 id: 256 unit: function parseRecords() file: intent-classifier/training/raw_to_csv.js start line: 30 end line: 47 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 257 unit: function chunk() file: intent-classifier/training/util.js start line: 45 end line: 60 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 258 unit: function getModel() file: intent-classifier/training/intent_model.js start line: 32 end line: 50 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 259 unit: export function compareHands() file: data-generator/game.js start line: 117 end line: 134 size: 16 LOC McCabe index: 5 number of parameters: 2 id: 260 unit: async loadData() file: website-phishing/data.js start line: 45 end line: 66 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 261 unit: async function maybeDownload() file: fashion-mnist-vae/download.js start line: 31 end line: 51 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 262 unit: async function updateUIControlState() file: cart-pole/ui.js start line: 217 end line: 233 size: 16 LOC McCabe index: 2 number of parameters: 0 id: 263 unit: async function maybeExtract() file: sentiment/data.js start line: 172 end line: 186 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 264 unit: call() file: custom-layer/custom_layer.js start line: 65 end line: 79 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 265 unit: async function predictOnManualInput() file: iris/index.js start line: 92 end line: 114 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 266 unit: async function calculateAndDrawConfusionMatrix() file: iris/index.js start line: 119 end line: 135 size: 15 LOC McCabe index: 1 number of parameters: 3 id: 267 unit: function clickMenuCallback() file: chrome-extension/src/service_worker.js start line: 35 end line: 49 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 268 unit: function createTextureFrameBuffer() file: gpu-pipeline/gl-util.js start line: 107 end line: 125 size: 15 LOC McCabe index: 2 number of parameters: 4 id: 269 unit: function createProgram() file: gpu-pipeline/gl-util.js start line: 133 end line: 152 size: 15 LOC McCabe index: 1 number of parameters: 3 id: 270 unit: export async function getIrisData() file: iris-fitDataset/data.js start line: 106 end line: 137 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 271 unit: async function predictOnManualInput() file: iris-fitDataset/index.js start line: 98 end line: 120 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 272 unit: export async function fitModel() file: lstm-text-generation/model.js start line: 73 end line: 87 size: 15 LOC McCabe index: 2 number of parameters: 7 id: 273 unit: encodeBatch() file: addition-rnn/index.js start line: 70 end line: 84 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 274 unit: constructor() file: addition-rnn/index.js start line: 240 end line: 255 size: 15 LOC McCabe index: 1 number of parameters: 5 id: 275 unit: async initAppWithTfjsModel() file: interactive-visualizers/src/app/app.component.ts start line: 335 end line: 350 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 276 unit: export function plotAccuracy() file: mnist/ui.js start line: 80 end line: 94 size: 15 LOC McCabe index: 2 number of parameters: 3 id: 277 unit: export async function shuffle() file: website-phishing/utils.js start line: 64 end line: 80 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 278 unit: encodeBatch() file: addition-rnn-webworker/worker.js start line: 62 end line: 76 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 279 unit: constructor() file: addition-rnn-webworker/worker.js start line: 233 end line: 248 size: 15 LOC McCabe index: 1 number of parameters: 5 id: 280 unit: function drawAxes() file: polynomial-regression/index.js start line: 27 end line: 41 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 281 unit: function shuffle() file: boston-housing/data.js start line: 110 end line: 126 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 282 unit: constructor() file: cart-pole/cart_pole.js start line: 43 end line: 61 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 283 unit: def load() file: iris/python/iris_data.py start line: 0 end line: 0 size: 14 LOC McCabe index: 3 number of parameters: 0 id: 284 unit: async loadModel() file: chrome-extension/src/service_worker.js start line: 78 end line: 93 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 285 unit: function endEstimateSegmentationStats() file: gpu-pipeline/ui-util.js start line: 90 end line: 104 size: 14 LOC McCabe index: 3 number of parameters: 0 id: 286 unit: async loadMetadata() file: translation/index.js start line: 48 end line: 61 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 287 unit: async function calculateAndDrawConfusionMatrix() file: iris-fitDataset/index.js start line: 125 end line: 140 size: 14 LOC McCabe index: 1 number of parameters: 3 id: 288 unit: constructor() file: addition-rnn/index.js start line: 34 end line: 47 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 289 unit: async function predict() file: webcam-transfer-learning/index.js start line: 129 end line: 153 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 290 unit: export function draw() file: webcam-transfer-learning/ui.js start line: 109 end line: 122 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 291 unit: def quantize() file: quantization/draw_quantization.py start line: 0 end line: 0 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 292 unit: async function trainCombinedModelOneStep() file: mnist-acgan/gan.js start line: 342 end line: 363 size: 14 LOC McCabe index: 1 number of parameters: 3 id: 293 unit: async function run() file: intent-classifier/training/train_intent.js start line: 30 end line: 49 size: 14 LOC McCabe index: 1 number of parameters: 5 id: 294 unit: export function updatePredictionInputs() file: data-generator/ui.js start line: 171 end line: 184 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 295 unit: constructor() file: addition-rnn-webworker/worker.js start line: 26 end line: 39 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 296 unit: pointsPerDim: parseInt() file: fashion-mnist-vae/client.js start line: 146 end line: 165 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 297 unit: async function run() file: fashion-mnist-vae/train.js start line: 146 end line: 161 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 298 unit: async function extract() file: fashion-mnist-vae/download.js start line: 59 end line: 72 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 299 unit: function decoder() file: fashion-mnist-vae/model.js start line: 124 end line: 145 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 300 unit: export function updateColumnNamesOutput() file: data-csv/ui.js start line: 49 end line: 62 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 301 unit: export function multiLayerPerceptronRegressionModel2Hidden() file: boston-housing/index.js start line: 89 end line: 103 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 302 unit: createPolicyNetwork() file: cart-pole/index.js start line: 76 end line: 92 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 303 unit: async function evaluate() file: baseball-node/pitch_type.js start line: 92 end line: 116 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 304 unit: export async function loadHostedData() file: mnist-transfer-cnn/loader.js start line: 61 end line: 74 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 305 unit: function extractEmbeddingMatrix() file: sentiment/embedding.js start line: 34 end line: 46 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 306 unit: async function evaluateModelOnTestData() file: iris/index.js start line: 145 end line: 159 size: 13 LOC McCabe index: 1 number of parameters: 3 id: 307 unit: function getWebGLRenderingContext() file: gpu-pipeline/gl-util.js start line: 18 end line: 30 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 308 unit: constructor() file: gpu-pipeline/gl-class.js start line: 70 end line: 84 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 309 unit: setUniform() file: gpu-pipeline/gl-class.js start line: 116 end line: 128 size: 13 LOC McCabe index: 5 number of parameters: 2 id: 310 unit: export function plotData() file: jena-weather/index.js start line: 56 end line: 72 size: 13 LOC McCabe index: 4 number of parameters: 0 id: 311 unit: decode() file: addition-rnn/index.js start line: 94 end line: 106 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 312 unit: async function init() file: webcam-transfer-learning/index.js start line: 180 end line: 197 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 313 unit: async function handler() file: webcam-transfer-learning/ui.js start line: 76 end line: 88 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 314 unit: onBatchEnd: async() file: mnist/index.js start line: 187 end line: 199 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 315 unit: export function plotLoss() file: mnist/ui.js start line: 65 end line: 77 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 316 unit: function setupListeners() file: intent-classifier/app/tagger.js start line: 262 end line: 277 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 317 unit: async function classify() file: intent-classifier/app/index.js start line: 51 end line: 68 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 318 unit: function run() file: intent-classifier/training/raw_to_tagged_tokens.js start line: 92 end line: 105 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 319 unit: export async function loadCsv() file: website-phishing/utils.js start line: 46 end line: 59 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 320 unit: decode() file: addition-rnn-webworker/worker.js start line: 86 end line: 98 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 321 unit: constructor() file: snake-dqn/replay_memory.js start line: 27 end line: 40 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 322 unit: function batchImages() file: fashion-mnist-vae/data.js start line: 105 end line: 119 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 323 unit: function vaeLoss() file: fashion-mnist-vae/model.js start line: 179 end line: 203 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 324 unit: function discountAndNormalizeRewards() file: cart-pole/index.js start line: 358 end line: 372 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 325 unit: async function predictSample() file: baseball-node/pitch_type.js start line: 118 end line: 130 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 326 unit: def write_gte5_data() file: mnist-transfer-cnn/python/mnist_transfer_cnn.py start line: 0 end line: 0 size: 13 LOC McCabe index: 1 number of parameters: 5 id: 327 unit: export function setPredictResults() file: mnist-transfer-cnn/ui.js start line: 106 end line: 119 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 328 unit: export async function loadHostedPretrainedModel() file: sentiment/loader.js start line: 39 end line: 53 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 329 unit: export async function loadHostedMetadata() file: sentiment/loader.js start line: 60 end line: 71 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 330 unit: async loadMetadata() file: sentiment/index.js start line: 46 end line: 58 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 331 unit: function customLayerDemo() file: custom-layer/index.js start line: 22 end line: 34 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 332 unit: void main() file: gpu-pipeline/gl-shaders.js start line: 39 end line: 50 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 333 unit: getMeanAndStddev() file: jena-weather/data.js start line: 194 end line: 206 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 334 unit: export function buildGRUModel() file: jena-weather/models.js start line: 144 end line: 157 size: 12 LOC McCabe index: 3 number of parameters: 3 id: 335 unit: export async function loadHostedPretrainedModel() file: translation/loader.js start line: 39 end line: 53 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 336 unit: export async function loadHostedMetadata() file: translation/loader.js start line: 60 end line: 71 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 337 unit: onEpochEnd: async() file: iris-fitDataset/index.js start line: 71 end line: 83 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 338 unit: async fitModel() file: lstm-text-generation/index.js start line: 87 end line: 111 size: 12 LOC McCabe index: 1 number of parameters: 4 id: 339 unit: async loadModel() file: lstm-text-generation/index.js start line: 165 end line: 176 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 340 unit: export function onTrainBatchEnd() file: lstm-text-generation/ui.js start line: 86 end line: 97 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 341 unit: constructor() file: simple-object-detection/synthetic_images.js start line: 62 end line: 79 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 342 unit: getTestData() file: mnist-acgan/web-data.js start line: 129 end line: 141 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 343 unit: export async function loadMnistData() file: mnist-acgan/web-data.js start line: 150 end line: 162 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 344 unit: async function loadTagger() file: intent-classifier/app/tagger.js start line: 48 end line: 61 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 345 unit: async function trainModelUsingFitDatasetHandler() file: data-generator/index.js start line: 181 end line: 192 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 346 unit: async function reset() file: snake-dqn/index.js start line: 42 end line: 53 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 347 unit: sample() file: snake-dqn/replay_memory.js start line: 61 end line: 73 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 348 unit: function drawXYData() file: polynomial-regression/index.js start line: 50 end line: 61 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 349 unit: function vae() file: fashion-mnist-vae/model.js start line: 155 end line: 169 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 350 unit: export function arraysToTensors() file: boston-housing/index.js start line: 35 end line: 48 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 351 unit: export function multiLayerPerceptronRegressionModel1Hidden() file: boston-housing/index.js start line: 69 end line: 81 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 352 unit: onEpochEnd: async() file: boston-housing/index.js start line: 145 end line: 157 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 353 unit: export async function loadHostedPretrainedModel() file: mnist-transfer-cnn/loader.js start line: 40 end line: 54 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 354 unit: async init() file: mnist-transfer-cnn/index.js start line: 44 end line: 59 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 355 unit: predict() file: mnist-transfer-cnn/index.js start line: 97 end line: 109 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 356 unit: function setPredictFunction() file: mnist-transfer-cnn/ui.js start line: 45 end line: 57 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 357 unit: export async function loadMetadataTemplate() file: sentiment/data.js start line: 246 end line: 258 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 358 unit: function deprocessImage() file: visualize-convnet/filters.js start line: 156 end line: 169 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 359 unit: async function doEmbedding() file: tsne-mnist-canvas/index.js start line: 41 end line: 53 size: 11 LOC McCabe index: 2 number of parameters: 6 id: 360 unit: export async function loadHostedPretrainedModel() file: iris/loader.js start line: 39 end line: 49 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 361 unit: function createStatsPanel() file: gpu-pipeline/ui-util.js start line: 54 end line: 67 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 362 unit: bindTextures() file: gpu-pipeline/gl-class.js start line: 129 end line: 142 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 363 unit: export function buildMLPModel() file: jena-weather/models.js start line: 109 end line: 119 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 364 unit: export async function loadHostedPretrainedModel() file: iris-fitDataset/loader.js start line: 39 end line: 49 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 365 unit: async function evaluateModelOnTestData() file: iris-fitDataset/index.js start line: 152 end line: 162 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 366 unit: lstmLayerSizes() file: lstm-text-generation/index.js start line: 220 end line: 230 size: 11 LOC McCabe index: 4 number of parameters: 0 id: 367 unit: encode() file: addition-rnn/index.js start line: 58 end line: 68 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 368 unit: async warmUpModel() file: interactive-visualizers/src/app/app.component.ts start line: 355 end line: 365 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 369 unit: drawCircle() file: simple-object-detection/synthetic_images.js start line: 176 end line: 187 size: 11 LOC McCabe index: 4 number of parameters: 4 id: 370 unit: drawLineSegment() file: simple-object-detection/synthetic_images.js start line: 189 end line: 200 size: 11 LOC McCabe index: 5 number of parameters: 5 id: 371 unit: function getLatentVectors() file: mnist-acgan/index.js start line: 67 end line: 77 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 372 unit: export function trainingLog() file: mnist-core/ui.js start line: 29 end line: 39 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 373 unit: export async function train() file: mnist-core/model.js start line: 78 end line: 90 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 374 unit: function setupListeners() file: intent-classifier/app/index.js start line: 134 end line: 145 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 375 unit: function gameToFeaturesAndLabel() file: data-generator/index.js start line: 56 end line: 66 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 376 unit: function createDNNModel() file: data-generator/index.js start line: 114 end line: 124 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 377 unit: encode() file: addition-rnn-webworker/worker.js start line: 50 end line: 60 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 378 unit: async function calcQValuesAndBestAction() file: snake-dqn/index.js start line: 93 end line: 103 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 379 unit: export function copyWeights() file: snake-dqn/dqn.js start line: 70 end line: 92 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 380 unit: async function learnCoefficients() file: polynomial-regression-core/index.js start line: 114 end line: 149 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 381 unit: static async loadModel() file: cart-pole/index.js start line: 278 end line: 288 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 382 unit: async function run() file: getting-started/index.js start line: 24 end line: 43 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 383 unit: function createWindow() file: electron/main.js start line: 26 end line: 37 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 384 unit: getImageSize() file: electron/image_classifier.js start line: 172 end line: 181 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 385 unit: function renderEmbedding() file: tsne-mnist-canvas/index.js start line: 56 end line: 67 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 386 unit: onEpochEnd: async() file: iris/index.js start line: 68 end line: 78 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 387 unit: prepareEncoderModel() file: translation/index.js start line: 63 end line: 74 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 388 unit: generateExampleBeginIndices_() file: lstm-text-generation/data.js start line: 224 end line: 236 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 389 unit: export async function onTextGenerationChar() file: lstm-text-generation/ui.js start line: 125 end line: 134 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 390 unit: def dequantize() file: quantization/draw_quantization.py start line: 0 end line: 0 size: 10 LOC McCabe index: 3 number of parameters: 3 id: 391 unit: await getNormalizedDatasets() file: quantization/train_housing.js start line: 80 end line: 91 size: 10 LOC McCabe index: 1 number of parameters: 7 id: 392 unit: getBaseUrlAndFilePaths() file: quantization/data_mnist.js start line: 168 end line: 177 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 393 unit: getBaseUrlAndFilePaths() file: quantization/data_mnist.js start line: 244 end line: 253 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 394 unit: async function loadMetadata() file: intent-classifier/app/tagger.js start line: 67 end line: 78 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 395 unit: async function displayTokenization() file: intent-classifier/app/tagger.js start line: 167 end line: 178 size: 10 LOC McCabe index: 1 number of parameters: 4 id: 396 unit: function flatMap() file: intent-classifier/training/util.js start line: 34 end line: 43 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 397 unit: function writeNDJson() file: intent-classifier/training/raw_to_tagged_tokens.js start line: 39 end line: 49 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 398 unit: export function assertPositiveInteger() file: snake-dqn/utils.js start line: 50 end line: 59 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 399 unit: function generateXYData() file: polynomial-regression/index.js start line: 226 end line: 235 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 400 unit: async function loadModel() file: fashion-mnist-vae/client.js start line: 39 end line: 49 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 401 unit: export function describeKernelElements() file: boston-housing/index.js start line: 113 end line: 122 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 402 unit: setRandomState() file: cart-pole/cart_pole.js start line: 66 end line: 76 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 403 unit: getGradientsAndSaveActions() file: cart-pole/index.js start line: 181 end line: 190 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 404 unit: function discountRewards() file: cart-pole/index.js start line: 332 end line: 341 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 405 unit: export async function urlExists() file: sentiment/loader.js start line: 24 end line: 32 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 406 unit: export async function urlExists() file: iris/loader.js start line: 24 end line: 32 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 407 unit: async function createModel() file: gpu-pipeline/ui-util.js start line: 69 end line: 77 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 408 unit: getUniformLocation() file: gpu-pipeline/gl-class.js start line: 57 end line: 65 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 409 unit: draw() file: gpu-pipeline/gl-class.js start line: 87 end line: 97 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 410 unit: startProcessFrame() file: gpu-pipeline/gl-class.js start line: 107 end line: 115 size: 9 LOC McCabe index: 4 number of parameters: 2 id: 411 unit: export function updateDateTimeRangeSpan() file: jena-weather/ui.js start line: 80 end line: 88 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 412 unit: export function getDataVizOptions() file: jena-weather/ui.js start line: 120 end line: 128 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 413 unit: export async function urlExists() file: translation/loader.js start line: 24 end line: 32 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 414 unit: export async function urlExists() file: iris-fitDataset/loader.js start line: 24 end line: 32 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 415 unit: getCharSet_() file: lstm-text-generation/data.js start line: 204 end line: 212 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 416 unit: onTrainEnd: async() file: lstm-text-generation/train_node.js start line: 141 end line: 149 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 417 unit: export function onTrainEpochEnd() file: lstm-text-generation/ui.js start line: 99 end line: 107 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 418 unit: function convertDataToTensors() file: addition-rnn/index.js start line: 162 end line: 170 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 419 unit: onEpochEnd: async() file: mnist/index.js start line: 200 end line: 208 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 420 unit: export function setTrainButtonCallback() file: mnist/ui.js start line: 121 end line: 129 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 421 unit: function loadHeaderValues() file: mnist-acgan/data.js start line: 66 end line: 74 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 422 unit: function generateLatentVector() file: mnist-acgan/index.js start line: 48 end line: 58 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 423 unit: async function loadNDJSON() file: intent-classifier/training/train_tagger.js start line: 33 end line: 44 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 424 unit: async function run() file: intent-classifier/training/tokens_to_embeddings.js start line: 86 end line: 96 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 425 unit: function selectCardsPerHandHandler() file: data-generator/index.js start line: 210 end line: 218 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 426 unit: constructor() file: website-phishing/data.js start line: 29 end line: 38 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 427 unit: getTrainData() file: website-phishing/data.js start line: 68 end line: 78 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 428 unit: getTestData() file: website-phishing/data.js start line: 80 end line: 90 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 429 unit: function falsePositives() file: website-phishing/index.js start line: 24 end line: 32 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 430 unit: export async function plotLosses() file: website-phishing/ui.js start line: 25 end line: 33 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 431 unit: export async function plotAccuracies() file: website-phishing/ui.js start line: 35 end line: 43 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 432 unit: static void InitializeFlipper() file: react-native/pose-detection/ios/posenet/AppDelegate.m start line: 23 end line: 31 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 433 unit: static void InitializeFlipper() file: react-native/image-classification/expo/ios/posenet/AppDelegate.m start line: 22 end line: 30 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 434 unit: static void InitializeFlipper() file: react-native/image-classification/react-native-cli/ios/reactnativecli/AppDelegate.m start line: 15 end line: 23 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 435 unit: protected List getPackages() file: react-native/image-classification/react-native-cli/android/app/src/main/java/com/reactnativecli/MainApplication.java start line: 32 end line: 49 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 436 unit: function convertDataToTensors() file: addition-rnn-webworker/worker.js start line: 154 end line: 162 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 437 unit: initializeSnake_() file: snake-dqn/snake_game.js start line: 226 end line: 252 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 438 unit: async function train() file: polynomial-regression-core/index.js start line: 92 end line: 112 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 439 unit: await plotDataAndPredictions() file: polynomial-regression-core/index.js start line: 130 end line: 142 size: 9 LOC McCabe index: 1 number of parameters: 4 id: 440 unit: function getParams() file: fashion-mnist-vae/client.js start line: 140 end line: 149 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 441 unit: call() file: fashion-mnist-vae/model.js start line: 95 end line: 107 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 442 unit: async loadData() file: boston-housing/data.js start line: 87 end line: 96 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 443 unit: export function computeBaseline() file: boston-housing/index.js start line: 175 end line: 183 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 444 unit: getLogitsAndActions() file: cart-pole/index.js start line: 204 end line: 215 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 445 unit: pushGradients() file: cart-pole/index.js start line: 237 end line: 245 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 446 unit: training: calcPitchClassEval() file: baseball-node/pitch_type.js start line: 100 end line: 109 size: 9 LOC McCabe index: 3 number of parameters: 3 id: 447 unit: function calcPitchClassEval() file: baseball-node/pitch_type.js start line: 133 end line: 143 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 448 unit: export async function urlExists() file: mnist-transfer-cnn/loader.js start line: 25 end line: 33 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 449 unit: export function prepUI() file: mnist-transfer-cnn/ui.js start line: 27 end line: 35 size: 9 LOC McCabe index: 1 number of parameters: 4 id: 450 unit: async function maybeDownloadAndExtract() file: sentiment/data.js start line: 196 end line: 204 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 451 unit: export function showMetadata() file: sentiment/ui.js start line: 30 end line: 37 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 452 unit: export function prepUI() file: sentiment/ui.js start line: 39 end line: 46 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 453 unit: function doPredict() file: sentiment/ui.js start line: 53 end line: 60 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 454 unit: nextTrainBatch() file: tsne-mnist-canvas/data.js start line: 106 end line: 113 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 455 unit: export function getManualInputData() file: iris/ui.js start line: 33 end line: 40 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 456 unit: function renderLogits() file: iris/ui.js start line: 105 end line: 112 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 457 unit: function loadHeaderValues() file: mnist-node/data.js start line: 63 end line: 70 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 458 unit: async loadData() file: mnist-node/data.js start line: 133 end line: 140 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 459 unit: async init() file: translation/index.js start line: 39 end line: 46 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 460 unit: export function setTranslationFunction() file: translation/ui.js start line: 28 end line: 35 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 461 unit: export function getManualInputData() file: iris-fitDataset/ui.js start line: 33 end line: 40 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 462 unit: function renderLogits() file: iris-fitDataset/ui.js start line: 105 end line: 112 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 463 unit: onBatchEnd: async() file: lstm-text-generation/index.js start line: 95 end line: 102 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 464 unit: function updateTextInputParameters() file: lstm-text-generation/ui.js start line: 249 end line: 256 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 465 unit: async function loadModel() file: firebase-object-detection-node/functions/index.js start line: 14 end line: 25 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 466 unit: getTrainData() file: mnist/data.js start line: 106 end line: 113 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 467 unit: call() file: date-conversion-attention/model.js start line: 37 end line: 44 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 468 unit: export function compileModel() file: quantization/model_fashion_mnist.js start line: 57 end line: 64 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 469 unit: export function compileModel() file: quantization/model_mnist.js start line: 55 end line: 62 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 470 unit: function loadHeaderValues() file: quantization/data_mnist.js start line: 80 end line: 87 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 471 unit: function makeMetadata() file: mnist-acgan/gan.js start line: 407 end line: 414 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 472 unit: getTrainData() file: mnist-acgan/web-data.js start line: 109 end line: 116 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 473 unit: async loadData() file: mnist-acgan/data.js start line: 135 end line: 142 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 474 unit: async function showGeneratorInitially() file: mnist-acgan/index.js start line: 149 end line: 160 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 475 unit: nextTrainBatch() file: mnist-core/data.js start line: 108 end line: 115 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 476 unit: async function onSendMessage() file: intent-classifier/app/index.js start line: 99 end line: 109 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 477 unit: async function simulateGameHandler() file: data-generator/index.js start line: 74 end line: 81 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 478 unit: async function parseCsv() file: website-phishing/utils.js start line: 30 end line: 37 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 479 unit: function stddev() file: website-phishing/utils.js start line: 104 end line: 111 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 480 unit: function trueNegatives() file: website-phishing/index.js start line: 34 end line: 41 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 481 unit: protected ReactActivityDelegate createReactActivityDelegate() file: react-native/pose-detection/android/app/src/main/java/com/posenet/MainActivity.java start line: 33 end line: 40 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 482 unit: public void onCreate() file: react-native/pose-detection/android/app/src/main/java/com/posenet/MainApplication.java start line: 87 end line: 96 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 483 unit: protected ReactActivityDelegate createReactActivityDelegate() file: react-native/image-classification/expo/android/app/src/main/java/com/posenet/MainActivity.java start line: 33 end line: 40 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 484 unit: public void onCreate() file: react-native/image-classification/expo/android/app/src/main/java/com/posenet/MainApplication.java start line: 87 end line: 96 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 485 unit: function stddev() file: polynomial-regression/index.js start line: 85 end line: 92 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 486 unit: function predict() file: polynomial-regression-core/index.js start line: 63 end line: 71 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 487 unit: function generateLatentSpace() file: fashion-mnist-vae/client.js start line: 63 end line: 71 size: 8 LOC McCabe index: 2 number of parameters: 4 id: 488 unit: function decodeZ() file: fashion-mnist-vae/client.js start line: 82 end line: 89 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 489 unit: function draw() file: fashion-mnist-vae/client.js start line: 154 end line: 162 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 490 unit: function loadHeaderValues() file: fashion-mnist-vae/data.js start line: 45 end line: 52 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 491 unit: export function determineMeanAndStddev() file: boston-housing/normalization.js start line: 27 end line: 35 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 492 unit: function plotSteps() file: cart-pole/ui.js start line: 104 end line: 111 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 493 unit: async loadRetrainData() file: mnist-transfer-cnn/index.js start line: 61 end line: 68 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 494 unit: onTrainEnd: async() file: mnist-transfer-cnn/ui.js start line: 80 end line: 88 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 495 unit: def get_imdb_data() file: sentiment/python/imdb.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 496 unit: function limitStringToLength() file: electron/renderer.js start line: 163 end line: 169 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 497 unit: function isNode() file: electron/image_classifier.js start line: 247 end line: 253 size: 7 LOC McCabe index: 4 number of parameters: 0 id: 498 unit: nextTestBatch() file: tsne-mnist-canvas/data.js start line: 115 end line: 121 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 499 unit: async function initVisualization() file: tsne-mnist-canvas/index.js start line: 69 end line: 76 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 500 unit: constructor() file: mnist-node/data.js start line: 124 end line: 130 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 501 unit: export function buildSimpleRNNModel() file: jena-weather/models.js start line: 128 end line: 134 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 502 unit: async function decodeSequence() file: translation/translation.ts start line: 294 end line: 300 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 503 unit: textToIndices() file: lstm-text-generation/data.js start line: 168 end line: 174 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 504 unit: constructor() file: lstm-text-generation/index.js start line: 142 end line: 148 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 505 unit: async saveModel() file: lstm-text-generation/index.js start line: 183 end line: 189 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 506 unit: async removeModel() file: lstm-text-generation/index.js start line: 194 end line: 200 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 507 unit: function hashCode() file: lstm-text-generation/ui.js start line: 258 end line: 264 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 508 unit: export function sample() file: lstm-text-generation/model.js start line: 157 end line: 165 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 509 unit: async function getImage() file: webcam-transfer-learning/index.js start line: 159 end line: 165 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 510 unit: function buildNewHead() file: simple-object-detection/train.js start line: 110 end line: 121 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 511 unit: async function buildObjectDetectionModel() file: simple-object-detection/train.js start line: 130 end line: 139 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 512 unit: drawRectangle() file: simple-object-detection/synthetic_images.js start line: 217 end line: 224 size: 7 LOC McCabe index: 1 number of parameters: 5 id: 513 unit: function createDenseModel() file: mnist/index.js start line: 99 end line: 105 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 514 unit: def main() file: quantization/save_mobilenetv2.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 515 unit: constructor() file: quantization/data_mnist.js start line: 160 end line: 166 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 516 unit: nextTestBatch() file: mnist-core/data.js start line: 117 end line: 123 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 517 unit: async function test() file: mnist-core/index.js start line: 33 end line: 40 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 518 unit: export function predict() file: mnist-core/model.js start line: 93 end line: 99 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 519 unit: function displayTokens() file: intent-classifier/app/tagger.js start line: 186 end line: 192 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 520 unit: async function onSendMessage() file: intent-classifier/app/tagger.js start line: 254 end line: 260 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 521 unit: async function loadMetadata() file: intent-classifier/app/index.js start line: 43 end line: 49 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 522 unit: export function randomHand() file: data-generator/game.js start line: 62 end line: 68 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 523 unit: export function generateOnePlay() file: data-generator/game.js start line: 141 end line: 147 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 524 unit: function predictHandler() file: data-generator/index.js start line: 198 end line: 204 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 525 unit: export function getInputCards() file: data-generator/ui.js start line: 57 end line: 63 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 526 unit: function featuresAndLabelsToPrettyString() file: data-generator/ui.js start line: 88 end line: 94 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 527 unit: function mean() file: website-phishing/utils.js start line: 89 end line: 95 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 528 unit: function falsePositiveRate() file: website-phishing/index.js start line: 44 end line: 50 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 529 unit: export function getRandomIntegers() file: snake-dqn/utils.js start line: 41 end line: 47 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 530 unit: function mean() file: polynomial-regression/index.js start line: 70 end line: 76 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 531 unit: await plotData() file: polynomial-regression-core/index.js start line: 120 end line: 128 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 532 unit: async function saveDecoder() file: fashion-mnist-vae/train.js start line: 138 end line: 144 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 533 unit: constructor() file: cart-pole/index.js start line: 61 end line: 67 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 534 unit: hiddenLayerSizes() file: cart-pole/index.js start line: 315 end line: 321 size: 7 LOC McCabe index: 3 number of parameters: 0 id: 535 unit: export function onGameEnd() file: cart-pole/ui.js start line: 81 end line: 87 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 536 unit: function plotScoreBar() file: baseball-node/client.js start line: 97 end line: 103 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 537 unit: export function indexToOneHot() file: mnist-transfer-cnn/util.js start line: 75 end line: 81 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 538 unit: def write_mnist_examples_to_json_file() file: mnist-transfer-cnn/python/mnist_transfer_cnn.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 539 unit: function setRetrainFunction() file: mnist-transfer-cnn/ui.js start line: 59 end line: 65 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 540 unit: export function getProgressBarCallbackConfig() file: mnist-transfer-cnn/ui.js start line: 67 end line: 97 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 541 unit: onTrainBegin: async() file: mnist-transfer-cnn/ui.js start line: 73 end line: 79 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 542 unit: async init() file: sentiment/index.js start line: 39 end line: 44 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 543 unit: export function clearEvaluateTable() file: iris/ui.js start line: 23 end line: 28 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 544 unit: export function loadTrainParametersFromUI() file: iris/ui.js start line: 202 end line: 207 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 545 unit: function removeTextElements() file: chrome-extension/src/content.js start line: 78 end line: 83 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 546 unit: async function setupPage() file: gpu-pipeline/ui-util.js start line: 79 end line: 84 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 547 unit: constructor() file: gpu-pipeline/gl-class.js start line: 20 end line: 25 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 548 unit: process() file: gpu-pipeline/gl-class.js start line: 155 end line: 160 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 549 unit: await trainModel() file: jena-weather/index.js start line: 179 end line: 184 size: 6 LOC McCabe index: 1 number of parameters: 14 id: 550 unit: function buildLinearRegressionModel() file: jena-weather/models.js start line: 90 end line: 95 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 551 unit: export function clearEvaluateTable() file: iris-fitDataset/ui.js start line: 23 end line: 28 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 552 unit: export function loadTrainParametersFromUI() file: iris-fitDataset/ui.js start line: 202 end line: 207 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 553 unit: getRandomSlice() file: lstm-text-generation/data.js start line: 182 end line: 187 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 554 unit: constructor() file: lstm-text-generation/index.js start line: 50 end line: 55 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 555 unit: async generateText() file: lstm-text-generation/index.js start line: 123 end line: 128 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 556 unit: function disableModelButtons() file: lstm-text-generation/ui.js start line: 158 end line: 163 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 557 unit: function enableModelButtons() file: lstm-text-generation/ui.js start line: 165 end line: 170 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 558 unit: export function compileModel() file: lstm-text-generation/model.js start line: 52 end line: 57 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 559 unit: async function loadTruncatedMobileNet() file: webcam-transfer-learning/index.js start line: 39 end line: 46 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 560 unit: export function drawThumb() file: webcam-transfer-learning/ui.js start line: 102 end line: 107 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 561 unit: function generateRandomColorStyle() file: simple-object-detection/synthetic_images.js start line: 34 end line: 39 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 562 unit: export function dateTupleToMMSlashDDSlashYY() file: date-conversion-attention/date_format.js start line: 97 end line: 102 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 563 unit: export function dateTupleToMMDDYY() file: date-conversion-attention/date_format.js start line: 111 end line: 116 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 564 unit: export function dateTupleToMMMSpaceDDSpaceYY() file: date-conversion-attention/date_format.js start line: 119 end line: 124 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 565 unit: export function dateTupleToMMMSpaceDDCommaSpaceYY() file: date-conversion-attention/date_format.js start line: 134 end line: 139 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 566 unit: export function compileModel() file: quantization/model_housing.js start line: 50 end line: 55 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 567 unit: async function loadUSE() file: intent-classifier/app/tagger.js start line: 30 end line: 35 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 568 unit: async function loadUSE() file: intent-classifier/app/index.js start line: 27 end line: 32 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 569 unit: async function loadIntentClassifer() file: intent-classifier/app/index.js start line: 35 end line: 40 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 570 unit: async function datasetToArray() file: data-generator/index.js start line: 87 end line: 92 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 571 unit: module.exports = function() file: react-native/pose-detection/babel.config.js start line: 1 end line: 6 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 572 unit: module.exports = function() file: react-native/image-classification/expo/babel.config.js start line: 1 end line: 6 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 573 unit: getTransformOptions: async() file: react-native/image-classification/react-native-cli/metro.config.js start line: 7 end line: 12 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 574 unit: constructor() file: snake-dqn/train.js start line: 32 end line: 37 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 575 unit: await train() file: snake-dqn/train.js start line: 260 end line: 266 size: 6 LOC McCabe index: 2 number of parameters: 9 id: 576 unit: reset() file: snake-dqn/snake_game.js start line: 96 end line: 101 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 577 unit: getState() file: snake-dqn/snake_game.js start line: 319 end line: 324 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 578 unit: async function generate() file: fashion-mnist-vae/train.js start line: 130 end line: 136 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 579 unit: constructor() file: boston-housing/data.js start line: 70 end line: 76 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 580 unit: get numFeatures() file: boston-housing/data.js start line: 78 end line: 84 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 581 unit: export function linearRegressionModel() file: boston-housing/index.js start line: 55 end line: 61 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 582 unit: export async function maybeRenderDuringTraining() file: cart-pole/ui.js start line: 66 end line: 71 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 583 unit: function plotPredictResult() file: baseball-node/client.js start line: 105 end line: 110 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 584 unit: function normalize() file: baseball-node/utils.js start line: 19 end line: 24 size: 6 LOC McCabe index: 3 number of parameters: 3 id: 585 unit: onEpochEnd: async() file: mnist-transfer-cnn/ui.js start line: 89 end line: 94 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 586 unit: export function setPredictError() file: mnist-transfer-cnn/ui.js start line: 99 end line: 104 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 587 unit: def get_word_index() file: sentiment/python/imdb.py start line: 0 end line: 0 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 588 unit: function setReviewText() file: sentiment/ui.js start line: 62 end line: 66 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 589 unit: function showSnackbar() file: electron/renderer.js start line: 121 end line: 125 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 590 unit: function showProgress() file: electron/renderer.js start line: 237 end line: 241 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 591 unit: await doEmbedding() file: tsne-mnist-canvas/index.js start line: 113 end line: 120 size: 5 LOC McCabe index: 1 number of parameters: 6 id: 592 unit: function getImageElementsWithSrcUrl() file: chrome-extension/src/content.js start line: 66 end line: 70 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 593 unit: function clickHandler() file: chrome-extension/src/content.js start line: 160 end line: 164 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 594 unit: function loadImageAndSendDataBack() file: chrome-extension/src/content.js start line: 166 end line: 200 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 595 unit: img.onerror = function() file: chrome-extension/src/content.js start line: 171 end line: 175 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 596 unit: constructor() file: gpu-pipeline/gl-class.js start line: 47 end line: 51 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 597 unit: constructor() file: gpu-pipeline/gl-class.js start line: 102 end line: 106 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 598 unit: finalizeProcessFrame() file: gpu-pipeline/gl-class.js start line: 143 end line: 147 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 599 unit: export function updateScatterCheckbox() file: jena-weather/ui.js start line: 90 end line: 94 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 600 unit: translate() file: translation/index.js start line: 177 end line: 181 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 601 unit: export function onTrainBegin() file: lstm-text-generation/ui.js start line: 71 end line: 75 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 602 unit: function customLossFunction() file: simple-object-detection/train.js start line: 57 end line: 64 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 603 unit: export function dateTupleToDDMMMYYYY() file: date-conversion-attention/date_format.js start line: 78 end line: 82 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 604 unit: export function dateTupleToMMSlashDDSlashYYYY() file: date-conversion-attention/date_format.js start line: 85 end line: 89 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 605 unit: export function dateTupleToMMMSpaceDDSpaceYYYY() file: date-conversion-attention/date_format.js start line: 127 end line: 131 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 606 unit: export function dateTupleToMMMSpaceDDCommaSpaceYYYY() file: date-conversion-attention/date_format.js start line: 142 end line: 146 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 607 unit: export function dateTupleToDDDashMMDashYYYY() file: date-conversion-attention/date_format.js start line: 149 end line: 153 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 608 unit: export function dateTupleToDDDotMMDotYYYY() file: date-conversion-attention/date_format.js start line: 161 end line: 165 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 609 unit: export function dateTupleToYYYYDotMMDotDD() file: date-conversion-attention/date_format.js start line: 173 end line: 177 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 610 unit: export function dateTupleToYYYYMMDD() file: date-conversion-attention/date_format.js start line: 185 end line: 189 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 611 unit: export function dateTupleToYYYYDashMMDashDD() file: date-conversion-attention/date_format.js start line: 206 end line: 210 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 612 unit: computeOutputShape() file: date-conversion-attention/model.js start line: 31 end line: 35 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 613 unit: constructor() file: mnist-acgan/data.js start line: 128 end line: 132 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 614 unit: async function drawReals() file: mnist-acgan/index.js start line: 113 end line: 117 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 615 unit: async function mnist() file: mnist-core/index.js start line: 42 end line: 46 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 616 unit: async function datasetToArrayHandler() file: data-generator/index.js start line: 103 end line: 107 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 617 unit: export function displayExpectedSimulations() file: data-generator/ui.js start line: 76 end line: 80 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 618 unit: int main() file: react-native/pose-detection/ios/posenet/main.m start line: 5 end line: 9 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 619 unit: protected List getPackages() file: react-native/pose-detection/android/app/src/main/java/com/posenet/MainApplication.java start line: 46 end line: 50 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 620 unit: int main() file: react-native/image-classification/expo/ios/posenet/main.m start line: 5 end line: 9 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 621 unit: protected List getPackages() file: react-native/image-classification/expo/android/app/src/main/java/com/posenet/MainApplication.java start line: 46 end line: 50 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 622 unit: int main() file: react-native/image-classification/react-native-cli/ios/reactnativecli/main.m start line: 5 end line: 9 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 623 unit: public void onCreate() file: react-native/image-classification/react-native-cli/android/app/src/main/java/com/reactnativecli/MainApplication.java start line: 63 end line: 67 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 624 unit: reset() file: snake-dqn/agent.js start line: 69 end line: 73 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 625 unit: function enableGameButtons() file: snake-dqn/index.js start line: 113 end line: 117 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 626 unit: append() file: snake-dqn/replay_memory.js start line: 47 end line: 51 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 627 unit: export function renderCoefficients() file: polynomial-regression-core/ui.js start line: 79 end line: 83 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 628 unit: end: parseFloat() file: fashion-mnist-vae/client.js start line: 147 end line: 165 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 629 unit: function setupListeners() file: fashion-mnist-vae/client.js start line: 164 end line: 168 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 630 unit: mkdirp() file: fashion-mnist-vae/download.js start line: 34 end line: 38 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 631 unit: computeOutputShape() file: fashion-mnist-vae/model.js start line: 80 end line: 84 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 632 unit: function disableModelControls() file: cart-pole/ui.js start line: 113 end line: 117 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 633 unit: function enableModelControls() file: cart-pole/ui.js start line: 119 end line: 123 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 634 unit: export function status() file: mnist-transfer-cnn/ui.js start line: 21 end line: 25 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 635 unit: export function status() file: sentiment/ui.js start line: 25 end line: 28 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 636 unit: export function getReviewText() file: sentiment/ui.js start line: 48 end line: 51 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 637 unit: function setPredictFunction() file: sentiment/ui.js start line: 68 end line: 71 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 638 unit: export function disableLoadModelButtons() file: sentiment/ui.js start line: 73 end line: 76 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 639 unit: constructor() file: custom-layer/custom_layer.js start line: 35 end line: 39 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 640 unit: function getTargetWords() file: electron/renderer.js start line: 77 end line: 80 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 641 unit: function updateClearSearchResultsButtonStatus() file: electron/renderer.js start line: 220 end line: 223 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 642 unit: function hideProgress() file: electron/renderer.js start line: 244 end line: 247 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 643 unit: getFileSystemCacheDirectory_() file: electron/image_classifier.js start line: 183 end line: 186 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 644 unit: constructor() file: tsne-mnist-canvas/data.js start line: 39 end line: 42 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 645 unit: async function loadData() file: tsne-mnist-canvas/index.js start line: 35 end line: 38 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 646 unit: def _to_one_hot() file: iris/python/iris_data.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 647 unit: export function setManualInputWinnerMessage() file: iris/ui.js start line: 78 end line: 81 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 648 unit: export function renderLogitsForManualInput() file: iris/ui.js start line: 114 end line: 117 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 649 unit: export function status() file: iris/ui.js start line: 209 end line: 212 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 650 unit: get imageUrl() file: angular-predictive-prefetching/client/src/app/merch-display/merch-card/merch-card.component.ts start line: 13 end line: 16 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 651 unit: void main() file: gpu-pipeline/gl-shaders.js start line: 25 end line: 28 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 652 unit: constructor() file: gpu-pipeline/gl-class.js start line: 34 end line: 37 size: 4 LOC McCabe index: 1 number of parameters: 5 id: 653 unit: bindFramebuffer() file: gpu-pipeline/gl-class.js start line: 39 end line: 42 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 654 unit: export function status() file: translation/ui.js start line: 18 end line: 21 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 655 unit: export function setEnglish() file: translation/ui.js start line: 23 end line: 26 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 656 unit: export function disableLoadModelButtons() file: translation/ui.js start line: 37 end line: 40 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 657 unit: export function setManualInputWinnerMessage() file: iris-fitDataset/ui.js start line: 78 end line: 81 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 658 unit: export function renderLogitsForManualInput() file: iris-fitDataset/ui.js start line: 114 end line: 117 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 659 unit: export function status() file: iris-fitDataset/ui.js start line: 209 end line: 212 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 660 unit: await fitModel() file: lstm-text-generation/train_node.js start line: 134 end line: 150 size: 4 LOC McCabe index: 1 number of parameters: 7 id: 661 unit: onTrainBegin: async() file: lstm-text-generation/train_node.js start line: 137 end line: 140 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 662 unit: createModel() file: lstm-text-generation/index.js start line: 63 end line: 66 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 663 unit: async checkStoredModelStatus() file: lstm-text-generation/index.js start line: 208 end line: 211 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 664 unit: export function onTextGenerationBegin() file: lstm-text-generation/ui.js start line: 115 end line: 118 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 665 unit: export function init() file: webcam-transfer-learning/ui.js start line: 22 end line: 25 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 666 unit: export function predictClass() file: webcam-transfer-learning/ui.js start line: 47 end line: 50 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 667 unit: async fetchModel() file: interactive-visualizers/src/app/app.component.ts start line: 307 end line: 310 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 668 unit: export function trainingLog() file: mnist/ui.js start line: 28 end line: 31 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 669 unit: function integerToTwoDigitString() file: date-conversion-attention/index.js start line: 97 end line: 100 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 670 unit: export function generateRandomDateTuple() file: date-conversion-attention/date_format.js start line: 68 end line: 71 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 671 unit: export function dateTupleToMSlashDSlashYY() file: date-conversion-attention/date_format.js start line: 105 end line: 108 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 672 unit: export function dateTupleToDSpaceMMMSpaceYYYY() file: date-conversion-attention/date_format.js start line: 197 end line: 200 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 673 unit: constructor() file: date-conversion-attention/model.js start line: 26 end line: 29 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 674 unit: await getNormalizedDatasets() file: quantization/eval_housing.js start line: 59 end line: 63 size: 4 LOC McCabe index: 1 number of parameters: 7 id: 675 unit: constructor() file: mnist-core/data.js start line: 41 end line: 44 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 676 unit: async function load() file: mnist-core/index.js start line: 23 end line: 26 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 677 unit: async function train() file: mnist-core/index.js start line: 28 end line: 31 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 678 unit: async function loadModels() file: intent-classifier/app/tagger.js start line: 83 end line: 86 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 679 unit: function writeCSV() file: intent-classifier/training/raw_to_csv.js start line: 49 end line: 52 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 680 unit: export function getRandomDigit() file: data-generator/game.js start line: 52 end line: 55 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 681 unit: export function enableTrainButton() file: data-generator/ui.js start line: 186 end line: 189 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 682 unit: export function disableTrainButton() file: data-generator/ui.js start line: 191 end line: 194 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 683 unit: protected void onCreate() file: react-native/pose-detection/android/app/src/main/java/com/posenet/MainActivity.java start line: 15 end line: 20 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 684 unit: protected void onCreate() file: react-native/image-classification/expo/android/app/src/main/java/com/posenet/MainActivity.java start line: 15 end line: 20 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 685 unit: append() file: snake-dqn/train.js start line: 39 end line: 42 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 686 unit: function invalidateQValuesAndBestAction() file: snake-dqn/index.js start line: 105 end line: 108 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 687 unit: function loss() file: polynomial-regression-core/index.js start line: 80 end line: 84 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 688 unit: export function updateModelStatus() file: boston-housing/ui.js start line: 30 end line: 33 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 689 unit: static async checkStoredModelStatus() file: cart-pole/index.js start line: 296 end line: 299 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 690 unit: function onIterationEnd() file: cart-pole/ui.js start line: 97 end line: 100 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 691 unit: export function disableLoadModelButtons() file: mnist-transfer-cnn/ui.js start line: 121 end line: 124 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 692 unit: def indices_to_words() file: sentiment/python/imdb.py start line: 0 end line: 0 size: 3 LOC McCabe index: 3 number of parameters: 2 id: 693 unit: computeOutputShape() file: custom-layer/custom_layer.js start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 694 unit: static get className() file: custom-layer/custom_layer.js start line: 85 end line: 87 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 695 unit: export function antirectifier() file: custom-layer/custom_layer.js start line: 91 end line: 93 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 696 unit: function normalizePath() file: visualize-convnet/index.js start line: 29 end line: 31 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 697 unit: constructor() file: electron/image_classifier.js start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 698 unit: function getUserHomeDirectory() file: electron/image_classifier.js start line: 256 end line: 260 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 699 unit: export async function saveModelLocally() file: iris/loader.js start line: 55 end line: 57 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 700 unit: export async function loadModelLocally() file: iris/loader.js start line: 59 end line: 61 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 701 unit: export async function removeModelLocally() file: iris/loader.js start line: 63 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 702 unit: constructor() file: chrome-extension/src/service_worker.js start line: 71 end line: 73 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 703 unit: getTrainData() file: mnist-node/data.js start line: 142 end line: 144 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 704 unit: getTestData() file: mnist-node/data.js start line: 146 end line: 148 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 705 unit: function createTexture() file: gpu-pipeline/gl-util.js start line: 128 end line: 130 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 706 unit: function isiOS() file: gpu-pipeline/ui-util.js start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 707 unit: function isAndroid() file: gpu-pipeline/ui-util.js start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 708 unit: function isMobile() file: gpu-pipeline/ui-util.js start line: 26 end line: 28 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 709 unit: function beginEstimateSegmentationStats() file: gpu-pipeline/ui-util.js start line: 86 end line: 88 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 710 unit: bindTexture() file: gpu-pipeline/gl-class.js start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 711 unit: useProgram() file: gpu-pipeline/gl-class.js start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 712 unit: constructor() file: gpu-pipeline/gl-class.js start line: 152 end line: 154 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 713 unit: getDataColumnNames() file: jena-weather/data.js start line: 185 end line: 187 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 714 unit: getTime() file: jena-weather/data.js start line: 189 end line: 191 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 715 unit: export function logStatus() file: jena-weather/ui.js start line: 30 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 716 unit: export function flatOneHot() file: iris-fitDataset/data.js start line: 84 end line: 91 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 717 unit: export async function saveModelLocally() file: iris-fitDataset/loader.js start line: 55 end line: 57 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 718 unit: export async function loadModelLocally() file: iris-fitDataset/loader.js start line: 59 end line: 61 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 719 unit: export async function removeModelLocally() file: iris-fitDataset/loader.js start line: 63 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 720 unit: dataIdentifier() file: lstm-text-generation/data.js start line: 92 end line: 94 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 721 unit: textLen() file: lstm-text-generation/data.js start line: 101 end line: 103 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 722 unit: sampleLen() file: lstm-text-generation/data.js start line: 108 end line: 110 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 723 unit: charSetSize() file: lstm-text-generation/data.js start line: 118 end line: 120 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 724 unit: getFromCharSet() file: lstm-text-generation/data.js start line: 158 end line: 160 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 725 unit: slice_() file: lstm-text-generation/data.js start line: 197 end line: 199 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 726 unit: convertAllTextToIndices_() file: lstm-text-generation/data.js start line: 217 end line: 219 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 727 unit: compileModel() file: lstm-text-generation/index.js start line: 73 end line: 75 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 728 unit: onEpochEnd: async() file: lstm-text-generation/index.js start line: 103 end line: 105 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 729 unit: modelIdentifier() file: lstm-text-generation/index.js start line: 155 end line: 157 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 730 unit: function logStatus() file: lstm-text-generation/ui.js start line: 61 end line: 63 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 731 unit: function disableModelParameterControls() file: lstm-text-generation/ui.js start line: 237 end line: 239 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 732 unit: function enableModelParameterControls() file: lstm-text-generation/ui.js start line: 241 end line: 243 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 733 unit: function updateModelParameterControls() file: lstm-text-generation/ui.js start line: 245 end line: 247 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 734 unit: onBatchEnd: async() file: webcam-transfer-learning/index.js start line: 120 end line: 122 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 735 unit: constructor() file: webcam-transfer-learning/controller_dataset.js start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 736 unit: export function startPacman() file: webcam-transfer-learning/ui.js start line: 43 end line: 45 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 737 unit: export function isPredicting() file: webcam-transfer-learning/ui.js start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 738 unit: export function donePredicting() file: webcam-transfer-learning/ui.js start line: 55 end line: 57 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 739 unit: export function trainStatus() file: webcam-transfer-learning/ui.js start line: 58 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 740 unit: export function setExampleHandler() file: webcam-transfer-learning/ui.js start line: 63 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 741 unit: export function logStatus() file: mnist/ui.js start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 742 unit: export function getModelTypeId() file: mnist/ui.js start line: 113 end line: 115 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 743 unit: export function getTrainEpochs() file: mnist/ui.js start line: 117 end line: 119 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 744 unit: function toTwoDigitString() file: date-conversion-attention/date_format.js start line: 73 end line: 75 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 745 unit: export function dateTupleToMSlashDSlashYYYY() file: date-conversion-attention/date_format.js start line: 92 end line: 94 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 746 unit: export function dateTupleToDDashMDashYYYY() file: date-conversion-attention/date_format.js start line: 156 end line: 158 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 747 unit: export function dateTupleToDDotMDotYYYY() file: date-conversion-attention/date_format.js start line: 168 end line: 170 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 748 unit: export function dateTupleToYYYYDotMDotD() file: date-conversion-attention/date_format.js start line: 180 end line: 182 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 749 unit: export function dateTupleToYYYYDashMDashD() file: date-conversion-attention/date_format.js start line: 192 end line: 194 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 750 unit: static get className() file: date-conversion-attention/model.js start line: 46 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 751 unit: getTrainData() file: quantization/data_mnist.js start line: 198 end line: 200 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 752 unit: getTestData() file: quantization/data_mnist.js start line: 202 end line: 204 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 753 unit: getTrainData() file: mnist-acgan/data.js start line: 144 end line: 146 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 754 unit: getTestData() file: mnist-acgan/data.js start line: 148 end line: 150 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 755 unit: export function isTraining() file: mnist-core/ui.js start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 756 unit: function loss() file: mnist-core/model.js start line: 46 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 757 unit: function tokenizeSentence() file: intent-classifier/app/tagger.js start line: 95 end line: 97 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 758 unit: async function warmup() file: intent-classifier/app/tagger.js start line: 286 end line: 288 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 759 unit: function warmup() file: intent-classifier/app/index.js start line: 147 end line: 149 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 760 unit: function tokenizeSentence() file: intent-classifier/training/util.js start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 761 unit: function loadCSV() file: intent-classifier/training/util.js start line: 26 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 762 unit: function loadJSON() file: intent-classifier/training/util.js start line: 30 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 763 unit: function unique() file: intent-classifier/training/util.js start line: 62 end line: 64 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 764 unit: export function getBatchSize() file: data-generator/ui.js start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 765 unit: export function getTake() file: data-generator/ui.js start line: 45 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 766 unit: export function getBatchesPerEpoch() file: data-generator/ui.js start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 767 unit: export function getEpochsToTrain() file: data-generator/ui.js start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 768 unit: export function displayNumSimulationsSoFar() file: data-generator/ui.js start line: 66 end line: 68 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 769 unit: export function displayTrainLogMessage() file: data-generator/ui.js start line: 71 end line: 73 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 770 unit: export function displayPrediction() file: data-generator/ui.js start line: 83 end line: 85 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 771 unit: export function enableStopButton() file: data-generator/ui.js start line: 196 end line: 198 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 772 unit: export function disableStopButton() file: data-generator/ui.js start line: 200 end line: 202 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 773 unit: export function enablePredictButton() file: data-generator/ui.js start line: 204 end line: 206 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 774 unit: export function disablePredictButton() file: data-generator/ui.js start line: 208 end line: 210 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 775 unit: get numFeatures() file: website-phishing/data.js start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 776 unit: export function updateStatus() file: website-phishing/ui.js start line: 21 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 777 unit: protected String getMainComponentName() file: react-native/pose-detection/android/app/src/main/java/com/posenet/MainActivity.java start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 778 unit: public boolean getUseDeveloperSupport() file: react-native/pose-detection/android/app/src/main/java/com/posenet/MainApplication.java start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 779 unit: protected String getJSMainModuleName() file: react-native/pose-detection/android/app/src/main/java/com/posenet/MainApplication.java start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 780 unit: protected JSIModulePackage getJSIModulePackage() file: react-native/pose-detection/android/app/src/main/java/com/posenet/MainApplication.java start line: 58 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 781 unit: public ReactNativeHost getReactNativeHost() file: react-native/pose-detection/android/app/src/main/java/com/posenet/MainApplication.java start line: 82 end line: 84 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 782 unit: protected String getMainComponentName() file: react-native/image-classification/expo/android/app/src/main/java/com/posenet/MainActivity.java start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 783 unit: public boolean getUseDeveloperSupport() file: react-native/image-classification/expo/android/app/src/main/java/com/posenet/MainApplication.java start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 784 unit: protected String getJSMainModuleName() file: react-native/image-classification/expo/android/app/src/main/java/com/posenet/MainApplication.java start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 785 unit: protected JSIModulePackage getJSIModulePackage() file: react-native/image-classification/expo/android/app/src/main/java/com/posenet/MainApplication.java start line: 58 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 786 unit: public ReactNativeHost getReactNativeHost() file: react-native/image-classification/expo/android/app/src/main/java/com/posenet/MainApplication.java start line: 82 end line: 84 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 787 unit: protected String getMainComponentName() file: react-native/image-classification/react-native-cli/android/app/src/main/java/com/reactnativecli/MainActivity.java start line: 12 end line: 14 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 788 unit: public boolean getUseDeveloperSupport() file: react-native/image-classification/react-native-cli/android/app/src/main/java/com/reactnativecli/MainApplication.java start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 789 unit: protected String getJSMainModuleName() file: react-native/image-classification/react-native-cli/android/app/src/main/java/com/reactnativecli/MainApplication.java start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 790 unit: public ReactNativeHost getReactNativeHost() file: react-native/image-classification/react-native-cli/android/app/src/main/java/com/reactnativecli/MainApplication.java start line: 58 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 791 unit: average() file: snake-dqn/train.js start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 792 unit: export function getRandomInteger() file: snake-dqn/utils.js start line: 27 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 793 unit: export function getRandomAction() file: snake-dqn/snake_game.js start line: 45 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 794 unit: get snakeDirection() file: snake-dqn/snake_game.js start line: 222 end line: 224 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 795 unit: get height() file: snake-dqn/snake_game.js start line: 300 end line: 302 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 796 unit: get width() file: snake-dqn/snake_game.js start line: 304 end line: 306 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 797 unit: function world2canvas() file: polynomial-regression/index.js start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 798 unit: function normalizeVector() file: polynomial-regression/index.js start line: 95 end line: 97 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 799 unit: constructor() file: fashion-mnist-vae/model.js start line: 76 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 800 unit: static get className() file: fashion-mnist-vae/model.js start line: 109 end line: 111 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 801 unit: export function updateStatus() file: data-csv/ui.js start line: 30 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 802 unit: export function updateRowCountOutput() file: data-csv/ui.js start line: 35 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 803 unit: export function updateColumnNamesMessage() file: data-csv/ui.js start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 804 unit: export function updateSampleRowMessage() file: data-csv/ui.js start line: 65 end line: 67 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 805 unit: export function getSampleIndex() file: data-csv/ui.js start line: 98 end line: 100 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 806 unit: export function normalizeTensor() file: boston-housing/normalization.js start line: 48 end line: 50 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 807 unit: export function updateStatus() file: boston-housing/ui.js start line: 21 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 808 unit: export function updateBaselineStatus() file: boston-housing/ui.js start line: 26 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 809 unit: export function mean() file: cart-pole/utils.js start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 810 unit: getStateTensor() file: cart-pole/cart_pole.js start line: 81 end line: 83 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 811 unit: getCurrentActions() file: cart-pole/index.js start line: 192 end line: 194 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 812 unit: getActions() file: cart-pole/index.js start line: 224 end line: 226 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 813 unit: constructor() file: cart-pole/index.js start line: 260 end line: 262 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 814 unit: async saveModel() file: cart-pole/index.js start line: 267 end line: 269 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 815 unit: async removeModel() file: cart-pole/index.js start line: 304 end line: 306 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 816 unit: function logStatus() file: cart-pole/ui.js start line: 60 end line: 62 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 817 unit: onEpochEnd: async() file: baseball-node/train_strike_zone.js start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 818 unit: onEpochEnd: async() file: baseball-node/train_pitch_type.js start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 819 unit: export function getImageInput() file: mnist-transfer-cnn/ui.js start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 820 unit: export function getEpochs() file: mnist-transfer-cnn/ui.js start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 821 unit: def main() file: iris/python/iris.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0