Skip to content

Commit c7e77cc

Browse files
authored
[docs] Fixes p5 editor URLs (#654)
* adds stable named urls to docs * fixes styletransfer training url * fix order of examples
1 parent acb76be commit c7e77cc

20 files changed

+75
-54
lines changed

docs/reference/bodypix.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,10 @@ bodyPix.segmentWithParts(?input, ?options, callback)
234234
* [BodyPix_p5Instance](https://github.com/ml5js/ml5-examples/tree/development/p5js/BodyPix/BodyPix_p5Instance)
235235
236236
**p5 web editor**
237-
* none yet
237+
* [BodyPix_Image](https://editor.p5js.org/ml5/sketches/BodyPix_Image)
238+
* [BodyPix_Webcam](https://editor.p5js.org/ml5/sketches/BodyPix_Webcam)
239+
* [BodyPix_Webcam_Parts](https://editor.p5js.org/ml5/sketches/BodyPix_Webcam_Parts)
240+
* [BodyPix_p5Instance](https://editor.p5js.org/ml5/sketches/BodyPix_p5Instance)
238241
239242
**plain javascript**
240243
* [BodyPix_Image](https://github.com/ml5js/ml5-examples/tree/development/javascript/BodyPix/BodyPix_Image)

docs/reference/charrnn.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,9 @@ charrnn.reset()
159159
160160
**p5 web editor**
161161
162-
* [CharRNN_Interactive](https://editor.p5js.org/ml5/sketches/u7FVGffzX)
163-
* [CharRNN_Text](https://editor.p5js.org/ml5/sketches/fAzNrafbpa)
164-
* [CharRNN_Text_Stateful](https://editor.p5js.org/ml5/sketches/AmPtRcgoX7)
162+
* [CharRNN_Interactive](https://editor.p5js.org/ml5/sketches/CharRNN_Interactive)
163+
* [CharRNN_Text](https://editor.p5js.org/ml5/sketches/CharRNN_Text)
164+
* [CharRNN_Text_Stateful](https://editor.p5js.org/ml5/sketches/CharRNN_Text_Stateful)
165165
166166
**plain javascript**
167167
* [CharRNN_Interactive](https://github.com/ml5js/ml5-examples/tree/development/javascript/CharRNN/CharRNN_Interactive)

docs/reference/cvae.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ cvae.generate(label, callback);
8888
* [CVAE_QuickDraw](https://github.com/ml5js/ml5-examples/tree/development/p5js/CVAE/CVAE_QuickDraw)
8989
9090
**p5 web editor**
91-
* [CVAE_QuickDraw]()
91+
* [CVAE_QuickDraw](https://editor.p5js.org/ml5/sketches/CVAE_QuickDraw)
9292
9393
**plain javascript**
9494
* [CVAE_QuickDraw](https://github.com/ml5js/ml5-examples/tree/development/javascript/CVAE/CVAE_QuickDraw)

docs/reference/dcgan.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -101,24 +101,26 @@ dcgan.generate(callback, ?latentVector);
101101
102102
## Examples
103103
104-
**plain javascript**
105-
* [DCGAN_LatentVector](https://github.com/ml5js/ml5-examples/tree/development/javascript/DCGAN/DCGAN_LatentVector)
106-
* [DCGAN_LatentVector_RandomWalk](https://github.com/ml5js/ml5-examples/tree/development/javascript/DCGAN/DCGAN_LatentVector_RandomWalk)
107-
* [DCGAN_LatentVector_Slider](https://github.com/ml5js/ml5-examples/tree/development/javascript/DCGAN/DCGAN_LatentVector_Slider)
108-
* [DCGAN_Random](https://github.com/ml5js/ml5-examples/tree/development/javascript/DCGAN/DCGAN_Random)
109-
110-
111104
**p5.js**
112105
* [DCGAN_LatentVector](https://github.com/ml5js/ml5-examples/tree/development/p5js/DCGAN/DCGAN_LatentVector)
113106
* [DCGAN_LatentVector_RandomWalk](https://github.com/ml5js/ml5-examples/tree/development/p5js/DCGAN/DCGAN_LatentVector_RandomWalk)
114107
* [DCGAN_LatentVector_Slider](https://github.com/ml5js/ml5-examples/tree/development/p5js/DCGAN/DCGAN_LatentVector_Slider)
115108
* [DCGAN_Random](https://github.com/ml5js/ml5-examples/tree/development/p5js/DCGAN/DCGAN_Random)
116109
117110
**p5 web editor**
118-
* [DCGAN_LatentVector]()
119-
* [DCGAN_LatentVector_RandomWalk]()
120-
* [DCGAN_LatentVector_Slider]()
121-
* [DCGAN_Random]()
111+
* [DCGAN_LatentVector](https://editor.p5js.org/ml5/sketches/DCGAN_LatentVector)
112+
* [DCGAN_LatentVector_RandomWalk](https://editor.p5js.org/ml5/sketches/DCGAN_LatentVector_RandomWalk)
113+
* [DCGAN_LatentVector_Slider](https://editor.p5js.org/ml5/sketches/DCGAN_LatentVector_Slider)
114+
* [DCGAN_Random](https://editor.p5js.org/ml5/sketches/DCGAN_Random)
115+
116+
117+
**plain javascript**
118+
* [DCGAN_LatentVector](https://github.com/ml5js/ml5-examples/tree/development/javascript/DCGAN/DCGAN_LatentVector)
119+
* [DCGAN_LatentVector_RandomWalk](https://github.com/ml5js/ml5-examples/tree/development/javascript/DCGAN/DCGAN_LatentVector_RandomWalk)
120+
* [DCGAN_LatentVector_Slider](https://github.com/ml5js/ml5-examples/tree/development/javascript/DCGAN/DCGAN_LatentVector_Slider)
121+
* [DCGAN_Random](https://github.com/ml5js/ml5-examples/tree/development/javascript/DCGAN/DCGAN_Random)
122+
123+
122124
123125
## Demo
124126

docs/reference/face-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ faceapi.detectSingle(optionsOrCallback, configOrCallback, cb)
147147
* [FaceApi_Video_Landmarks_LocalModels](https://github.com/ml5js/ml5-examples/tree/development/p5js/FaceApi/FaceApi_Video_Landmarks_LocalModels)
148148
149149
**p5 web editor**
150-
* [FaceApi_Image_Landmarks]() - coming soon
151-
* [FaceApi_Video_Landmarks]() - coming soon
150+
* [FaceApi_Image_Landmarks](https://editor.p5js.org/ml5/sketches/FaceApi_Image_Landmarks)
151+
* [FaceApi_Video_Landmarks](https://editor.p5js.org/ml5/sketches/FaceApi_Video_Landmarks)
152152
153153
**plain javascript**
154154
* [FaceApi_Image_Landmarks](https://github.com/ml5js/ml5-examples/tree/development/javascript/FaceApi/FaceApi_Image_Landmarks/)

docs/reference/feature-extractor.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,9 @@ featureExtractor.predict(input, ?callback)
225225
* [FeatureExtractor_Image_Classification](https://github.com/ml5js/ml5-examples/tree/development/p5js/FeatureExtractor/FeatureExtractor_Image_Classification)
226226
227227
**p5 web editor**
228-
* [FeatureExtractor_Image_Classification](https://editor.p5js.org/ml5/sketches/4AWAKkeZBx)
229-
* [FeatureExtractor_Image_Regression](https://editor.p5js.org/ml5/sketches/AAA54W1ajd)
228+
* [FeatureExtractor_Image_Regression](https://editor.p5js.org/ml5/sketches/FeatureExtractor_Image_Classification)
229+
* [FeatureExtractor_Image_Classification](https://editor.p5js.org/ml5/sketches/FeatureExtractor_Image_Regression)
230+
230231
231232
**plain javascript**
232233
* [FeatureExtractor_Image_Regression](https://github.com/ml5js/ml5-examples/tree/development/javascript/FeatureExtractor/FeatureExtractor_Image_Regression)

docs/reference/image-classifier.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -137,14 +137,15 @@ classifier.classify(?numberOfClasses ,?callback)
137137
138138
**p5.js Web Editor**
139139
140-
* [ImageClassification](https://editor.p5js.org/ml5/sketches/DUxe1Z0DXG)
141-
* [ImageClassification_DoodleNet_Canvas]() - coming soon
142-
* [ImageClassification_DoodleNet_Video]() - coming soon
143-
* [ImageClassification_MultipleImages](https://editor.p5js.org/ml5/sketches/f3rqIqNey5)
144-
* [ImageClassification_Teachable-Machine]() - coming soon
145-
* [ImageClassification_Video](https://editor.p5js.org/ml5/sketches/IlF1JFvWjc)
146-
* [ImageClassification_VideoScavengerHunt](https://editor.p5js.org/ml5/sketches/APzpeXOuEQ)
147-
* [ImageClassification_VideoSound](https://editor.p5js.org/ml5/sketches/Ry7EL4JvA3)
140+
* [ImageClassification](https://editor.p5js.org/ml5/sketches/ImageClassification)
141+
* [ImageClassification_DoodleNet_Canvas](https://editor.p5js.org/ml5/sketches/ImageClassification_DoodleNet_Canvas)
142+
* [ImageClassification_DoodleNet_Video](https://editor.p5js.org/ml5/sketches/ImageClassification_DoodleNet_Video)
143+
* [ImageClassification_MultipleImages](https://editor.p5js.org/ml5/sketches/ImageClassification_MultipleImages)
144+
* [ImageClassification_Teachable-Machine](https://editor.p5js.org/ml5/sketches/ImageClassification_Teachable-Machine)
145+
* [ImageClassification_Video](https://editor.p5js.org/ml5/sketches/ImageClassification_Video)
146+
* [ImageClassification_VideoScavengerHunt](https://editor.p5js.org/ml5/sketches/ImageClassification_VideoScavengerHunt)
147+
* [ImageClassification_VideoSound](https://editor.p5js.org/ml5/sketches/ImageClassification_VideoSound)
148+
* [ImageClassification_VideoSoundTranslate](https://editor.p5js.org/ml5/sketches/ImageClassification_VideoSoundTranslate)
148149
149150
**plain javascript**
150151
* [ImageClassification](https://github.com/ml5js/ml5-examples/tree/development/javascript/ImageClassification/ImageClassification)

docs/reference/kmeans.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ const kmeans = ml5.kmeans(data, ?options, ?callback);
9393
* [KMeans_imageSegmentation](https://github.com/ml5js/ml5-examples/tree/development/p5js/KMeans/KMeans_imageSegmentation/)
9494
9595
**p5 web editor**
96-
* coming soon
96+
* [KMeans_imageSegmentation](https://editor.p5js.org/ml5/sketches/KMeans_imageSegmentation/)
9797
9898
**plain javascript**
9999
* coming soon

docs/reference/knn-classifier.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -233,10 +233,10 @@ knnClassifier.load(path, callback?)
233233
* [KNNClassification_VideoSquare](https://github.com/ml5js/ml5-examples/tree/development/p5js/KNNClassification/KNNClassification_VideoSquare)
234234
235235
**p5 web editor**
236-
* [KNNClassification_PoseNet](https://editor.p5js.org/ml5/sketches/4c7Fgs7baz)
237-
* [KNNClassification_Video](https://editor.p5js.org/ml5/sketches/ZIDZyjW5LM)
238-
* [KNNClassification_VideoSound](https://editor.p5js.org/ml5/sketches/It5-jyEY2R)
239-
* [KNNClassification_VideoSquare](https://editor.p5js.org/ml5/sketches/S3JfKStZ8I)
236+
* [KNNClassification_PoseNet](https://editor.p5js.org/ml5/sketches/KNNClassification_PoseNet)
237+
* [KNNClassification_Video](https://editor.p5js.org/ml5/sketches/KNNClassification_Video)
238+
* [KNNClassification_VideoSound](https://editor.p5js.org/ml5/sketches/It5-KNNClassification_VideoSound)
239+
* [KNNClassification_VideoSquare](https://editor.p5js.org/ml5/sketches/KNNClassification_VideoSquare)
240240
241241
242242
**plain javascript**

docs/reference/neural-network.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,21 @@ neuralNetwork.load(?filesOrPath, ?callback)
454454
- [NeuralNetwork_xy_classifier](https://github.com/ml5js/ml5-examples/tree/development/p5js/NeuralNetwork/NeuralNetwork_xy_classifier)
455455
456456
**p5 web editor**
457-
* coming soon
457+
- [NeuralNetwork_Simple-Classification](https://editor.p5js.org/ml5/sketches/NeuralNetwork_Simple-Classification)
458+
- [NeuralNetwork_Simple-Regression](https://editor.p5js.org/ml5/sketches/NeuralNetwork_Simple-Regression)
459+
- [NeuralNetwork_XOR](https://editor.p5js.org/ml5/sketches/NeuralNetwork_XOR)
460+
- [NeuralNetwork_basics](https://editor.p5js.org/ml5/sketches/NeuralNetwork_basics)
461+
- [NeuralNetwork_co2net](https://editor.p5js.org/ml5/sketches/NeuralNetwork_co2net)
462+
- [NeuralNetwork_color_classifier](https://editor.p5js.org/ml5/sketches/NeuralNetwork_color_classifier)
463+
- [NeuralNetwork_load_model](https://editor.p5js.org/ml5/sketches/NeuralNetwork_load_model)
464+
- [NeuralNetwork_load_saved_data](https://editor.p5js.org/ml5/sketches/NeuralNetwork_load_saved_data)
465+
- [NeuralNetwork_lowres_pixels](https://editor.p5js.org/ml5/sketches/NeuralNetwork_lowres_pixels)
466+
- [NeuralNetwork_multiple-layers](https://https://editor.p5js.org/ml5/sketches/NeuralNetwork_multiple-layer)
467+
- [NeuralNetwork_musical_face](https://editor.p5js.org/ml5/sketches/NeuralNetwork_musical_face)
468+
- [NeuralNetwork_musical_mouse](https://editor.p5js.org/ml5/sketches/NeuralNetwork_musical_mouse)
469+
- [NeuralNetwork_pose_classifier](https://editor.p5js.org/ml5/sketches/NeuralNetwork_pose_classifier)
470+
- [NeuralNetwork_titanic](https://editor.p5js.org/ml5/sketches/NeuralNetwork_titanic)
471+
- [NeuralNetwork_xy_classifier](https://editor.p5js.org/ml5/sketches/NeuralNetwork_xy_classifier)
458472
459473
**plain javascript**
460474

0 commit comments

Comments
 (0)