Skip to content
This repository was archived by the owner on Sep 11, 2026. It is now read-only.
This repository was archived by the owner on Sep 11, 2026. It is now read-only.

E2E-Classification with Iris Dataset.ipynb -> 'NotebookMonitor' could not be found #81

Open
dotnet/machinelearning
#6836

Description

@jeffsdata

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
image

E2E-Forecasting using Autoregressive with Luna Dataset.ipynb
image

Activity

  1. LittleLittleCloud commented on Sep 22, 2023

    @LittleLittleCloud
    Member

    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

  2. LittleLittleCloud commented on Sep 26, 2023

    @LittleLittleCloud
    Member

    @jeffsdata The fix is merged, you can now target to mlnet nightly build to use NotebookMonitor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions