Whats the best route to save the predictions into a csv file (using Tribuo classes)
See original GitHub issueAsk the question
What’s the best route to save the predictions into a csv file (using Tribuo classes). Say I have a List<Prediction<Regressor>>
One way could be to iterate thru the list of items and write it to the disk via some FileXxxx()
class.
Is your question about a specific Tribuo class?
List<Prediction<Regressor>>
and Dataset
(one of it’s concrete subclasses)
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
How to program machine learning in Java with the Tribuo library
Tribuo is a new open source library written in Java from Oracle Labs' ... themselves are typed using the prediction class they produce....
Read more >Loading Columnar Data - Tribuo: Machine Learning in Java
This tutorial demonstrates Tribuo's systems for loading and featurising complex columnar data like csv files, json, and SQL database tables. Tribuo's Example ...
Read more >Saving prediction results to CSV - python - Stack Overflow
First Save the Model joblib.dump(regressor, "regressor. · Save columns in order pd.DataFrame(X_train. · Save data types of train set pd.DataFrame( ...
Read more >How to Save Your Machine Learning Model and Make ...
You can easily save a trained model to file in the Weka Explorer ... For example, below is an example of the same...
Read more >Going Deeper with Tribuo—Regression, Provenance and ...
In the previous post, First Tribuo Example, we saw how to implement a wine quality classifier with Tribuo, a Java-based Machine Learning library....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Let me try to work a workflow from a user perspective, I think some of the low-level (granular) calls could be brought to a higher-level (wrapped with higher-level functions) so we don’t have to do a lot of
x.y.z()
to get to the results - there is a bit of a cognitive overload as well when it comes to getting from one part of the flow to the other.What else did you need apart from the regression outputs? The features and ground truth outputs should be simple to access.