dotnet / dotnet/machinelearning-modelbuilder
Set all feature values by setting a single float[] Features property on ModelInput
- 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.**
When I run the trained models I always need to fill the properties of `ModelInput` that represent an input value one-by-one. Since I typically have 5000+ input values, I use reflection to do the property setting. Although it works, it would be much better to have a Features float array on the `ModelInput`, just like we have on the `ModelOutput`.
**Describe the solution you'd like**
I'd like to have a generated, writable `float[] Features` property on the `ModelInput` class to set the input values.
**Describe alternatives you've considered**
I use Reflection now to set the values one-by-one.
**Additional context**
I have big dataset with many feature columns.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia individuando le classi generate ModelInput e ModelOutput, quindi confronta il modo in cui ModelOutput espone la proprietà Features. Traccia il modo in cui vengono generate le colonne delle feature per ModelInput e verifica che l’assegnazione di un float[] fornisca tutti i valori di input; il lavoro è completato quando il modello di input generato supporta questa operazione senza reflection.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- csharp
- Ambito
- machine-learning
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 35/100