Lecture 1 | Building a Linear Classifier (MLP) With Deeplearning4j

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

КОМЕНТАРІ • 55

  • @tonkaXT
    @tonkaXT 7 років тому +4

    today i digged a little bit deeper in loading data for training dataset, as I has a database, not csv. Was really impressed how overloaded and overcomplicated these functions are. Supposed it should take 10-15 minutes to understand how to switch data sources for 10+y java programmer, took me much longer.

  • @gerrycampion
    @gerrycampion 4 роки тому +1

    Most soothing nn tutorial ever

  • @Deeplearning4jSkymind
    @Deeplearning4jSkymind  7 років тому +13

    Hello all, thanks for your comments. You have been heard, future examples will go deeper into describing each step.
    You are welcome to ask questions here regarding the code steps.
    --
    Tom

    • @TheAraMC
      @TheAraMC 7 років тому

      Hi, i would you know if the value for one label are three, how change the initial part of the code? Thanks!

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

      Looks like the library's been updated since this video, am I correct in my understanding that the call to iterations on line 45 is now maxNumLineSearchIterations and that learningRate is no longer part of the builder? Also, updater has been deprecated.

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

      Could I have a link plz?

  • @hirakosa7789
    @hirakosa7789 7 років тому +17

    nice walkthrough in using deepLearning4j.
    Would be great addition if each step could be explained a bit, and more importantly: what is the training meant to be predicting exactly.. very unclear what was the objective.

    • @swym
      @swym 7 років тому +3

      Agree. I was expecting explanation for each step instead of just simply writing the code line by line.

    • @sujanmaka2926
      @sujanmaka2926 7 років тому

      same here

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

      What did you guys expect? You need to read the books to understand AI ;)
      www.deeplearningbook.org/
      neuralnetworksanddeeplearning.com/

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

      I already read a lot, so I felt like I could do it in no time. Now I tried this tutorial, especially because I am not very experienced with java. It is not that I do not understand the basics like why do I need an activation function or sth similar, but what functions are there in dl4j and what does this special function do. (I tried for example looking at the documentation, trying to find another way to this RecordReaderDataSetIterator function, as I have more than just 1 label for each line in my CSV-file, but even after 3 days I am still stuck and find no way around it...)

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

    What are hidden nodes, seed, updater, momentum, dense layer builder, iteration, weight init?

  • @liviamarieradtke10
    @liviamarieradtke10 7 років тому +3

    Error:"method call expected java"
    Just found my mistake after quite some time desperate search. XD Hope it helps for those typing while watching.
    In 06:38 "File(...)" was used, in 14:02 you'll see the correct version. "new File(...)".

    • @liviamarieradtke10
      @liviamarieradtke10 7 років тому

      Oh yeah and I really appreciate you making the video! Big thanks!

  • @ragnarruutel
    @ragnarruutel 7 років тому +18

    As a software developer it is incredibly painful to watch Tom type!

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

      he probably does it to explain things better. fast forward is the way to go. he talks too slow too

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

      @Larry Kawrence I think he's talkning about the horrid indentation.

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

    Sadly, I can't figure out how to set up the project. It simply doesn't work for me. It seems to start from the middle of no where.

  • @user-ns7jq7sf1g
    @user-ns7jq7sf1g 5 років тому +2

    Looking so long at 'File' without 'new' was a very disturbing experience. Also code formatting in Idea is very fast and accessible, but idk if it exists in CE.

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

      Yes, it is available in CE

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

    Great video.

  • @liviamarieradtke10
    @liviamarieradtke10 7 років тому +1

    Hello again, I just wanted to ask if the DenseLayer is more like an input layer oder a hidden layer? And if it's not an input layer, if we do not have to configure an input layer?

  • @upcomingprogrammer6244
    @upcomingprogrammer6244 7 років тому +2

    Sir ,what is the prerequisits for learning . and What is the use of it over machine learning.

    • @Deeplearning4jSkymind
      @Deeplearning4jSkymind  7 років тому +1

      Some pattern must exist in the input for the network to learn the required output. Less feature engineering required than machine learning

  • @filippovannella4957
    @filippovannella4957 6 років тому +42

    Just coding without any semantic information about what he is actually doing. Very bad!!! Especially for beginners in ML.

    • @mr.midnight8230
      @mr.midnight8230 5 років тому +1

      Like... actually wtf did he do omegalul

    • @josealejandrocornejoacosta124
      @josealejandrocornejoacosta124 5 років тому +4

      This is not for beginners, I recommend these videos for people who already know ML techniques and experience with other tools like Python tools, If you are starting you should start with Statistics fundamentals and any book about ML fundamentals.

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

    Can you please leave out unnecessary dependencies as well? There are a lot of dependencies in this project, and I don't see the necessity of it all. I want to know as bare bones as possible how to use DeepLearning4j.

  • @EventHorizon139
    @EventHorizon139 3 роки тому +1

    Hi. could you post another series with the latest DL4j 1.0.0 Beta 7? I am having major problems with my code. thanks.

  • @David-me2ht
    @David-me2ht 5 років тому +1

    the website doesn't work
    I clicked on it and it said 404

  • @gswthc
    @gswthc 7 років тому

    Nice video!

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

    Okay, if this is outdated is there a (link to a) current one available that could be posted here?

  • @birinhos
    @birinhos 7 років тому

    batch size is the number of examples (lines in the csv) ? 50 on train 50 on test ?
    About the rest of the movie ... that is classical NN do DL is here applied ....

  • @ryzen980
    @ryzen980 4 роки тому +4

    Wtf was that.....I didn't learn anything!!!

  • @TheDatasmith
    @TheDatasmith Рік тому

    github repo doesn't appear to exist?

  • @Sefyu23juventino
    @Sefyu23juventino 7 років тому

    why i'm getting an error in the FileSplit method telling me : The method File(String) is undefined for the type ... ?

    • @bowserwerwolf2
      @bowserwerwolf2 7 років тому +2

      He forgot to put the new in front of File, so the code should be:
      new File("pathToFile.csv")

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

    Hi,
    I wanna know how to convert hand written text to binary text using java.
    Thanks

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

    Could I have a link for download?

  • @joebowbeer
    @joebowbeer 7 років тому

    Two weightInit calls at 11:59 in layer 1 builder.

  • @jaserq
    @jaserq 4 роки тому +1

    We are writing this and then writing this .. . . what is THIS ?? So just give us the codes if you dont explain .

  • @LeoGoldenLabrador
    @LeoGoldenLabrador 7 років тому

    sir, this is for beginners or...?

  • @MyTorresmo
    @MyTorresmo 7 років тому

    where do i get the recordreader from

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

    do you need to always run mvn clean install?

  • @finn2001
    @finn2001 2 роки тому +1

    I have to say that it is weird how I see this 6 years old video, is like best Java AI related video in youtube. props for creator, Deeplearning4j Apis have changed little so this is outdated. Java AI promotion is so bad state, first I get terrible Tensor flow videos(it Java api 20% features implemented is worst possible choise for Java dev), Python it is good for it but not Java. So much of AI community has moved using Python that is even hard to find good videos for Java about subject.
    some small changes to made it work, if this helps someone ..
    RecordReader rr = new CSVRecordReader('\t');
    ..
    RecordReader rrTest = new CSVRecordReader('\t');
    Nesterovs updater = new Nesterovs();
    updater.setMomentum(0.9);
    updater.setLearningRate(learningRate);
    conf..
    .seed(seed).maxNumLineSearchIterations(1).optimizationAlgo(OptimizationAlgorithm.STOCHASTIC_GRADIENT_DESCENT).updater(updater)
    ..
    .weightInit(WeightInit.XAVIER).activation(Activation.RELU)
    ..
    conf.setBackpropType(BackpropType.Standard);
    also i ovverride ScoreIterationListener class to print my screen
    ..
    INDArray features = t.getFeatures();
    worked fine

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

    Idk why but this sound scary