Code Monkey home page Code Monkey logo

Comments (4)

chenditc avatar chenditc commented on August 11, 2024

Workflow of new logistic regression:

  1. Use Dataloader class to load data set.
  2. Get required meta data from data set, eg. dimensionality
  3. Create training model
  4. Call trainModel(trainingSet, validationSet) to train the model
  5. Call testModel(testSet) to test the model

from deeplearningresearch.

chenditc avatar chenditc commented on August 11, 2024
  1. Use Dataloader class to load data set.
  2. Get required meta data from data set, eg. dimensionality
  3. Create training model
  4. Call trainModel(trainingSet, validationSet) to train the model

These are done for logistic regression model. Next step:

  1. refactor train model to use scan function.
  2. encapsulate train method in another class, eg. earlystopping, pre-training
  3. encapsulate testModel in a new function

from deeplearningresearch.

chenditc avatar chenditc commented on August 11, 2024
  1. scan function seems not intent to replace for loop. I will look at more example to see if scan is more general used operation or just a new function. This requirement cancelled for now.
  2. EarlyStopTrainer is uploaded. Pre-training will defer until I read the related paper.
  3. Done. one method called testModel in Logistic Regression class. This should be a common interface for all models

from deeplearningresearch.

chenditc avatar chenditc commented on August 11, 2024

close

from deeplearningresearch.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.