🚂🌈🧠Code and community contributions! thecodingtrain.com/Courses/ml5-beginners-guide/6.1-ml5-train-your-own.html
@planktonfun15 жыл бұрын
you can add a replay function so you don't have to click again
@masternobody18965 жыл бұрын
Yeah machine learning thank you very much
@pacoperico11092 жыл бұрын
Hi! I really like your way to teach. It is brilliant. But, in neurals I have always doubts. For instances, Can I to use this kind of networks for predict a future result? Can I have an email for better explanation?
@TheCodingTrain2 жыл бұрын
@@pacoperico1109 Come and join the coding train discord! thecodingtrain.com/discord
@pacoperico11092 жыл бұрын
@@TheCodingTrain hi again, I follow your advice and I am into discord. How do I find the coding train community?
@ShreyAroraev35 жыл бұрын
i really appreciate the fact that dan ALWAYS gives credit to original creators and researchers
@Jptoutant5 жыл бұрын
No wonder he has so many friends, guy always doing a favor
@sonmangaking5 жыл бұрын
He is a angel I wish I could work with him he inspires my work everyday
@freeshavaacadooo10955 жыл бұрын
Unlike a man known as Siraj Rival...
@abeechr5 жыл бұрын
Shrey Arora agreed. And that’s why he’s closing in on a million subscribers and nary a negative comment.
@ishanpradhan054 жыл бұрын
Siraj Rawal triggered! xD
@Cerzus5 жыл бұрын
6:02 Respect for flawlessly writing '0' and '1' while saying '1' and '2'.
@TheCodingTrain5 жыл бұрын
😱
@vikramb1834 жыл бұрын
I took a long hiatus from programming, but I didn't realize how long until I looked at the date this was posted! I'm finally getting around to finishing this after over a year! Also I'm so happy new generations of programmers will have such amazing videos to learn from!
@williamlehmus53713 жыл бұрын
You got me into programming! Please never stop doing these videos!
@sonmangaking5 жыл бұрын
I love how you stopped and saw changes UR channel has become the golden light for teaching great topics like these I appreciate your work and would love to one day work or help. Your journey as it has shaped mine to becoming a great scientist
@rkadi65404 жыл бұрын
If my teacher is as cheerful as you when teaching, class wont be boring as hell. Man good presentation
@grevel13765 жыл бұрын
I made simmilar project about 2 weeks ago, and I am proud of myself, programm takes users clicks, left button makes red dots, middle button makes green dots and right button makes blue dots. Then a neural net trains on that input, and each 10 backprops it prints every pixel prediction, on rgb mix of confidences. It can be really beautiful, and it can find complex shapes. I made it in java awt.
@tipsstudio97075 жыл бұрын
can you give me link? so i can refer it.
@grevel13765 жыл бұрын
It is not published, maybe I'll make something towards it
@tipsstudio97075 жыл бұрын
@@grevel1376 ok dude, thanks i like to watch it when you published..
@Akshatgiri4 жыл бұрын
There is no better teacher than Dan. Prove me wrong
@shubhrashukla78795 жыл бұрын
So close to 100k!!!!!!!!!!! Dan I love your vids and have been watching your channel from 160k from different accounts Thank you for turning me into a computer geek!
@sarcasmasaservice5 жыл бұрын
Thanks Dan, this was great!
@TheCodingTrain5 жыл бұрын
Yay, glad you liked it!
@rsrini75 жыл бұрын
All your videos are inherently number of views = number of likes. I don’t have a better way to appreciate your way of teaching. I love teaching. 🙏
@exxzxxe4 жыл бұрын
Dan; you are a gentleman and scholar!
@geoffwagner4935 Жыл бұрын
o-m-g south park The Toran Ra , with neural networking , he is the master
@AkhilsaiNo14 жыл бұрын
This world needs more people like Dan.
@TylerMatthewHarris5 жыл бұрын
Your neural network is training my neural network to train a neural network. So Meta bro 🤪🤘🏻
@divyeshgaur5 жыл бұрын
your enthusiasm made me excited to do ML. thank you and amazing video.
@aarensan5 жыл бұрын
This could be a great start into ML ans JS - thank you!
@jackal80045 жыл бұрын
Oh my god, it's amazing! Really looking forward to the saving data part =)
@prosoftwebindia5 жыл бұрын
Because of your the machine learning is easy for me.... big big thanks.. for nice 👍 contents.
@ShreyAroraev35 жыл бұрын
i was WAITING for this!!
@IvanChernykh-vc1iv Жыл бұрын
Absolutely mind blowing! Thanks Dan!!
@SimonTiger4 жыл бұрын
We've not really only used pretrained models before. Instead, we did train our own models, but we always used a pretrained model as a basis. In this case, we're starting with a blank slate. No magic transfer learning or knn.
@Clinty_Stwood4 жыл бұрын
I say "wow"...super good explanation and video realization
@allex38425 жыл бұрын
Thank you so much for everything you do ❤️
@bafana_mhlamvu5 жыл бұрын
Greetings Mr. Shiffman, I noticed the Programming With Text series has been removed from your channel's playlist and was wondering if that was intended?
@gamestv48755 жыл бұрын
I wish I had the passion for coding like this guy. Recently I have no passion for anything at all. Scary.
@hrrrvvyy5 жыл бұрын
Wow, it's amazing 😻
@АнатолийП-я2н4 жыл бұрын
Hi, how to stop learning in whileTraining function depending on loss?
@thomasgibson10285 жыл бұрын
Aww my life I had to fight to understand normalization☺️. Thank you!
@anteconfig53913 жыл бұрын
22:44 you wrote '0.25' and I read '0.2J' and then I thought "what if I use complex numbers to calculate the weights and bias?" and stuff. I think I might try. I just came up with an idea to use a genetic algorithm that stores the starting state of the game of life and instead of doing a 2D space I use a 3D space.
@Dron0083 жыл бұрын
Great demo!
@fbn77665 жыл бұрын
Love your videos............
@micah70092 жыл бұрын
Can the input be an array, or do you need to list each item in the array?
@wtalkie3 жыл бұрын
Amazing as always!
@mamupelu5655 жыл бұрын
this is getting good, go on please
@mobsean5 жыл бұрын
So cool to watch this. Makes me wanna start coding RIGHT NOW !!! :-)
@grainfrizz5 жыл бұрын
You're such a gift.
@EdMonk4 жыл бұрын
That was fun. It worked for me.
@jonathancoder5 жыл бұрын
Muy clara la explicación 👲
@Manatoro2 жыл бұрын
duude you are too good!
@kisame_53315 жыл бұрын
Love your explanations!
@vilkillian5 жыл бұрын
26:50 i don't get it, why don't you normalized data before model.classify?
@mesutdogansoy5 жыл бұрын
because isNormalized flag set true when training so it normalizes the sample automatically
@yamimzumara62915 жыл бұрын
We need more, and your videos and awesome.
@thisdot62055 жыл бұрын
Could you make a snakeAI with reinforcement learning?
@devorrahtester54395 жыл бұрын
Thank you! Awesome tutorial! Would you explain how the training and output data would be structured if you used your hands to play the sound but also wanted to modulate the output sound with your legs and head?
@satychary5 жыл бұрын
You are a nut, my kind :) Great video and project.
@konstantinosvasilakos12404 жыл бұрын
Is there a way to adjust the weights in the model using this example?
@shashidhara.g.m6555 жыл бұрын
*YEEYYY ANOTHEERR VIDEOOO*
@guyincognito19853 жыл бұрын
Nice haircut! 👌😍👍 (If you're watching this ML playlist in order) I too hope to get a haircut one day and get rid of this COVID-mullet. 😟
@scodemy19765 жыл бұрын
Am a web developer and I have my channel but your videos are awesome
@geoffwagner4935 Жыл бұрын
it also has me thinking multiwii pro , yes arduino and all of this. i still just don't know what my drone would be doing with all this yet. but objects and sensors, they have some pretty intelligent drones for synchronous flying, i wonder what kind of intellagent drone could be made with this stuff? it can see, this really beats a proxy sensor . it can know what things are , maybe to pick up and sort xD
@nightshining5662 Жыл бұрын
This is a great overview! Anyone happen to know if there is a list of other open source ML 5 type libs for other languages like Python and C++? I want to run this type of stuff off google coral and Nvidia jetson without having to know TensorFlow
@enivaldobonelli5 жыл бұрын
Great to start with 'tabula rasa.' Some artificial intelligence of previous codes did not work well for absence of human intelligence, in training the models. For example: a stretched hand shown to the program was identified as 'Band-aid!' Because some intelligent trainer showed her/his band-aid to the camera forgetting that more hand than band-aid were seen. Then if you make a fist, it is not a 'band-aid' anymore. Now it is a screw driver. Again, the trainer showed a small screw driver to the program, were mostly hand appeared.
@WeirdSide5 жыл бұрын
can you use ml5.js to generate GAN images?
@stiqsify4 жыл бұрын
So exciting
@BarYamin5 жыл бұрын
Why not play all 3 notes in superposition based on their output probability according to the position of the mouse on the canvas?
@micah70092 жыл бұрын
I am getting an error when trying to train the data. "You are passing a target array of shape 91,1 while using a loss 'categorical_crossentropy'. 'categorical_crossentropy'expects targets to be binary matrices (1s and 0s) of shape [samples, classes]."
@FrancoCervigni5 жыл бұрын
So what is loss? Me: That's a meme
@thomasgibson10285 жыл бұрын
Franco Cervigni 😁
@sebastiendeseille98905 жыл бұрын
Wonderful project ! Thanks !
@codefun31685 жыл бұрын
Great dan!!appreciate it..really inspired by you man!trying my best on my channel as well
@codefun31685 жыл бұрын
Need your help as well to improve coding channels on youtube..
@codefun31685 жыл бұрын
I find there are very less channels that promote coding.few are inactive..we need to bring BACK THE ENERGY!!
@L76videos5 жыл бұрын
Can we read a folder to get images files from a browser?
@abduljalilabdallah95785 жыл бұрын
Hello everyone, I have a question, I need to run a Php code when my is condition is true in p5.js. unfortunately it doesn't work like in normal Js. If(number
@vadsavin5 жыл бұрын
Is it possible to train models using "Teachable machine with google" not only to classify images, but to recogize where the objects are in the picture. So I want to get something like bounding boxes and classes of them for self-driving car with Raspberry Pi.
@igotapochahontas4 жыл бұрын
Could you possibly do an offline version? A simple classification that does not require cloud services after being downloaded locally?
@igotapochahontas4 жыл бұрын
Normally I just locally host the min.js file.... But I couldn't find that for ml5
@hadiriazi5 жыл бұрын
What about classifying accelerator data (x,y,z) and determine standing, bowing, sitting ? Can I use the same approach? how about the data? how do I batch them ?
@TheCodingTrain5 жыл бұрын
Yes, this could work! If you save your data to CSV or JSON you can load it directly into ml5. There are options to specify batch size and more, but ml5 will choose defaults for you.
@hadiriazi5 жыл бұрын
The Coding Train great! Could you give me a head start or even better do a sample video on human activity recognition ? My main concern is how do I differentiate between bowing down and the reverse ... I just don’t know what would be each window’s data ?
@TheCodingTrain5 жыл бұрын
You would have to label the data, i.e. record it somehow while you are also recording the classification (standing, sitting, etc.). The issue is that accelerometer data is 0 when you are still (or moving at a constant velocity). So it might work better for classifying a motion!
@williamlehmus53713 жыл бұрын
Have I found a bug or is ML5js supposed to work like this. If you add 10 data points and then check model before training you'll find them in: model.neuralNetworkData.data.raw If you then train the model, and check again, the data has been copied to model.data.training I was kind of expecting ML5js to move the data rather than copy them. In my understanding it's something like this: model.data.training = Data points that have been trained on. model.neuralNetworkData.data.raw = Data not trained on yet. I was expecting the data to be moved from raw to training, because if you now add more data to the model, the old data will still remain thus creating a weighting towards the old data since it's added twice.
@ameynaik27434 жыл бұрын
Great videos! Thank you. What is the default structure of the neural network in this case? I.e., number of hidden layers etc?
@ameynaik27434 жыл бұрын
learn.ml5js.org/#/reference/neural-network - never mind found it here. Thanks!
@dimasandhikasury61285 жыл бұрын
Nice to see you again.. :)))) can you make "NEAT" videos for your flappy brain??
@DigitalAlligator4 жыл бұрын
model.addData() how much data it can hold?
@rizkimramdani3 жыл бұрын
is this the same proccess if i want to train .jpg image file?
@landonbrown25425 жыл бұрын
I love this guy :)
@liavofra5 жыл бұрын
Hello Mr coding Train, i have some math function that i am wondering about the geometry. the function is from a model i made, ill be happy to show you the model and hopefully you can help.
@HoLeeFuk975 жыл бұрын
how we train our image but they are in a folder? Sorry for my bad English
@Akosiyawin2 жыл бұрын
Can I use 1000 images as an input? How?
@8followsonik5 жыл бұрын
You can't play c sharp note, because it's JS. Kappa
@Brahvim3 жыл бұрын
xD
@TRT_MOOSIC3 жыл бұрын
Hey but I cant get a graph o'er there!!
@CptUhudini4 жыл бұрын
I'm new to machine learning and I'm using ml5js for a current project. So I have a .csv file and an image folder with thousands of images (from @muxspace on GitHub). The .csv file maps every image in the image folder to a facial expression. I just don't understand what inputs and outputs I have to write in my options to train the model. Any ideas?
@alexandrecsu4 жыл бұрын
How can I classify if I have inputs: "first_name", "last_name" and output: "gender"... what I am asking, what do I do if I have strings as imputs?
@angelcaru3 жыл бұрын
function getNumberArrayFromString(str) { const result = []; for (const char of str) { const cc = char.charCodeAt(0); result.push(map(cc, 0, 255, 0, 1)); } return result; }
@moonaddict3 жыл бұрын
Same question, did you find any solution?
@PyroFlamingo5 жыл бұрын
Is anybody else having issues with the training? Dan's debug graph is so smooth but mine is all over the place and therefore when I test the prediction it is usually quite wrong.
@ahmadooof3 жыл бұрын
that's so cool man
@tawnyop72754 жыл бұрын
I was following along with this and I legit spent like 20 mins trying to figure out why mine wasn't working. I just woke up and realised I didn't put the options into the neutral network smh
@shubhrashukla78795 жыл бұрын
Coding challenge: maybe you use the teachable machine or ML5 to classify a chord made by your hand and then you make it play the classified chord! That would be like a virtual ukelele
@Zippka_5 жыл бұрын
is there something like this that I could use with Pyhton?
@ReinaldoAssis5 жыл бұрын
Nino Orešković High level Tensorflow
@selmirmuminovic5515 жыл бұрын
Thanks man!
@aradhyamodi77615 жыл бұрын
Thanks bro
@gilberttheregular85535 жыл бұрын
Finally!
@moonaddict3 жыл бұрын
Oh man I'm so disappointed, I spent hours getting the data, organizing it, solving the training issues, and then when I went to classify... Boom: "expected dense_Dense1_input to have shape [null,90] but got array with shape [1,1]"... Apparently string inputs are not allowed? :(
@moonaddict3 жыл бұрын
My dataset is a bunch of hexadecimals concatenated as a string, it's the data from a 3D map of a game, something like this: [{"map": "123456789", "changes": "geometry"}, {"map": "113556789", "changes": "particles"}] So, my goal was to get the label ("changes") identifying map changes based on its data as an input.
@geoffwagner4935 Жыл бұрын
it would be fun to make an Arduino sorting drone, maybe collects certain shells along a big beach
@johncerpa37825 жыл бұрын
awesome vid
@dmc58355 жыл бұрын
Dan, can we get a a video on S.O.L.I.D principles?
@harshaaddanki46063 жыл бұрын
TF Lite plz
@flamexode5 жыл бұрын
const coding = ml5.neuralNetwork(1, 1); coding.train(); If you don't get it you don't know what channel you are watching.
@flamexode5 жыл бұрын
Dang, really appreciate how deep you go through the comments to get the best one
@52.yusrilihsanadinatanegar794 жыл бұрын
SyntaxError: ml5 is not defined
@abhaykashyapa3 жыл бұрын
There is a hole in your laptop(green screen lol)
@Gilotopia5 жыл бұрын
Is ml5js using the GPU?
@TheCodingTrain5 жыл бұрын
Yes! It uses your local GPU via WEBGL. (This is not the work of ml5, but rather tensorflow.js underneath the hood.)
@KnakuanaRka4 жыл бұрын
Idea for how to improve on this: instead of manually picking points to predict, once you have the training data, have it do predictions for the entire canvas, and color each pixel according to the prediction (say, C, D, and E being red, yellow, and blue), so we can more precisely see what the network predicts.
@fabiano-co2 жыл бұрын
Man, I was playing with p5.js and the page just crashed, everything was gone and the page is blank, I lost my entire code. lol
@TheCodingTrain2 жыл бұрын
I am so sorry to hear about this! It can happen with online editors like p5, I hope you aren't too discouraged! Try to save often :)
@fabiano-co2 жыл бұрын
The same code, reducing the number of columns and removing those ones with zeros, worked very well.
@prachetass5 жыл бұрын
Dn know if iam being rude but Match 3 game please........