snorkelflow.client.operators.get_default_operators
- snorkelflow.client.operators.get_default_operators(op_type_filter=None)
Return a description of the built-in operators
Retreives the configuration format required for instantiating an operator onto a node. Each object returned provides a description of the operator and a list of inputs for that operator.
Parameters
Parameters
Returns
Returns
Dictionary that maps an operator name to an object that describes the configuration for each operator.
Return type
Return type
Dict[str, Any]
Name Type Default Info op_type_filter Optional[str]
None
An optional type of operator to filter under, e.g. “Featurizer” shows only featurizers. Examples
>>> sf.get_default_operators()
{
<operator_name>: {
'description': <description>,
'fit_inputs': <fit_inputs_dict>,
'params': <param_config_dict>,
}
...
}