ApexCode.Interactive.Formatting
0.0.1-beta.5
ML.NET Formatters and Helpers for Jupyter Notebooks with .NET Kernel
(Microsoft.DotNet.Interactive.Formatting)
This is a prerelease version of ApexCode.Interactive.Formatting.
Install-Package ApexCode.Interactive.Formatting -Version 0.0.1-beta.5
dotnet add package ApexCode.Interactive.Formatting --version 0.0.1-beta.5
<PackageReference Include="ApexCode.Interactive.Formatting" Version="0.0.1-beta.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ApexCode.Interactive.Formatting --version 0.0.1-beta.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ApexCode.Interactive.Formatting, 0.0.1-beta.5"
For F# scripts that support #r syntax, copy this into the source code to reference the package.
ApexCode Interactive Object Formatters
Register needed objects like it follows:
Jupyter Notebook
#r "nuget:ApexCode.Interactive.Formatting"
using ApexCode.Interactive.Formatting;
DataFrame, DataFrameColumn
Formatters.Register<DataFrame>();
display(df);
var columnRows = dataFrame.Columns[0];
display(columnRows);
ConfusionMatrix (variant 1)
Formatters.Register<ConfusioMatrixDisplayView>();
var categories = new string[] { "FlashLight", "Infrared", "Day", "Lighter" };
display(metrics.ConfusioMatrix.AddCategories(categories));
ConfusionMatrix (variant 2)
Formatters.Register<ConfusioMatrix>();
var categories = new string[] { "FlashLight", "Infrared", "Day", "Lighter" };
display(metrics.ConfusioMatrix(categories));.
ApexCode Interactive Object Formatters
Register needed objects like it follows:
Jupyter Notebook
#r "nuget:ApexCode.Interactive.Formatting"
using ApexCode.Interactive.Formatting;
DataFrame, DataFrameColumn
Formatters.Register<DataFrame>();
display(df);
var columnRows = dataFrame.Columns[0];
display(columnRows);
ConfusionMatrix (variant 1)
Formatters.Register<ConfusioMatrixDisplayView>();
var categories = new string[] { "FlashLight", "Infrared", "Day", "Lighter" };
display(metrics.ConfusioMatrix.AddCategories(categories));
ConfusionMatrix (variant 2)
Formatters.Register<ConfusioMatrix>();
var categories = new string[] { "FlashLight", "Infrared", "Day", "Lighter" };
display(metrics.ConfusioMatrix(categories));.
Release Notes
Update for compatibility to the latest dotnet interactive, 1.0.0-beta.20426.1
Dependencies
-
.NETCoreApp 3.1
- FSharp.Compiler.Private.Scripting (>= 11.0.0-beta.20428.1)
- MathNet.Numerics (>= 4.12.0)
- Microsoft.Data.Analysis (>= 0.4.0)
- Microsoft.DotNet.Interactive (>= 1.0.0-beta.20426.1)
- Microsoft.ML (>= 1.5.1)
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version History
Version | Downloads | Last updated |
---|---|---|
0.0.1-beta.5 | 141 | 9/7/2020 |
0.0.1-beta.4 | 96 | 7/17/2020 |
0.0.1-beta.3 | 89 | 7/8/2020 |