dotnet / dotnet/machinelearning-modelbuilder

Add interfaces for MLModel, MLModel.ModelInput, MLModel.ModelOutput generated classes

Aperta
#1,973 2 commenti 1 reazione 0 assegnatari Vedi su GitHub
Reported by: Customer Stale
Lingua principale
Dockerfile
Stelle
285
Fork
66
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**Is your feature request related to a problem? Please describe.**
I have multiple models trained on a dataset that have multiple labels. I disable all of them and enable one of them at a time, do the training, and then enable only the next one, do the training etc.
I end up with multiple trained models and their respective generated classes for consumption.

**Describe the solution you'd like**
It would be great to have a common interface for the MLModel, MLModel.ModelInput and MLModel.ModelOutput classes, because when I need to consume them that would simplify my code significantly.

**Describe alternatives you've considered**
I can still use them separately, but this causes code duplication and code management difficulties.

**Additional context**
I would only need a definition on the interface of the MLModel for the `IModelOutput Predict(IModelInput input)` method, and the `Score` property on the interface of the `ModelOutput`.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.