dotnet / dotnet/machinelearning-modelbuilder

Set all feature values by setting a single float[] Features property on ModelInput

Open
#1,975 9 comments 0 reactions 0 assignees View on GitHub
Multiple Requests Priority:1 Reported by: Customer Stale
Dominant language
Dockerfile
Stars
285
Forks
66
PR merge metrics
No merged PRs in 30d

Description

**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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.