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:
op_type_filter (
Optional
[str
], default:None
) – An optional type of operator to filter under, e.g. “Featurizer” shows only featurizers- Returns:
Dictionary that maps an operator name to an object that describes the configuration for each operator.
- Return type:
Dict[str, Any]
Examples
>>> sf.get_default_operators()
{
<operator_name>: {
'description': <description>,
'fit_inputs': <fit_inputs_dict>,
'params': <param_config_dict>,
}
...
}