dotnet / dotnet/machinelearning-modelbuilder

class instantiation error when making a forecast model

Open
#2,647 2 comments 0 reactions 1 assignee Claimed by @zewditu View on GitHub
Stale
Dominant language
Dockerfile
Stars
285
Forks
66
PR merge metrics
No merged PRs in 30d

Description

**System Information:**
- Model Builder Version 17.16.0.2326802
- Visual Studio Version VS community 2022 17.6.1

**Describe the bug**
- On which step of the process did you run into an issue: After training a forecast model
- Clear description of the problem: After training a forecasting model using the model builder I get a Class instantiation error. It does not matter what training method I'm using. It does say that training was complete but I am unable to evaluate it and no code files are generated.

**To Reproduce**
Steps to reproduce the behavior:
1. Create a C# console app
2. Select .net 7.0
3. Create Machine Learning Model
4. Select forecast and upload data (I'm using a txt file with stock prices for nvida starting May 24 2023 and going back to January of 2023 in month increments [EX: 5/24/23, 4/24/23, 3/24/23])
5. Train and The error pops up

**Expected behavior**
Training to complete with no errors and code files are generated

**Screenshots**
data
![image](https://github.com/dotnet/machinelearning-modelbuilder/assets/76536315/446a557d-4a43-45c5-b2f8-496b2b853deb)
error message
![image](https://github.com/dotnet/machinelearning-modelbuilder/assets/76536315/c983c306-308f-4a66-99d3-1f436c4315e4)

**Additional context**
I had an error related to Azure before the class instantiation error that I fixed by updating Visual Studio. I have a separate ML.NET project that identifies whether or not an image has text that works fine on the same ML Builder version.
In the log file, I removed the line with the storage location as it contains the user name used to login to the computer which is my dad's because he set up the account.
[predctionModel-XAVFMI.txt](https://github.com/dotnet/machinelearning-modelbuilder/files/11558058/predctionModel-XAVFMI.txt)

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.