- Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
APIIssues pertaining the friendly APIIssues pertaining the friendly APIenhancementNew feature or requestNew feature or request
Milestone
Description
During one of the in-person API reviews we agreed that it would be a good idea to have a single object MLContext that would serve as a 'factory of everything' (similar to the HTTP context / DB context in the .NET world).
MLContextwill explicitly implementIHostEnvironment, so you can create all the existing estimators by giving the context as the first argument.MLContextwill have propertiesBinaryClassification,Regression,Clusteringetc. for canonical ML tasks (the ones that are currently classes in themselves), complete withEvaluateand all corresponding trainers.- It will have extension methods for non-canonical tasks like recommendation or anomaly detection etc.
- It will have properties
Transformation,Filtering,Loadingto instantiate all known transform estimators, filters and data readers (again via extension methods). - It will have a pair of methods
SaveModelandLoadModelthat handle model serialization.
/cc @KrzysztofCwalina @TomFinley @eerhardt @markusweimer @asthana86
brandonhenricks
Metadata
Metadata
Assignees
Labels
APIIssues pertaining the friendly APIIssues pertaining the friendly APIenhancementNew feature or requestNew feature or request