-
-
Notifications
You must be signed in to change notification settings - Fork 91
.Net API
The .Net API allows you connect to OpenML from .Net applications.
Stable releases of the .Net API are available via NuGet. Use the NuGet package explorer in the Visual Studia, write “Install-Package openMl” to the NuGet package manager console or download the whole package from the NuGet website and add it into your project. Or, you can check out the developer version from GitHub.
Create an OpenmlConnector
instance with your api key. You can find this key in your account settings. This will create a client with OpenML functionalities, The functionalities mirror the OpenMlApi and not all of them are (yet) implemented. If you need some feature, don’t hesitate contact us via our Git page.
`var connector = new OpenMlConnector("YOURAPIKEY");`
All OpenMlConnector methods are documented via the usual .Net comments.
`var datasetDescription = connector.GetDatasetDescription(1);`
`var data = connector.ListDatasets();`
`var run = connector.GetRun(1);`
`var taskTypes = connector.ListTaskTypes();`
`var taskType = connector.GetTaskType(1);`
`var measures = connector.ListEvaluationMeasures();`
`var estimationProcs = connector.ListEstimationProcedures();`
`var estimationProc = connector.GetEstimationProcedure(1);`
`var dataQualities = connector.ListDataQualities();`
Drafts:
Proposals:
Other: