MCPcopy Create free account

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

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

↓ 1 callersMethodupdate
()
examples/p5js/NeuralNetwork/NeuroEvolution_Path/particle.js:56
↓ 1 callersFunctionupdatePackageVersion
(fpath)
scripts/updatePackageVersion.js:21
↓ 1 callersFunctionwalk
()
examples/p5js/DCGAN/DCGAN_LatentVector_RandomWalk/sketch.js:32
↓ 1 callersMethodzipArrays
(arr1, arr2)
src/NeuralNetwork/NeuralNetworkUtils.js:72
FunctionCVAE
(model, callback)
src/CVAE/index.js:118
FunctionCocoSsd
(videoOr, optionsOr, cb)
src/ObjectDetector/CocoSsd/index.js:132
FunctionDCGAN
(modelPath, optionsOrCb, cb)
src/DCGAN/index.js:153
FunctionKNNClassifier
()
src/KNNClassifier/index.js:234
FunctionYOLO
(videoOr, optionsOr, cb)
src/ObjectDetector/YOLO/index.js:239
FunctionaddData
()
examples/p5js/NeuralNetwork/NeuralNetwork_musical_mouse/sketch.js:30
FunctionaddData
()
examples/p5js/NeuralNetwork/NeuralNetwork_xy_classifier/sketch.js:25
FunctionaddData
()
examples/p5js/NeuralNetwork/NeuralNetwork_ImageClassifier_Video/sketch.js:53
MethodaddData
* Add Data * @param {object} xInputObj, {key: value}, key must be the name of the property value must be a String, Number, or Array * @param {*}
src/NeuralNetwork/NeuralNetworkData.js:252
FunctionaddExample
()
examples/p5js/NeuralNetwork/NeuralNetwork_pose_classifier/sketch.js:95
FunctionaddExample
()
examples/p5js/NeuralNetwork/NeuralNetwork_lowres_pixels/sketch.js:82
MethodaddLayer
* add layer to the model * if the model has 2 or more layers switch the isLayered flag * @param {*} _layerOptions
src/NeuralNetwork/NeuralNetwork.js:61
MethodapplyForce
(force)
examples/p5js/NeuralNetwork/NeuroEvolution_Path/particle.js:36
Methodbarchart
* creates a barchart from 1 input label and 1 output label * @param {*} inputLabel * @param {*} outputLabel * @param {*} data
src/NeuralNetwork/NeuralNetworkVis.js:86
Functioncartoon
(optionsOr, cb)
src/CartoonGAN/index.js:119
Methodcell
(DATA, C, H)
src/CharRNN/index.js:122
Functionchanging
()
examples/p5js/CharRNN/CharRNN_Interactive/sketch.js:59
FunctioncheckGenerate
()
examples/p5js/CharRNN/CharRNN_Interactive/sketch.js:50
Methodclassify
(topk = this.allLabels.length, cb)
src/SoundClassifier/speechcommands.js:25
Methodclassify
(inputOrCallback, cb)
src/FeatureExtractor/Mobilenet.js:344
Methodclassify
* classify is the same as .predict() * @param {*} _inputs
src/NeuralNetwork/NeuralNetwork.js:162
Methodclassify
(img, topk = 10)
src/ImageClassifier/doodlenet.js:58
Methodclassify
* Classify an new input. It returns an object with a top classIndex and label, confidences mapping all class indices to their confidence, and confiden
src/KNNClassifier/index.js:59
FunctionclassifyCanvas
()
examples/p5js/ImageClassification/ImageClassification_DoodleNet_Canvas/sketch.js:58
MethodclassifyMultiple
* classifyMultiple * @param {*} _input * @param {*} _cb
src/NeuralNetwork/index.js:850
MethodclassifySync
* classify is the same as .predict() * @param {*} _inputs
src/NeuralNetwork/NeuralNetwork.js:170
FunctionclearAllLabels
()
examples/p5js/KNNClassification/KNNClassification_PoseNet/sketch.js:147
FunctionclearAllLabels
()
examples/p5js/KNNClassification/KNNClassification_VideoSquare/sketch.js:174
FunctionclearAllLabels
()
examples/p5js/KNNClassification/KNNClassification_VideoSound/sketch.js:122
FunctionclearAllLabels
()
examples/p5js/KNNClassification/KNNClassification_Video/sketch.js:163
FunctionclearAllLabels
()
examples/javascript/KNNClassification/KNNClassification_PoseNet/sketch.js:159
FunctionclearAllLabels
()
examples/javascript/KNNClassification/KNNClassification_VideoSquare/sketch.js:182
FunctionclearAllLabels
()
examples/javascript/KNNClassification/KNNClassification_VideoSound/sketch.js:152
FunctionclearAllLabels
()
examples/javascript/KNNClassification/KNNClassification_Video/sketch.js:171
FunctionclearCanvas
()
examples/p5js/ImageClassification/ImageClassification_DoodleNet_Canvas/sketch.js:43
FunctionclearCanvas
()
examples/javascript/ImageClassification/ImageClassification_DoodleNet_Canvas/sketch.js:61
FunctionclearDrawing
()
examples/p5js/SketchRNN/SketchRNN_interactive/sketch.js:48
FunctionclearDrawing
()
examples/javascript/SketchRNN/SketchRNN_interactive/sketch.js:62
FunctionclearLabel
(classLabel)
examples/p5js/KNNClassification/KNNClassification_VideoSquare/sketch.js:168
FunctionclearLabel
(classLabel)
examples/javascript/KNNClassification/KNNClassification_VideoSquare/sketch.js:176
Functioncluster
()
examples/p5js/KMeans/KMeans_mouseClustering/sketch.js:48
FunctionclustersCalculated
()
examples/p5js/KMeans/KMeans_mouseClustering/sketch.js:57
FunctioncollectData
()
examples/p5js/NeuralNetwork/NeuralNetwork_musical_face/sketch.js:108
Methodcompile
* Compile the model * if the model is compiled, set the isCompiled flag to true * @param {*} _modelOptions
src/NeuralNetwork/NeuralNetwork.js:76
Methodconstructor
(options)
src/SoundClassifier/speechcommands.js:10
Methodconstructor
* Create an SoundClassifier. * @param {modelNameOrUrl} modelNameOrUrl - The name or the URL of the model to use. Current name options * are:
src/SoundClassifier/index.js:23
Methodconstructor
* Create UNET class. * @param {HTMLVideoElement | HTMLImageElement} video - The video or image to be used for segmentation. * @param {Object} o
src/UNET/index.js:31
Methodconstructor
* Create a CharRNN. * @param {String} modelPath - The path to the trained charRNN model. * @param {function} callback - Optional. A callback to
src/CharRNN/index.js:30
Methodconstructor
* Create Sentiment model. Currently the supported model name is 'moviereviews'. ml5 may support different models in the future. * @param {String} m
src/Sentiment/index.js:47
Methodconstructor
(options, callback)
src/FeatureExtractor/Mobilenet.js:51
Methodconstructor
* @param {string} urlPath - the directory URL
src/utils/checkpointLoader.js:28
Methodconstructor
()
src/utils/p5Utils.js:7
Methodconstructor
* @param {HTMLVideoElement | p5.Video | null | undefined} [video] - Can pass a video * into the constructor of the model in order to run the model
src/utils/Video.js:21
Methodconstructor
* @param {string} urlPath
src/utils/checkpointLoaderPix2pix.js:14
Methodconstructor
(options, callback)
src/UniversalSentenceEncoder/index.js:10
Methodconstructor
* Create FaceApi. * @param {HTMLVideoElement} video - An HTMLVideoElement. * @param {object} options - An object with options. * @param {func
src/FaceApi/index.js:46
Methodconstructor
* Create Handpose. * @param {HTMLVideoElement} [video] - An HTMLVideoElement. * @param {object} [options] - An object with options. * @param
src/Handpose/index.js:23
Methodconstructor
* Create SketchRNN. * @param {String} model - The name of the sketch model to be loaded. * The names can be found in the models.js file *
src/SketchRNN/index.js:39
Methodconstructor
()
src/NeuralNetwork/NeuralNetworkVis.js:6
Methodconstructor
(options, cb)
src/NeuralNetwork/index.js:23
Methodconstructor
()
src/NeuralNetwork/NeuralNetworkData.js:7
Methodconstructor
()
src/NeuralNetwork/NeuralNetwork.js:8
Methodconstructor
(options)
src/NeuralNetwork/NeuralNetworkUtils.js:2
Methodconstructor
* Create a PoseNet model. * @param {HTMLVideoElement || p5.Video} video - Optional. A HTML video element or a p5 video element. * @param {optio
src/PoseNet/index.js:57
Methodconstructor
* Create a Pix2pix model. * @param {model} model - The path for a valid model. * @param {function} callback - Optional. A function to run once
src/Pix2pix/index.js:26
Methodconstructor
(version)
src/ImageClassifier/darknet.js:52
Methodconstructor
* Create an ImageClassifier. * @param {string} modelNameOrUrl - The name or the URL of the model to use. Current model name options * are: 'm
src/ImageClassifier/index.js:38
Methodconstructor
()
src/ImageClassifier/doodlenet.js:45
Methodconstructor
* Create a pitchDetection. * @param {Object} model - The path to the trained model. Only CREPE is available for now. Case insensitive. * @param
src/PitchDetection/index.js:23
Methodconstructor
* Create a CartoonGan model. * @param {String} modelIdentifier - Required. The name of pre-inluded model or the url path to your model. * @p
src/CartoonGAN/index.js:34
Methodconstructor
* Create Facemesh. * @param {HTMLVideoElement} [video] - An HTMLVideoElement. * @param {object} [options] - An object with options. * @param
src/Facemesh/index.js:23
Methodconstructor
* Create BodyPix. * @param {HTMLVideoElement} video - An HTMLVideoElement. * @param {{ * multiplier: Number; * outputStride: Num
src/BodyPix/index.js:42
Methodconstructor
* Create ObjectDetector model. Works on video and images. * @param {string} modelNameOrUrl - The name or the URL of the model to use. Current model
src/ObjectDetector/index.js:27
Methodconstructor
* Create YOLO model. Works on video and images. * @param {HTMLVideoElement|HTMLImageElement|HTMLCanvasElement|ImageData} video - Optional. The vid
src/ObjectDetector/YOLO/index.js:55
Methodconstructor
* Create CocoSsd model. Works on video and images. * @param {function} constructorCallback - Optional. A callback function that is called once the
src/ObjectDetector/CocoSsd/index.js:26
Methodconstructor
* Create a new Style Transfer Instance。 * @param {model} model - The path to Style Transfer model. * @param {HTMLVideoElement || p5.Video} video
src/StyleTransfer/index.js:37
Methodconstructor
* Create a KNNClassifier instance.
src/KNNClassifier/index.js:21
Methodconstructor
* Create an DCGAN. * @param {modelName} modelName - The name of the model to use. * @param {function} readyCb - A callback to be called when
src/DCGAN/index.js:31
Methodconstructor
* Create a K-Means. * @param {String || array || object} dataset - The dataset to cluster. * @param {options} options - An object describing a m
src/KMeans/index.js:64
Methodconstructor
* Create a DBSCAN. * @param {String || array || object} dataset - The dataset to cluster. in x, y format => [{x:1,y:2}] * @param {options} optio
src/DBSCAN/index.js:59
Methodconstructor
* Create a Conditional Variational Autoencoder (CVAE). * @param {String} modelPath - Required. The url path to your model. * @param {function} c
src/CVAE/index.js:23
Methodconstructor
()
examples/p5js/NeuralNetwork/NeuroEvolution_FlappyBird/pipe.js:7
Methodconstructor
(brain)
examples/p5js/NeuralNetwork/NeuroEvolution_FlappyBird/bird.js:7
Methodconstructor
(total)
examples/p5js/NeuralNetwork/NeuroEvolution_Path/population.js:8
Methodconstructor
(brain)
examples/p5js/NeuralNetwork/NeuroEvolution_Path/particle.js:6
Methodconstructor
()
examples/javascript/ImageClassification/ImageClassification_VideoSound/sketch.js:19
Methodconstructor
()
examples/javascript/ImageClassification/ImageClassification_VideoScavengerHunt/sketch.js:24
Methodconstructor
()
examples/javascript/KNNClassification/KNNClassification_VideoSound/sketch.js:23
FunctioncreateRGBPalette
()
examples/p5js/BodyPix/BodyPix_Webcam_Parts/sketch.js:78
FunctioncreateSimplePalette
()
examples/p5js/BodyPix/BodyPix_Webcam_Parts/sketch.js:56
Methodcrossover
* create a new neural network with crossover * @param {*} other
src/NeuralNetwork/NeuralNetwork.js:321
FunctioncustomMutate
(val)
examples/p5js/NeuralNetwork/NeuroEvolution_testing/sketch.js:19
FunctiondeleteProject
* Delete a project
scripts/batch-update-p5webeditor.js:282
FunctiondisplayImage
(err, result)
examples/p5js/DCGAN/DCGAN_LatentVector_Slider/sketch.js:51
FunctiondisplayImage
(err, result)
examples/p5js/DCGAN/DCGAN_Random/sketch.js:35
FunctiondisplayImage
(err, result)
examples/p5js/DCGAN/DCGAN_LatentVector_RandomWalk/sketch.js:43
← previousnext →601–700 of 1,175, ranked by callers