Coding Challenge

Sdílet
Vložit
  • čas přidán 28. 08. 2024

Komentáře • 127

  • @KaizenCodes
    @KaizenCodes Před 6 lety +1

    Who would have thought that a person could relatively understand ML in a span of a week watching some videos. You are an excellent teacher. I now have enough basic understanding to explore. Thank you very much for your time and effort. MY XOR VISUALIZATION WORKED!

  • @nk361
    @nk361 Před 6 lety +6

    8:19 your tutorials are incredible and you somehow manage to make me laugh in the oddest places

  • @offtheball87
    @offtheball87 Před 6 lety +32

    27:30 is like my favourite bit of any coding challenge ever

    • @offtheball87
      @offtheball87 Před 6 lety +4

      Wecleome to the Dancing Train!

    • @lukegarrigan5894
      @lukegarrigan5894 Před 5 lety +3

      @@offtheball87 ahahhah I've watched this like 10 times

    • @offtheball87
      @offtheball87 Před 5 lety +1

      @@lukegarrigan5894 Thank you for bringing this back up, it'd been far too long!

    • @luiska49
      @luiska49 Před 4 lety

      please watch at 0.25x

    • @offtheball87
      @offtheball87 Před 3 lety

      @Tommy Kannon don't think I won't report you for spam as well

  • @masterstroggo
    @masterstroggo Před 6 lety +4

    Absolutely love these tensorflow tutorials/challenges.
    I'd love to see more real world examples eventually!

  • @marcore7524
    @marcore7524 Před 6 lety +11

    Hi! I'm 9th grade student of software engineering in Durango, México and now I have the subject "intelligent systems" (basically "neural networks and machine learning") and thanks to you I'm learning a lot faster than my classmates I've already watched the neural networks series and know I'm learning about tensorflow so idk I just want to thank you for create a great content it helps a lot and I hope this message help you to keep motivated 'cause I'm in México and I always recommend your videos and I know that I'm not the only one in the country so you're global dude =).

    • @TheCodingTrain
      @TheCodingTrain  Před 6 lety

      Wonderful, thank you! Check out the Math2Me channel btw, I just met them this week they are amazing!

  • @indrajeetzzz
    @indrajeetzzz Před 6 lety

    I honestly watched until the end and it's totally kinda inspiring how you do all the stuff's. Hopefully I will start with tf js soon, I just need to learn some basics of neural network maybe I will endup watching your series on that. Thanks for the video.

  • @michaelhunt6313
    @michaelhunt6313 Před 5 lety

    I watched it all and loved it. Lol Adam optimizer at the end.

  • @ForChiddlers
    @ForChiddlers Před 5 lety +7

    Hi Daniel, the newest tensorflow forbids concurrent calls to model.fit ()
    I wondered when I saw the video, how these many calls to the fit function behave

    • @TheAkira2023
      @TheAkira2023 Před 5 lety +1

      I had the same issue and I don't actually know how to overcome that. But you can always use the older versions as he was using 0.11.2. GL

    • @ForChiddlers
      @ForChiddlers Před 5 lety +4

      @@TheAkira2023 I solved it using a semaphore. I.e. just a boolean. Before you call the fit method you set it to true, after the fit to false. All calls to the method, that are invoked, while the semaphore is true are ignored. Switching back to an older version just helps to ignore the problem (which would be there nevertheless, even though older versions don't throw an error).

    • @nkemer
      @nkemer Před 5 lety +2

      if you change the "train function" like this:
      async function train(){
      await trainModel().then(result =>console.log(result.history.loss[0]));
      setTimeout(train,100);
      }
      it'd work, and even you can replace timeout function with train(); that will also works.(because it is just waits) I figured out this after watching "promises/await" videos. Thanks Dan.

    • @juangomez5236
      @juangomez5236 Před 5 lety

      @@ForChiddlers thank you so much

  • @8eck
    @8eck Před 4 lety

    We need more of these lessons! Please :)

  • @dennisdamico4157
    @dennisdamico4157 Před 6 lety

    Loving the TFJS videos... Not many people doing good introductions to it right now.

  • @ertanbaykal
    @ertanbaykal Před 2 lety

    I like your videos. Thank you for your time.

  • @shreeyatyagi
    @shreeyatyagi Před 5 lety +2

    Thanks! This is all so easy and cool!! :D

  • @niranjannitesh
    @niranjannitesh Před 6 lety +5

    I love the way you teach. I'm learning ML through your CZcams channel. Please when can I expect a video on Convolution Neural Nets?

  • @GregoryMcCarthy123
    @GregoryMcCarthy123 Před 5 lety

    Man.... I just love you, you are amazing

  • @ratkabu
    @ratkabu Před 6 lety +14

    Because of you I switched to p5.js. Hahaha

  • @francobianconi9227
    @francobianconi9227 Před 5 lety

    Watching from playlist session 6. Is this the last of the tensor flow series?
    That was really #something.

  • @grainfrizz
    @grainfrizz Před 6 lety

    I was hoping Iris dataset. But oh well. thanks Dan!

  • @gamingbutnotreally6077
    @gamingbutnotreally6077 Před 6 lety +2

    Amazing video as always!

  • @sabriath
    @sabriath Před 6 lety +1

    You said that "a single perceptron cannot solve the xor problem"....which is false, the correct statement is "a single sigmoid perceptron cannot solve the xor problem." A single perceptron can have many different types of "annealing" applied, as sigmoid has been the most common, I can understand the fallacy....but it's not the only type. One that I prefer to use is the normal distribution curve method, where the data has to be at a specific value to give the highest result, and the result goes to zero as you go away from it in both directions....this is much closer to an actual neuron in my opinion as it is easy to see neurons "syncing" with datasets faster for memorization.
    The formula for it is:
    simplistic = 1-|B-x|/R
    curved = e^(-((x-B)/R)^2/2)
    Where B and R are also trainable sets, while X is determined through the normal sum(An*Wn) method.
    Xor can be solved with W0 = 1, W1 = 1, B = 1, and R approaches 0.

  • @gamingbutnotreally6077
    @gamingbutnotreally6077 Před 6 lety +1

    Hey Daniel I was thinking that maybe you could start a series which explains graph traversal algorithms and their implementation! Keep up the great work!

  • @kranefivem
    @kranefivem Před 6 lety

    You are a good friend to anyone

  • @aobcd.8663
    @aobcd.8663 Před 2 lety

    This is what internet should be used for

  • @liquidexw
    @liquidexw Před 6 lety +5

    how about making a trainModel() function which generates a random model of a train and exports it to OBJ
    also, #something

  • @tensorflow5330
    @tensorflow5330 Před 6 lety

    hope to see more about tensorflow.js courses

  • @wanfuse
    @wanfuse Před 5 lety

    Also, I am no expert on Machine learning, but there is something called overlearning its where training data isn't used in batches and it over learns the data. I notice you did not mention this!

  • @aaronfraser8450
    @aaronfraser8450 Před 2 lety

    Is tensorflow better for sequential prediction of 1 array, to classify newly added integers or labels. I am trying to predict random generated numbers. I would like for it to predict up to 8 numbers next in the series. I spent a week learning this and ml5 isn’t working that well. I need more accuracy than LTSM and ChaRNN. I hate python, so I think time series is out of the question.

  • @TheD0nutmaker
    @TheD0nutmaker Před 6 lety

    Why is the model in some cases learning the center of the canvas, meaning (0.5, 0.5), be true (like 48:14) and sometimes be false (like 49:52)?

  • @gauravshetty1436
    @gauravshetty1436 Před 5 lety

    Hi why do we need to shuffle the training data?

  • @MatichekYoutube
    @MatichekYoutube Před 6 lety

    That was amazing tutorial, learned a lot. Thanks. #tensorflow

  • @MrFuxya
    @MrFuxya Před 6 lety

    are the tensors disposed with the way you implemented with the setTimeout?

  • @toadfrommariokart64
    @toadfrommariokart64 Před 3 lety

    50:52 love how he casually ignored how the model just output all 0's there

  • @madmuffin2511
    @madmuffin2511 Před 6 lety

    Can you try Chemotaxis of E.Coli.
    So use a Neural Network and see if your bacteria can find food just by variing their tumblimg frequency and (show "perfect adaptation").
    Or did you do videos explaining how complex a NN has to be to solve a paticular problem? (I know a single perceprton cant solve XOR :) )
    I tried Chemotaxis myself with a one-hidden -layer NN, but didnt get good results. So I asked mysel if the NN is to simple for that?

  • @karthikjsv2921
    @karthikjsv2921 Před 6 lety

    Why don't you provide tutorials for Raspberry pi python programming? Btw love your videos

  • @sukantagarwal6824
    @sukantagarwal6824 Před 5 lety

    Hey, can you make a video on Pose detection for hand. It would be very helpful. Thanks

  • @codingjourney6047
    @codingjourney6047 Před 6 lety

    Are you on LSD dude!! How are you so hyped every video

  • @charbelsarkis3567
    @charbelsarkis3567 Před 6 lety

    the fancy new import syntax didn't work with me. I tried using it (not in node).

  • @workaholic964
    @workaholic964 Před 6 lety

    could you do a 3d perlin noise for your next coding challenge

  • @sarveshwarans8037
    @sarveshwarans8037 Před 6 lety

    I love your work.. always! 🔥

  • @joostvanrens
    @joostvanrens Před 6 lety +4

    Can I stop doing jumping jacks yet?

  • @geoffwagner4935
    @geoffwagner4935 Před 11 měsíci

    that's amazing #something

  • @wanfuse
    @wanfuse Před 5 lety

    What IDE does he use does it work on Windows and Linux? For Eclipse is there a tensorflow.js plugin?

    • @resin01
      @resin01 Před 5 lety

      He is using Atom atom.io/

  • @Alexandrezification
    @Alexandrezification Před 6 lety

    great!

  • @justkeerat
    @justkeerat Před 6 lety

    Using tanh activation would bring the error rly low. I tried using it and in only 10 epochs the error went as low as 0.00002

  • @kekoasesino
    @kekoasesino Před 6 lety

    I don't understand anything, but i love it. xd

  • @harithzamri9403
    @harithzamri9403 Před 6 lety

    go and get 1080ti and do lots lots processing to see the result

  • @kelvinzhao4960
    @kelvinzhao4960 Před 6 lety

    Neuroevolution with TensorflowJS soon? =)

  • @appelboer5090
    @appelboer5090 Před 6 lety

    What does For (i = 0, i < Bla, i++) do? (Random example)

  • @subratadhikari978
    @subratadhikari978 Před 6 lety +2

    #something

  • @vikramb183
    @vikramb183 Před 5 lety

    When I took out noLoop(); after I implemented model.fit() it never works. It says it can't start another fit() function even though I am using async/await

    • @resin01
      @resin01 Před 5 lety +3

      You need to ensure that the last fit is done running. Continue the video to see how he moves the rerunning of it to .then(() => {}). My guess is that in the version of tensor flow he is running there is no error output for the error (even though it is there). Google probably added the error later, to ensure fit is not run multiple times at once. :)

    • @vikramb183
      @vikramb183 Před 5 lety

      @@resin01 Thank you so much!

  • @BishMigga
    @BishMigga Před 6 lety +1

    Was wondering if anyone had some advice, i am looking at entry level programming jobs and watching these tutorials although fun, is kind of discouraging. This guy is so fluid in his coding and i cant help but feel like crap thinking this is the level i need to be on, and i feel no where close.

    • @TheCodingTrain
      @TheCodingTrain  Před 6 lety +1

      You've stumbled on one of the less useful, more complex (and not necessarily in a good way) videos. Maybe try these playlists to start? You can do it!
      czcams.com/users/shiffmanplaylists?view=50&shelf_id=14&sort=dd
      czcams.com/users/shiffmanplaylists?view=50&shelf_id=2&sort=dd

  • @geek.with.a.camera
    @geek.with.a.camera Před 4 lety

    On white board it reads as XOR wtf layers

  • @m.o.m.m7661
    @m.o.m.m7661 Před 6 lety +1

    this was helpful

  • @pulkitrajpal7695
    @pulkitrajpal7695 Před 6 lety

    Hey in the linear really regression challenge everything is working but stuck at the tf.train.sgd is giving error i have rechecked 100 of time but didn't solve the problem

    • @l0m-dev
      @l0m-dev Před 6 lety

      Pulkit Rajpal what error

    • @pulkitrajpal7695
      @pulkitrajpal7695 Před 6 lety

      ShadowPlayz tf is not defined

    • @l0m-dev
      @l0m-dev Před 6 lety

      Pulkit Rajpal well post the code here

  • @antarezaghifary9670
    @antarezaghifary9670 Před 6 lety

    Wow gitu lho..

  • @anaamnizami5359
    @anaamnizami5359 Před 6 lety

    is tensor flow for backend or client side?

    • @TheCodingTrain
      @TheCodingTrain  Před 6 lety +1

      I'm running tensorflow.js as a client side library here, but it can also run server side via node!

  • @martijnvankekem3286
    @martijnvankekem3286 Před 6 lety

    Daniel, could you make a game where there's no friction and the player never slows down, but it can accelerate in the direction you turn the player in. So for example, you turn the player 90 degrees around it's own center, and when you press the up arrow, the player moves towards that direction. I tried doing this but i'm really stuck, so any help would be appreciated!

  • @eduar2tc904
    @eduar2tc904 Před 6 lety

    Ese mi loco del código

  • @eliottuliocamaradonge2706

    I did #something.
    PS: Great video Dan.

  • @AdaX3X
    @AdaX3X Před 6 lety

    #something Great video! Keep up good work :D

  • @st9761
    @st9761 Před 6 lety

    Is there a playlist of coding challenges?

    • @TheCodingTrain
      @TheCodingTrain  Před 6 lety

      Here you go! czcams.com/play/PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH.html

    • @st9761
      @st9761 Před 6 lety

      The Coding Train Thank you!

  • @kustomweb
    @kustomweb Před 6 lety

    Thank you

  • @mathssoso4261
    @mathssoso4261 Před 6 lety

    what is this text editor? sublime text ?

    • @TheCodingTrain
      @TheCodingTrain  Před 6 lety

      Atom. This workflow video might help:
      czcams.com/video/HZ4D3wDRaec/video.html
      Also:
      sublime text: czcams.com/video/UCHzlUiDD10/video.html
      atom editor: czcams.com/video/d3OcFexe9Ik/video.html
      brackets: czcams.com/video/nmZbhManVcY/video.html
      codepen: czcams.com/video/5gfUgNpS6kY/video.html

  • @user-xk8yi6vj5m
    @user-xk8yi6vj5m Před 6 lety +1

    #Something
    I love your tutorial so much!! Thank you >///

  • @SparkFoss
    @SparkFoss Před 6 lety

    watch 50 shades of grey at 42:30 lol

  • @CodeWithSen
    @CodeWithSen Před 6 lety

    nah i'll stick to programming buttons in banking apps xD

  • @ratkabu
    @ratkabu Před 6 lety +1

    Hello Daniel, can you answer my questions(not coded related) on Quora?

  • @lionhardt75
    @lionhardt75 Před 6 lety +1

    #something :)

  • @sined704
    @sined704 Před 6 lety

    Thx a lot for all your videos. I don't look at all your live streams, but I try to look at all your edited videos and I learn a lot of thinks. Thx :)
    Would it be possible to have a genetic algorithm with tf.js ? If so could you remake your flappy bird genetic AI with tf.js please ?
    Love & gratitude.

  • @MatthewBishop64
    @MatthewBishop64 Před 5 lety

    hastag something

  • @evelynwalker3754
    @evelynwalker3754 Před 2 lety

    what if failor instead of error but like
    ah brb

  • @meewwxd
    @meewwxd Před 2 lety

    #something 😅

  • @benstoffels5108
    @benstoffels5108 Před 6 lety +1

    12:15 😂😂

  • @Naej7
    @Naej7 Před 6 lety

    #Something!

  • @numero7mojeangering
    @numero7mojeangering Před 6 lety

    BUT wait a second the XOR probleme can be solved at 100% sure with this formula : abs(X - Y)

  • @amanadwani9100
    @amanadwani9100 Před 6 lety

    Come on dude, switch to vs code already!

  • @duckyvirus
    @duckyvirus Před 6 lety

    am i alone in being rather tired of TensorFlow? like is he being paid for this non stop stream of challenges using it?

    • @niter43
      @niter43 Před 6 lety

      James Wilson there's not that much tensorflow videos, he just enjoying it.
      Also promises video series is still going I think.

    • @duckyvirus
      @duckyvirus Před 6 lety

      the last 5 were all TensorFlow. and he's more than welcome to enjoy it, but I don't want to see him start to lose subs because he's not changing things up anymore. (not saying *I* would either) but it's something that happens a lot. people get comfortable with something and stop pushing themselves.

    • @devilmanscott
      @devilmanscott Před 6 lety +1

      He ain't going to lose any subscribers which aren't that important, views are important which keep increasing, also TensorFlow is the new hotness and will be for quite a while, also it's a whole new field for him, of course it's hyper interested.
      Basically, suck it up man, it's not going anywhere anytime soon.

    • @TheCodingTrain
      @TheCodingTrain  Před 6 lety

      Thanks for this feedback! I've heard the same from others and took a break from the ML stuff for today's stream. I will be focusing a lot on ML this summer, but it's not my plan for it to be the primary topic for the channel.

    • @duckyvirus
      @duckyvirus Před 6 lety

      The Coding Train thank you for understanding my intentions as opposed to the over zealous fellow above lol

  • @adc0barra20
    @adc0barra20 Před 6 lety

    What a mess

  • @kuhlde1337
    @kuhlde1337 Před 6 lety +2

    #something

  • @Coolblockj
    @Coolblockj Před 6 lety +1

    #something

  • @luftigo
    @luftigo Před 6 lety +1

    #something

  • @Bufkin252
    @Bufkin252 Před 6 lety +1

    #something

  • @KingZelab
    @KingZelab Před 4 lety

    #something

  • @juloko
    @juloko Před 4 lety

    #something

  • @andruw5075
    @andruw5075 Před 5 lety

    #something

  • @l0m-dev
    @l0m-dev Před 6 lety +2

    #something

  • @andrewfarley6794
    @andrewfarley6794 Před 6 lety +2

    #something

  • @offtheball87
    @offtheball87 Před 6 lety +3

    #something