dotnet / dotnet/machinelearning
Predicted values are not at original scale after applying preFeaturizer
- Dominant language
- C#
- Stars
- 9.4k
- Forks
- 2k
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 11
Description
**TLDR: How can I do inverse transform using TransformerChain?**
When applying a preFeaturizer on the target column
`var logTransformer = mlContext.Transforms.NormalizeMinMax("Label",fixZero:true);`
within a regression experiment, the predicted values
`IDataView preds = result.Model.Transform(predictMe);`
are in the wrong scale.
Original values:
10
22
33
12
6
6
5
Predictions **without** preFeaturizer:
8.593365
19.133606
19.094164
11.576735
11.040246
10.156776
9.546574
Predictions **with** preFeaturizer:
0.06661523
0.14832252
0.14801677
0.08974213
0.08558331
0.0787347
0.07400444
as you can see, the predictions with the preFeaturizer applied are in a totally different scale.
How can I actually get the predicted values in the scale of the original target column and not in the scale of the applied transformer?
Contributor guide
Assessment
This issue has not been assessed yet.