Comments (3)
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
andAllClassAttributes
- Ignores any calls to
AddClassAttribute
andRemoveClassAttribute
(you set these statically) - Holds a fixed amount of data from your streaming source,
Get
just does some arithmetic. MapOverRows
just callsGet
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.
Thanks for the help! I will reach out if I have any issues.
from golearn.
are there any examples of this in github or online?
from golearn.
Related Issues (20)
- The same order of categorical values for Equals function is necessary or not HOT 1
- Example about how to query the model after being trained using KNN ? HOT 4
- Building the KNN Example as a static linked executable fails
- runtime error:cgo argument has Go pointer to Go pointer HOT 2
- neural: Rename `neural.NeuralFunction` -> `neural.Function` HOT 1
- Bad import, was an upstream dependency deleted? HOT 2
- Question: How to convert class name into single quote?
- Any interest in XGBoost? HOT 7
- Implement tanh activation func HOT 2
- Error in download golearn with 'go get' HOT 3
- KNNClassifier has no field or method optimisedEuclideanPredict HOT 2
- golearn can read the .pickle converted csv file ?
- Support for Apple Metal HOT 2
- KNN Classifier saved and loaded models don't give the same results. HOT 1
- KNN.optimisedEuclideanPredict undefined (type *KNNClassifier has no field or method optimisedEuclideanPredict) HOT 6
- Question: Could we save the model and use it next time for reproduction of result? HOT 6
- there is a crash in dbscan algoritm HOT 8
- Update readme cover image
- PCA returns all 0's HOT 5
- This library is defunct: please correct me if I'm wrong…
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from golearn.