pjautoml.cs.operand.graph.node.Node

class pjautoml.cs.operand.graph.node.Node(params=None, children=None)[source]

Partial settings for a component.

Parameters:
params

Dictionary like {‘param1’: Param(…), ‘param2’: Param(…), …}.

children

List of the next nodes. Only one is sampled at a time.

__init__(params=None, children=None)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__([params, children]) Initialize self.
disable_pretty_printing() Disable the pretty-printing.
enable_pretty_printing() Enable the pretty-printing.
partial_sample() Sample a partial config.
updated(**kwargs)

Attributes

jsonable
pretty_printing
disable_pretty_printing()[source]

Disable the pretty-printing.

enable_pretty_printing()[source]

Enable the pretty-printing.

partial_sample()[source]

Sample a partial config. It is not enough to make a component.

Returns:
A dict containing the partial config.