Ruleset

class datarobot.models.Ruleset

Represents an approximation of a model with DataRobot Prime

Variables:
  • id (str) – the id of the ruleset

  • rule_count (int) – the number of rules used to approximate the model

  • score (float) – the validation score of the approximation

  • project_id (str) – the project the approximation belongs to

  • parent_model_id (str) – the model being approximated

  • model_id (str or None) – the model using this ruleset (if it exists). Will be None if no such model has been trained.

request_model()

Request training for a model using this ruleset

Training a model using a ruleset is a necessary prerequisite for being able to download the code for a ruleset.

Returns:

job – the job fitting the new Prime model

Return type:

Job