Coding Challenge

Поділитися
Вставка
  • Опубліковано 5 вер 2024

КОМЕНТАРІ • 127

  • @offtheball87
    @offtheball87 6 років тому +32

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

    • @offtheball87
      @offtheball87 6 років тому +4

      Wecleome to the Dancing Train!

    • @lukegarrigan5894
      @lukegarrigan5894 5 років тому +3

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

    • @offtheball87
      @offtheball87 5 років тому +1

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

    • @luiska49
      @luiska49 4 роки тому

      please watch at 0.25x

    • @offtheball87
      @offtheball87 3 роки тому

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

  • @KaizenCodes
    @KaizenCodes 6 років тому +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 6 років тому +6

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

  • @marcore7524
    @marcore7524 6 років тому +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  6 років тому

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

  • @masterstroggo
    @masterstroggo 6 років тому +4

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

  • @ForChiddlers
    @ForChiddlers 5 років тому +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 5 років тому +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 5 років тому +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 5 років тому +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 5 років тому

      @@ForChiddlers thank you so much

  • @indrajeetzzz
    @indrajeetzzz 6 років тому

    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 5 років тому

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

  • @dennisdamico4157
    @dennisdamico4157 6 років тому

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

  • @8eck
    @8eck 4 роки тому

    We need more of these lessons! Please :)

  • @niranjannitesh
    @niranjannitesh 6 років тому +5

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

  • @ertanbaykal
    @ertanbaykal 2 роки тому

    I like your videos. Thank you for your time.

  • @shreeyatyagi
    @shreeyatyagi 5 років тому +2

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

  • @francobianconi9227
    @francobianconi9227 5 років тому

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

  • @ratkabu
    @ratkabu 6 років тому +14

    Because of you I switched to p5.js. Hahaha

  • @tensorflow5330
    @tensorflow5330 6 років тому

    hope to see more about tensorflow.js courses

  • @grainfrizz
    @grainfrizz 6 років тому

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

  • @GregoryMcCarthy123
    @GregoryMcCarthy123 5 років тому

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

  • @sabriath
    @sabriath 6 років тому +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.

  • @wanfuse
    @wanfuse 5 років тому

    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!

  • @gamingbutnotreally6077
    @gamingbutnotreally6077 6 років тому +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!

  • @aaronfraser8450
    @aaronfraser8450 2 роки тому

    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.

  • @gamingbutnotreally6077
    @gamingbutnotreally6077 6 років тому +2

    Amazing video as always!

  • @madmuffin2511
    @madmuffin2511 6 років тому

    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?

  • @workaholic964
    @workaholic964 6 років тому

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

  • @TheD0nutmaker
    @TheD0nutmaker 6 років тому

    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 5 років тому

    Hi why do we need to shuffle the training data?

  • @liquidexw
    @liquidexw 6 років тому +5

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

  • @sukantagarwal6824
    @sukantagarwal6824 5 років тому

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

  • @aobcd.8663
    @aobcd.8663 2 роки тому

    This is what internet should be used for

  • @MatichekYoutube
    @MatichekYoutube 6 років тому

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

  • @charbelsarkis3567
    @charbelsarkis3567 6 років тому

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

  • @kelvinzhao4960
    @kelvinzhao4960 6 років тому

    Neuroevolution with TensorflowJS soon? =)

  • @subratadhikari978
    @subratadhikari978 6 років тому +2

    #something

  • @toadfrommariokart64
    @toadfrommariokart64 3 роки тому

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

  • @MrFuxya
    @MrFuxya 6 років тому

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

  • @kranefivem
    @kranefivem 6 років тому

    You are a good friend to anyone

  • @geoffwagner4935
    @geoffwagner4935 11 місяців тому

    that's amazing #something

  • @karthikjsv2921
    @karthikjsv2921 6 років тому

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

  • @codingjourney6047
    @codingjourney6047 6 років тому

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

  • @Alexandrezification
    @Alexandrezification 6 років тому

    great!

  • @justkeerat
    @justkeerat 6 років тому

    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

  • @vikramb183
    @vikramb183 5 років тому

    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 5 років тому +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 5 років тому

      @@resin01 Thank you so much!

  • @antarezaghifary9670
    @antarezaghifary9670 6 років тому

    Wow gitu lho..

  • @harithzamri9403
    @harithzamri9403 6 років тому

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

  • @wanfuse
    @wanfuse 5 років тому

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

    • @resin01
      @resin01 5 років тому

      He is using Atom atom.io/

  • @pulkitrajpal7695
    @pulkitrajpal7695 6 років тому

    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 6 років тому

      Pulkit Rajpal what error

    • @pulkitrajpal7695
      @pulkitrajpal7695 6 років тому

      ShadowPlayz tf is not defined

    • @l0m-dev
      @l0m-dev 6 років тому

      Pulkit Rajpal well post the code here

  • @BishMigga
    @BishMigga 6 років тому +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  6 років тому +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!
      ua-cam.com/users/shiffmanplaylists?view=50&shelf_id=14&sort=dd
      ua-cam.com/users/shiffmanplaylists?view=50&shelf_id=2&sort=dd

  • @joostvanrens
    @joostvanrens 6 років тому +4

    Can I stop doing jumping jacks yet?

  • @kekoasesino
    @kekoasesino 6 років тому

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

  • @m.o.m.m7661
    @m.o.m.m7661 6 років тому +1

    this was helpful

  • @user-xk8yi6vj5m
    @user-xk8yi6vj5m 6 років тому +1

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

  • @st9761
    @st9761 6 років тому

    Is there a playlist of coding challenges?

    • @TheCodingTrain
      @TheCodingTrain  6 років тому

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

    • @st9761
      @st9761 6 років тому

      The Coding Train Thank you!

  • @eduar2tc904
    @eduar2tc904 6 років тому

    Ese mi loco del código

  • @sarveshwarans8037
    @sarveshwarans8037 6 років тому

    I love your work.. always! 🔥

  • @eliottuliocamaradonge2706
    @eliottuliocamaradonge2706 6 років тому

    I did #something.
    PS: Great video Dan.

  • @geek.with.a.camera
    @geek.with.a.camera 4 роки тому

    On white board it reads as XOR wtf layers

  • @AdaX3X
    @AdaX3X 6 років тому

    #something Great video! Keep up good work :D

  • @anaamnizami5359
    @anaamnizami5359 6 років тому

    is tensor flow for backend or client side?

    • @TheCodingTrain
      @TheCodingTrain  6 років тому +1

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

  • @martijnvankekem3286
    @martijnvankekem3286 6 років тому

    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!

  • @lionhardt75
    @lionhardt75 6 років тому +1

    #something :)

  • @SparkFoss
    @SparkFoss 6 років тому

    watch 50 shades of grey at 42:30 lol

  • @mathssoso4261
    @mathssoso4261 6 років тому

    what is this text editor? sublime text ?

    • @TheCodingTrain
      @TheCodingTrain  6 років тому

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

  • @kustomweb
    @kustomweb 6 років тому

    Thank you

  • @appelboer5090
    @appelboer5090 6 років тому

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

  • @CodeWithSen
    @CodeWithSen 6 років тому

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

  • @MatthewBishop64
    @MatthewBishop64 5 років тому

    hastag something

  • @sined704
    @sined704 6 років тому

    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.

  • @evelynwalker3754
    @evelynwalker3754 2 роки тому

    what if failor instead of error but like
    ah brb

  • @meewwxd
    @meewwxd 2 роки тому

    #something 😅

  • @benstoffels5108
    @benstoffels5108 6 років тому +1

    12:15 😂😂

  • @Naej7
    @Naej7 6 років тому

    #Something!

  • @ratkabu
    @ratkabu 6 років тому +1

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

  • @numero7mojeangering
    @numero7mojeangering 6 років тому

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

  • @amanadwani9100
    @amanadwani9100 6 років тому

    Come on dude, switch to vs code already!

  • @duckyvirus
    @duckyvirus 6 років тому

    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 6 років тому

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

    • @duckyvirus
      @duckyvirus 6 років тому

      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 6 років тому +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  6 років тому

      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 6 років тому

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

  • @adc0barra20
    @adc0barra20 6 років тому

    What a mess

  • @kuhlde1337
    @kuhlde1337 6 років тому +2

    #something

  • @Coolblockj
    @Coolblockj 6 років тому +1

    #something

  • @luftigo
    @luftigo 6 років тому +1

    #something

  • @Bufkin252
    @Bufkin252 6 років тому +1

    #something

  • @KingZelab
    @KingZelab 4 роки тому

    #something

  • @juloko
    @juloko 4 роки тому

    #something

  • @andruw5075
    @andruw5075 5 років тому

    #something

  • @andrewfarley6794
    @andrewfarley6794 6 років тому +2

    #something

  • @l0m-dev
    @l0m-dev 6 років тому +2

    #something

  • @offtheball87
    @offtheball87 6 років тому +3

    #something