tribuo icon indicating copy to clipboard operation
tribuo copied to clipboard

Load data from List obj in memory

Open hongchenme opened this issue 2 years ago • 2 comments

Can I load data directly from a JAVA list object? I saw there are tutorials about loading data from persistent sources, but didn't find any example about how to convert a in-memory data, such as list or table, into Datasource in Java

hongchenme avatar Sep 02 '23 01:09 hongchenme

If you have in memory data then you can use ListDataSource, along with a suitable function to convert your data into Example instances.

Craigacp avatar Sep 02 '23 01:09 Craigacp