Skip to content

List Loader #195

Closed
Closed

Description

I was looking through the ml.net api for a generalized data loader, and I could not find one. So here is my proposal:

Take the following example for the TextLoader:

var dataPath = "intents.txt";
pipeline.Add(new TextLoader<IntentData>(dataPath, separator: "tab"));

I would like to have something like this:

var intents = new List<IntentData();
intents.Add(new IntentData());
pipeline.Add(new ListLoader<IntentData>(intents));

With a generalized loader like this I would have a wider range of sources for my data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions