csharp-notebooks
csharp-notebooks copied to clipboard
E2E-Classification with Iris Dataset.ipynb -> 'NotebookMonitor' could not be found
I tried running the "machine-learning/E2E-Classification with Iris Dataset.ipynb" file, and received the following error:
The type or namespace name 'NotebookMonitor' could not be found (are you missing a using directive or an assembly reference?)
Versions of things:
- .NET 7 SDK: 7.0.401
- .NET Version: 7.0.11
- VS Code: 1.82.2
- Polyglot Notebooks: v1.0.4461041 (pre-release)
Tried searching for that object on the internet and it's used around this repo, but for me, it doesn't work in any of the. I also tried changing the Polyglot extension to "Release" and that didn't do anything. I also tried upgrading Microsoft.ML and Microsoft.ML.AutoML to the most recent versions (2.0.1, 0.20.1, respectively) and that didn't work.
I was able to get around the error by just removing the monitor, but that's not fun!
E2E-Classification with Iris Dataset.ipynb
E2E-Forecasting using Autoregressive with Luna Dataset.ipynb
The notebook monitor code lives here https://github.com/dotnet/machinelearning/blob/09b80f8a08340dc7d79ac75e13c722313f0845eb/src/Microsoft.ML.AutoML.Interactive/NotebookMonitor.cs
And it should be loaded via Microsoft.ML.AutoML.Interactive.dll
. I assume the loading fails though because it seems that Microsoft.ML.AutoML.Interactive
targets to an old Microsoft.DotNet.Interactive
version which might contains API break change
@jeffsdata The fix is merged, you can now target to mlnet nightly build to use NotebookMonitor