module grammar_sklearn.grammar.gmlactions

Inheritance diagram of mlprodict.grammar_sklearn.grammar.gmlactions

Short summary

module mlprodict.grammar_sklearn.grammar.gmlactions

Actions definition.

source on GitHub

Classes

class

truncated documentation

MLModel

Base class for every machine learned model

Properties

property

truncated documentation

ChildrenResults

Return the last execution results.

InputNames

Returns the input names

OutputNames

Returns the output names

Methods

method

truncated documentation

__init__

Documentation

Actions definition.

source on GitHub

class mlprodict.grammar_sklearn.grammar.gmlactions.MLModel(input, output_names=None, name=None)

Bases: mlprodict.grammar_sklearn.grammar.gactions.MLActionFunction

Base class for every machine learned model

source on GitHub

Parameters
  • name – a name which identifies the action

  • input – an action which produces the output result

  • output_names – names for the outputs

source on GitHub

property InputNames

Returns the input names

source on GitHub

property OutputNames

Returns the output names

source on GitHub

__init__(input, output_names=None, name=None)
Parameters
  • name – a name which identifies the action

  • input – an action which produces the output result

  • output_names – names for the outputs

source on GitHub

_export_c(hook=None, result_name=None)

Wrapper to cache the result of a function.

source on GitHub

_export_json(hook=None, result_name=None)

Wrapper to cache the result of a function.

source on GitHub