Version: 3.x


RuleOnlyDataProvider Objects

class RuleOnlyDataProvider(GraphComponent)

Provides slots and loops that are only used in rules to other policies.

Policies can use this to exclude features which are only used by rules from the featurization.


def create(cls, config: Dict[Text, Any], model_storage: ModelStorage,
resource: Resource,
execution_context: ExecutionContext) -> RuleOnlyDataProvider

Creates component (see parent class for docstring).


def provide() -> Dict[Text, Any]

Provides data to other graph component.