Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for data already in program #2

Closed
kazazes opened this issue Feb 4, 2016 · 2 comments
Closed

Support for data already in program #2

kazazes opened this issue Feb 4, 2016 · 2 comments

Comments

@kazazes
Copy link

kazazes commented Feb 4, 2016

Does mltk have support for data structures which are already present in the runtime of the program? I'm loading and manipulating data after fetching it from a remote database, and would love to pump in my matrices directly into mltk without writing to disk.

@yinlou
Copy link
Owner

yinlou commented Feb 5, 2016

Take a look at InstancesReader, you can construct Instances in memory easily.

@kazazes
Copy link
Author

kazazes commented Feb 5, 2016

Got it, and done. I built convenience constructors that take data formatted in mltk's data format as string arguments. Would you like those in the library? Can put a quick PR together. Thank you so much for the library, it's really well put together and intuitive. Our OOP styles are quite similar.

Question: Do you have any built in method for k-fold cross validation of alpha and lambda values in an elastic net context? I didn't see anything built in to the class but I also haven't dived too deeply into any of the evaluation classes.

@kazazes kazazes closed this as completed Feb 9, 2016
yinlou pushed a commit that referenced this issue Apr 1, 2016
Fixing broken GLM serialization/deserialization
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants