snorkelflow.client.operators.get_default_operators
warning
This is a beta function in 25.4. Beta features may have known gaps or bugs, but are functional workflows and eligible for Snorkel Support. To access beta features, contact Snorkel Support to enable the feature flag for your Snorkel-hosted instance.
- 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>,
}
...
}