Upgrade to Pro — share decks privately, control downloads, hide ads and more …

JGS594 Lecture 11

JGS594 Lecture 11

Software Engineering for Machine Learning
Working with a Model
(202202)

Javier Gonzalez-Sanchez

February 23, 2022
Tweet

More Decks by Javier Gonzalez-Sanchez

Other Decks in Programming

Transcript

  1. jgs SER 594 Software Engineering for Machine Learning Lecture 11:

    Working with a Model Dr. Javier Gonzalez-Sanchez [email protected] javiergs.engineering.asu.edu | javiergs.com PERALTA 230U Office Hours: By appointment
  2. Javier Gonzalez-Sanchez | SER 594 | Spring 2022 | 3

    jgs Listeners https://refactoring.guru/design-patterns/observer
  3. Javier Gonzalez-Sanchez | SER 594 | Spring 2022 | 4

    jgs Listeners // add this before calling fit() model.setListeners(new MyListener());
  4. Javier Gonzalez-Sanchez | SER 594 | Spring 2022 | 7

    jgs Output 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1 21 41 61 81 101 121 141 161 181 201 221 241 261 281 301 321 341 361 381 401 421 441 461 481 501 521 541 561 581 601 621 641 661 681 701 721 741 761 781 801 821 841 861 881 901 921 941 961 981
  5. Javier Gonzalez-Sanchez | SER 594 | Spring 2022 | 10

    jgs Load the Model Load the updater
  6. Javier Gonzalez-Sanchez | SER 594 | Spring 2022 | 13

    jgs Application / / int [] y = model.predict (input) / / y[0]
  7. Javier Gonzalez-Sanchez | SER 594 | Spring 2022 | 14

    jgs Can we create a GUI? SEPAL LENGTH: SEPAL WIDTH: PETAL LENGTH: PETAL WIDTH: IRIS TYPE: Calculate
  8. Javier Gonzalez-Sanchez | SER 594 | Spring 2022 | 27

    jgs Assignment 04 1. Select a new dataset. Lecture 08 https://archive-beta.ics.uci.edu Your own CSV data from a project you are working on 2. Create a Java Program for training a model until achieving a good performance (0.05). Save the model. This can be console application or GUI. Your choice. 3. Create a Java Application that use the model. It should have a GUI Allow the user to input data: load an image, text, etc. Show a result/classification § You can work in a team of 2 or 3. No more than 3. Individual is OK. § Include Javadoc for classes and methods. https://www.oracle.com/technical-resources/articles/java/javadoc-tool.html § Submit java files. How many files?
  9. jgs SER 594 Software Engineering for Machine Learning Javier Gonzalez-Sanchez,

    Ph.D. [email protected] Spring 2022 Copyright. These slides can only be used as study material for the class CSE205 at Arizona State University. They cannot be distributed or used for another purpose.