Git Product home page Git Product logo

Comments (3)

Sentimentron avatar Sentimentron commented on September 26, 2024

Your options are... limited for the time being. Given Go's typical usage, streaming predictions are an important goal, but for the moment (whilst we get the initial algorithms implemented) we assume a fixed prediction size.

One thing I think might be helpful is to implement a custom FixedDataGrid that's appropriate for your application. I've written a quick wikipage to help you get started. My strategy would be to implement one which:

  • Reports a certain number of Attributes of a certain type in AllAttributes and AllClassAttributes
  • Ignores any calls to AddClassAttribute and RemoveClassAttribute (you set these statically)
  • Holds a fixed amount of data from your streaming source, Get just does some arithmetic.
  • MapOverRows just calls Get using each Attribute for each row in the small amount of stored data.
  • Just returns "Streamed row" for RowString
  • Returns a fixed Size equal to the number of pre-defined Attributes and rows.
  • Implements a getNextBatch function which just fetches another n rows from your data source, and you'd call that after using a predictor.

Don't hesitate to ask any questions! Your experience might be helpful for us as we implement more on-line learning algorithms.

from golearn.

vrecan avatar vrecan commented on September 26, 2024

Thanks for the help! I will reach out if I have any issues.

from golearn.

h4ck3rm1k3 avatar h4ck3rm1k3 commented on September 26, 2024

are there any examples of this in github or online?

from golearn.

Related Issues (20)

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.