Giter Site home page Giter Site logo

Implement main worker process. about oppia-ml HOT 5 CLOSED

oppia avatar oppia commented on September 15, 2024
Implement main worker process.

from oppia-ml.

Comments (5)

anmolshkl avatar anmolshkl commented on September 15, 2024

@prasanna08 before starting with this issue it might be a better idea to define what a classifier is going to be like (since your algorithm_registry will return a classifier). What exactly are we supposed to return to the user, an instance of the classifier or the class? I think the issue needs more detailing.

from oppia-ml.

prasanna08 avatar prasanna08 commented on September 15, 2024

Classifier -- classifier is a class developed by user which takes in raw training data obtained from job request and returns trained model in dict format. It uses other 3rd party libraries for implementing required model. Does that clarify what I mean by classifier?

algorithm_registry -- returns an instance of classifier. So it returns instance of a classifier which is implemented as a class by developer. Does that clear your doubt?

from oppia-ml.

anmolshkl avatar anmolshkl commented on September 15, 2024

@prasanna08 thanks, that does help. I think it would be better if there existed a classifier before you made an algorithm_registry (since there would be something to return and test with).

Also, earlier we had concluded that returning a class of the the algorithm is better than returning an instance. I don't think the same use case applies here but it might be worth checking out.

from oppia-ml.

prasanna08 avatar prasanna08 commented on September 15, 2024

@anmolshkl I don't see what difference it makes whether we return a class or instance of class. Perhaps you can tell me why you decided to return a class earlier?

algorithm_registry: yes it would have been better if we had some existing classifier to test it with but we can do that later too, once we do have some classifier to test the registry.

from oppia-ml.

seanlip avatar seanlip commented on September 15, 2024

Technically, instance or class doesn't really matter here. But I think a class might make more sense conceptually since presumably the point is that there's just one object here? If for some reason you need to parameterize it then instances would make sense.

from oppia-ml.

Related Issues (11)

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.