module grammar.gmlactions

Inheritance diagram of mlprodict.grammar.gmlactions

Short summary

module mlprodict.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.gmlactions.MLModel(input, output_names=None, name=None)[source]

Bases: mlprodict.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

InputNames

Returns the input names

source on GitHub

OutputNames

Returns the output names

source on GitHub

__init__(input, output_names=None, name=None)[source]
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