dotnet / machinelearning

ML.NET is an open source and cross-platform machine learning framework for .NET.
https://dot.net/ml
MIT License
9k stars 1.88k forks source link

Not able to specify if a Feature is Categorical or Continuous #5960

Closed jjkcharles closed 2 years ago

jjkcharles commented 2 years ago

System information

Issue

Source code / logs

Screenshot below, image

michaelgsharp commented 2 years ago

@JakeRadMSFT are you able to move this to the model builder repo?

JakeRadMSFT commented 2 years ago

@michaelgsharp I'm not able to ...

@jjkcharles

What version of Model Builder do you have installed? It looks like you might have an old one.

Is the Advanced Options not showing up for you?

image

jjkcharles commented 2 years ago

@JakeRadMSFT Yes right, the advanced option is not available - but I very well remember it was available a few weeks back.

This is the version I have right now. The install date is today, because I was trying to reinstall and see if it helps fix the issue. image

JakeRadMSFT commented 2 years ago

@jjkcharles that is so strange.

Can you show me the individual components section of the VS Installer?

Mine looks like below and it's working for me. Perhaps the installer is getting confused about the in-box version and the extension if they're both installed? Sorry that you're hitting this ... the upgrade path was working before but perhaps we have a bug here.

image

jjkcharles commented 2 years ago

@JakeRadMSFT Below is my what I get in Individual components,

image

Strangely, the "Advanced " option works in Data Tab of Model Builder now. I did fiddle around with the Components multiple times trying to uninstall and reinstall already installed components. But none seemed to have worked last night. But, boom it all looks OK now. And, I haven't even rebooted Windows of Visual Studio since the last time I found Model Builder not working as expected.

For what its worth, I recently installed VS 2022 Preview on my machine (about 3 weeks back) - and have a feeling thats what might have caused this issue.

Also, can you elaborate on the in-box version vs Extension - I don't remember installing it any other way other than the VS installer.

One different I notice though is you have the Model Builder (under .NET) unchecked whereas mine is checked.

Thanks for taking the time to check on this!

JakeRadMSFT commented 2 years ago

I'm glad it's working now!

"in-box version vs Extension" yeah essentially when you install via the installer you get version 16.6.3 (i think that's right). Then it auto-updates from the marketplace to 16.7.6 https://marketplace.visualstudio.com/items?itemName=MLNET.07.

I think your VS was somehow confused in this process. Running the commands below might have fixed it but I'm not sure ... these are supposed to run automatically when things are updated.

devenv.exe /clearCache devenv.exe /updateConfiguration

michaelgsharp commented 2 years ago

Closing since this is now resolved.