module notebook.csmlmagics

Inheritance diagram of csharpyml.notebook.csmlmagics

Short summary

module csharpyml.notebook.csmlmagics

Defines magic commands to interact with C# in a Python notebook.

source on GitHub

Classes

class truncated documentation
CsMLMagics Defines magic commands for notebooks.

Functions

function truncated documentation
register_magics Registers magics commands.

Properties

property truncated documentation
Context return the context or None
cross_validation_lock A contextmanager for running a block with our cross validation lock set to True. At the end of the block, …

Static Methods

staticmethod truncated documentation
maml_parser Defines the way to parse the magic command %%maml.
mlnet_parser Defines the way to parse the magic command %%mlnet.

Methods

method truncated documentation
maml Defines magic command %%maml.
mlnet Defines magic command %%mlnet. Relies on magic command :epkg:`%%CS`.

Documentation

Defines magic commands to interact with C# in a Python notebook.

source on GitHub

class csharpyml.notebook.csmlmagics.CsMLMagics(shell=None, **kwargs)[source]

Bases: pyquickhelper.ipythonhelper.magic_class.MagicClassWithHelpers

Defines magic commands for notebooks.

source on GitHub

_trait_default_generators = {}
maml(line, cell)[source]

Defines magic command %%maml.

%%maml

The magic command wraps the function maml.

%%maml

data=iris.txt
loader=text{col=Label:U4[0-2]:0 col=Slength:R4:1 col=Swidth:R4:2
            col=Plength:R4:3 col=Pwidth:R4:4 sep=, header=+}
xf=Concat{col=Features:Slength,Swidth}
tr=ova{p=lr}
out=model.zip

source on GitHub

static maml_parser()[source]

Defines the way to parse the magic command %%maml.

source on GitHub

mlnet(line, cell)[source]

Defines magic command %%mlnet. Relies on magic command :epkg:`%%CS`.

%%mlnet

The magic command wraps the function mlnet.

%%mlnet

source on GitHub

static mlnet_parser()[source]

Defines the way to parse the magic command %%mlnet.

source on GitHub

csharpyml.notebook.csmlmagics.register_magics(ip)[source]

Registers magics commands.

source on GitHub