MCPcopy Create free account

hub / github.com/ml5js/ml5-library / functions

Functions1,175 in github.com/ml5js/ml5-library

↓ 2 callersMethodrecenterCentroids
* Recenter each centroid.
src/KMeans/index.js:149
↓ 2 callersMethodregression
* Use the features of MobileNet as a regressor. * @param {HTMLVideoElement || p5.Video} video - Optional. * An HTML video element or a p5.js
src/FeatureExtractor/Mobilenet.js:159
↓ 2 callersMethodresizeResults
* Resize results to size of input image * @param {*} str
src/FaceApi/index.js:382
↓ 2 callersFunctionsampleFromDistribution
(input)
src/utils/sample.js:9
↓ 2 callersMethodsegment
* Segments the image with personSegmentation * @param {HTMLVideoElement | HTMLImageElement | HTMLCanvasElement | object | function | number} opti
src/BodyPix/index.js:388
↓ 2 callersMethodsetOptimizerFunction
* Set the optimizer function given the learning rate * as a parameter * @param {*} learningRate * @param {*} optimizer
src/NeuralNetwork/NeuralNetwork.js:87
↓ 2 callersMethodsetReturnOptions
* Sets the return options for .detect() or .detectSingle() in case any are given * @param {Object} faceApiOptions
src/FaceApi/index.js:363
↓ 2 callersMethodskeleton
(keypoints, confidence = this.minConfidence)
src/PoseNet/index.js:118
↓ 2 callersMethodspeak
(_phrase)
examples/javascript/ImageClassification/ImageClassification_VideoScavengerHunt/sketch.js:32
↓ 2 callersFunctionstartDrawing
()
examples/p5js/SketchRNN/SketchRNN_basic/sketch.js:44
↓ 2 callersFunctionstartDrawing
()
examples/javascript/SketchRNN/SketchRNN_basic/sketch.js:52
↓ 2 callersMethodtrainInternal
* train * @param {*} _options * @param {*} _cb
src/NeuralNetwork/index.js:511
↓ 2 callersFunctiontrainModel
()
examples/p5js/NeuralNetwork/NeuralNetwork_basics/sketch.js:63
↓ 2 callersFunctiontransfer
(pix2pix)
examples/p5js/Pix2Pix/Pix2Pix_promise/sketch.js:77
↓ 2 callersFunctiontransfer
(pix2pix)
examples/javascript/Pix2Pix/Pix2Pix_promise/sketch.js:110
↓ 2 callersFunctionupdateCounts
()
examples/p5js/KNNClassification/KNNClassification_VideoSound/sketch.js:114
↓ 2 callersFunctionupdateCounts
()
examples/javascript/KNNClassification/KNNClassification_VideoSound/sketch.js:144
↓ 2 callersFunctionupdateFileVersion
(inputFilePath, regex, newUrl)
scripts/updateDocVersions.js:26
↓ 1 callersFunctionaddData
()
examples/p5js/NeuralNetwork/NeuralNetwork_ImageClassifier_Colors/sketch.js:46
↓ 1 callersFunctionaddData
()
examples/p5js/NeuralNetwork/NeuralNetwork_Simple_AorB/sketch.js:31
↓ 1 callersFunctionaddData
()
examples/p5js/NeuralNetwork/NeuralNetwork_multiple_layers/sketch.js:49
↓ 1 callersMethodaddImageInternal
(imgToAdd, label)
src/FeatureExtractor/Mobilenet.js:232
↓ 1 callersFunctionappendImages
()
examples/p5js/ImageClassification/ImageClassification_MultipleImages/sketch.js:31
↓ 1 callersFunctionappendImages
(arr)
examples/javascript/ImageClassification/ImageClassification_MultipleImages/sketch.js:40
↓ 1 callersMethodapplyOneHotEncodingsToDataRaw
* applyOneHotEncodingsToDataRaw * does not set this.data.raws * but rather returns them * @param {*} _dataRaw * @param {*} _meta
src/NeuralNetwork/NeuralNetworkData.js:461
↓ 1 callersMethodbodyPartsSpec
(colorOptions)
src/BodyPix/index.js:97
↓ 1 callersFunctionbodyPix
(videoOrOptionsOrCallback, optionsOrCallback, cb)
src/BodyPix/index.js:440
↓ 1 callersFunctionboxIOU
(a, b)
src/ObjectDetector/YOLO/postprocess.js:33
↓ 1 callersFunctionboxUnion
(a, b)
src/ObjectDetector/YOLO/postprocess.js:28
↓ 1 callersFunctionboxesToCorners
(boxXY, boxWH)
src/ObjectDetector/YOLO/postprocess.js:80
↓ 1 callersMethodcalcFitness
()
examples/p5js/NeuralNetwork/NeuroEvolution_Path/particle.js:30
↓ 1 callersFunctioncalculateFitness
()
examples/p5js/NeuralNetwork/NeuroEvolution_FlappyBird/ga.js:49
↓ 1 callersMethodcalculateFitness
()
examples/p5js/NeuralNetwork/NeuroEvolution_Path/population.js:51
↓ 1 callersFunctioncharRNN
(modelPath = "./", callback)
src/CharRNN/index.js:312
↓ 1 callersFunctioncheckVersionGiven
()
scripts/updatePackageVersion.js:14
↓ 1 callersFunctionclassify
()
examples/p5js/FeatureExtractor/FeatureExtractor_Image_Classification/sketch.js:47
↓ 1 callersFunctionclassify
()
examples/p5js/NeuralNetwork/NeuralNetwork_titanic/sketch.js:37
↓ 1 callersFunctionclassify
()
examples/p5js/KNNClassification/KNNClassification_PoseNet/sketch.js:59
↓ 1 callersFunctionclassify
()
examples/p5js/KNNClassification/KNNClassification_VideoSquare/sketch.js:63
↓ 1 callersFunctionclassify
()
examples/p5js/KNNClassification/KNNClassification_VideoSound/sketch.js:49
↓ 1 callersFunctionclassify
()
examples/p5js/KNNClassification/KNNClassification_Video/sketch.js:46
↓ 1 callersFunctionclassify
()
examples/javascript/KNNClassification/KNNClassification_PoseNet/sketch.js:67
↓ 1 callersFunctionclassify
()
examples/javascript/KNNClassification/KNNClassification_VideoSquare/sketch.js:71
↓ 1 callersFunctionclassify
()
examples/javascript/KNNClassification/KNNClassification_VideoSound/sketch.js:79
↓ 1 callersFunctionclassify
()
examples/javascript/KNNClassification/KNNClassification_Video/sketch.js:54
↓ 1 callersMethodclassify
* Classifies the audio from microphone and takes a callback to handle the results * @param {function | number} numOrCallback - * takes any of
src/SoundClassifier/index.js:67
↓ 1 callersFunctionclassifyCanvas
()
examples/javascript/ImageClassification/ImageClassification_DoodleNet_Canvas/sketch.js:118
↓ 1 callersMethodclassifyInternal
(numberOfClasses, callback)
src/SoundClassifier/index.js:52
↓ 1 callersMethodclassifyInternal
(imgToPredict)
src/FeatureExtractor/Mobilenet.js:375
↓ 1 callersMethodclassifyInternal
* Classifies the given input and returns an object with labels and confidence * @param {HTMLImageElement | HTMLCanvasElement | HTMLVideoElement} im
src/ImageClassifier/index.js:133
↓ 1 callersMethodclassifyInternal
(input, k)
src/KNNClassifier/index.js:79
↓ 1 callersMethodclassifySyncInternal
* synchronous classify internal * @param {*} _input * @param {*} _cb
src/NeuralNetwork/index.js:979
↓ 1 callersFunctionclearCanvas
()
examples/p5js/Pix2Pix/Pix2Pix_callback/sketch.js:85
↓ 1 callersFunctionclearCanvas
()
examples/p5js/Pix2Pix/Pix2Pix_promise/sketch.js:73
↓ 1 callersFunctionclearCanvas
()
examples/javascript/SketchRNN/SketchRNN_basic/sketch.js:96
↓ 1 callersFunctionclearCanvas
()
examples/javascript/SketchRNN/SketchRNN_interactive/sketch.js:149
↓ 1 callersFunctionclearCanvas
()
examples/javascript/PitchDetection/PitchDetection_Game/sketch.js:141
↓ 1 callersFunctionclearCanvas
()
examples/javascript/Pix2Pix/Pix2Pix_callback/sketch.js:126
↓ 1 callersFunctionclearCanvas
()
examples/javascript/Pix2Pix/Pix2Pix_promise/sketch.js:105
↓ 1 callersMethodcompute
* Computes what will become the image tensor * @param {number} latentDim - the number of latent dimensions to pass through * @param {object}
src/DCGAN/index.js:78
↓ 1 callersMethodconvertRawToTensors
(dataRaw)
src/NeuralNetwork/NeuralNetworkData.js:272
↓ 1 callersMethodconvertTrainingDataToTensors
* convertTrainingDataToTensors * @param {*} _trainingData * @param {*} _meta
src/NeuralNetwork/index.js:372
↓ 1 callersFunctioncreateButtons
()
examples/p5js/KNNClassification/KNNClassification_PoseNet/sketch.js:75
↓ 1 callersFunctioncreateButtons
()
examples/p5js/KNNClassification/KNNClassification_VideoSquare/sketch.js:78
↓ 1 callersFunctioncreateButtons
()
examples/p5js/KNNClassification/KNNClassification_VideoSound/sketch.js:65
↓ 1 callersFunctioncreateButtons
()
examples/p5js/KNNClassification/KNNClassification_Video/sketch.js:69
↓ 1 callersFunctioncreateButtons
()
examples/d3/KMeans/KMeans_GaussianClusterDemo/sketch.js:23
↓ 1 callersFunctioncreateButtons
()
examples/d3/DBSCAN/DBSCAN_Cluster/sketch.js:23
↓ 1 callersFunctioncreateButtons
()
examples/javascript/KNNClassification/KNNClassification_PoseNet/sketch.js:83
↓ 1 callersFunctioncreateButtons
()
examples/javascript/KNNClassification/KNNClassification_VideoSquare/sketch.js:86
↓ 1 callersFunctioncreateButtons
()
examples/javascript/KNNClassification/KNNClassification_VideoSound/sketch.js:95
↓ 1 callersFunctioncreateButtons
()
examples/javascript/KNNClassification/KNNClassification_Video/sketch.js:77
↓ 1 callersFunctioncreateCanvas
(w, h)
examples/javascript/FaceApi/FaceApi_Video_Landmarks/sketch.js:127
↓ 1 callersFunctioncreateCanvas
(w, h)
examples/javascript/FaceApi/FaceApi_Image_Landmarks/sketch.js:140
↓ 1 callersFunctioncreateCanvas
(w, h)
examples/javascript/FaceApi/FaceApi_Video_Landmarks_LocalModels/sketch.js:130
↓ 1 callersFunctioncreateCanvas
(w, h)
examples/javascript/SketchRNN/SketchRNN_basic/sketch.js:101
↓ 1 callersFunctioncreateCanvas
(w, h)
examples/javascript/SketchRNN/SketchRNN_interactive/sketch.js:141
↓ 1 callersFunctioncreateCanvas
(w, h)
examples/javascript/PitchDetection/PitchDetection_Game/sketch.js:146
↓ 1 callersFunctioncreateCanvas
(w, h)
examples/javascript/YOLO/YOLO_single_image/sketch.js:75
↓ 1 callersFunctioncreateCanvas
(w, h)
examples/javascript/BodyPix/BodyPix_Webcam/sketch.js:83
↓ 1 callersFunctioncreateCanvas
(w, h)
examples/javascript/BodyPix/BodyPix_Webcam_Parts/sketch.js:80
↓ 1 callersFunctioncreateCanvas
(w, h)
examples/javascript/BodyPix/BodyPix_Image/sketch.js:50
↓ 1 callersFunctioncreateCanvas
(w, h)
examples/javascript/ObjectDetector/COCOSSD_webcam/sketch.js:92
↓ 1 callersFunctioncreateCanvas
(w, h)
examples/javascript/ObjectDetector/YOLO_webcam/sketch.js:90
↓ 1 callersFunctioncreateCanvas
(w, h)
examples/javascript/ObjectDetector/COCOSSD_single_image/sketch.js:75
↓ 1 callersFunctioncreateCanvas
(w, h)
examples/javascript/ObjectDetector/YOLO_single_image/sketch.js:75
↓ 1 callersFunctioncreateCanvas
(w, h)
examples/javascript/StyleTransfer/StyleTransfer_Video/sketch.js:100
↓ 1 callersFunctioncreateCanvas
(w, h)
examples/javascript/Pix2Pix/Pix2Pix_callback/sketch.js:161
↓ 1 callersFunctioncreateCanvas
(w, h)
examples/javascript/Pix2Pix/Pix2Pix_promise/sketch.js:128
↓ 1 callersFunctioncreateCanvas
(w, h)
examples/javascript/CVAE/CVAE_QuickDraw/sketch.js:71
↓ 1 callersFunctioncreateHSBPalette
()
examples/p5js/BodyPix/BodyPix_Webcam_Parts/sketch.js:66
↓ 1 callersMethodcreateLayersNoTraining
* createLayersNoTraining
src/NeuralNetwork/index.js:127
↓ 1 callersMethodcreateModel
* creates a sequential model * uses switch/case for potential future where different formats are supported * @param {*} _type
src/NeuralNetwork/NeuralNetwork.js:45
↓ 1 callersMethodcreateOneHotEncodings
(_uniqueValuesArray)
src/NeuralNetwork/NeuralNetworkData.js:549
↓ 1 callersFunctioncreateProject
* Create a new project
scripts/batch-update-p5webeditor.js:295
↓ 1 callersFunctioncreateTrainingData
()
examples/p5js/NeuralNetwork/NeuralNetwork_Simple_Regression/sketch.js:57
↓ 1 callersFunctioncreateTrainingData
()
examples/p5js/NeuralNetwork/NeuralNetwork_Simple_Classification/sketch.js:46
↓ 1 callersFunctioncropImage
(img)
src/utils/imageUtilities.js:57
↓ 1 callersMethodcsvToJSON
(csv)
src/NeuralNetwork/NeuralNetworkData.js:906
↓ 1 callersFunctiondbscan
(dataset, options, callback)
src/DBSCAN/index.js:178
← previousnext →201–300 of 1,175, ranked by callers