Skip to content

Latest commit

 

History

History

JupyterDemo

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Install Jupyter Notebooks for ML.NET

Install Python and Jupyter

  • Download Anaconda to install Python and Jupyter
  • Open Anaconda Prompt
  • Open Jupyter Notebook jupyter notebook

Install dotnet try tool

dotnet tool install -g dotnet-try

In Anaconda Prompt:

dotnet-try jupyter install

Run Jupyter Notebook

  • Open Anaconda Prompt
  • Switch to target directory
jupyter notebook
C#:
#r "nuget:XPlot.Plotly,3.0.1"

using XPlot.Plotly;
Markdown:
## Generate Numbers
C#:
%%time
var numbers = Enumerable.Range(0, 1000);

display(numbers);
var chart = Chart.Plot(
    new Graph.Scatter() 
    {
        x = numbers
    }
);

display(chart);