A Scoring Engine is an instance of a data model, to which a learning data was applied.
Because there might be multiple algorithms used to build a particular data model (and therefore a scoring engine), the usage of scoring engine might vary. A metainfo field is supposed to contain any information which might be needed by the user of a given scoring engine.
Bases: watcher.objects.base.WatcherObject
Create a ScoringEngine record in the DB.
Parameters: | context – Security context. NOTE: This should only be used internally by the indirection_api. Unfortunately, RPC requires context as the first argument, even though we don’t use it. A context should be set when instantiating the object, e.g.: ScoringEngine(context) |
---|
Delete the ScoringEngine from the DB.
Parameters: | context – Security context. NOTE: This should only be used internally by the indirection_api. Unfortunately, RPC requires context as the first argument, even though we don’t use it. A context should be set when instantiating the object, e.g.: ScoringEngine(context) |
---|
Find a scoring engine based on its id or uuid
Parameters: |
|
---|---|
Returns: | a ScoringEngine object. |
Find a scoring engine based on its id
Parameters: |
|
---|---|
Returns: | a ScoringEngine object. |
Find a scoring engine based on its name
Parameters: |
|
---|---|
Returns: | a ScoringEngine object. |
Find a scoring engine based on its uuid
Parameters: |
|
---|---|
Returns: | a ScoringEngine object. |
Return a list of ScoringEngine objects.
Parameters: |
|
---|---|
Returns: | a list of ScoringEngine objects. |
Loads updates for this ScoringEngine.
Loads a scoring_engine with the same id from the database and checks for updated attributes. Updates are applied from the loaded scoring_engine column by column, if there are any updates.
Parameters: | context – Security context. NOTE: This should only be used internally by the indirection_api. Unfortunately, RPC requires context as the first argument, even though we don’t use it. A context should be set when instantiating the object, e.g.: ScoringEngine(context) |
---|
Save updates to this ScoringEngine.
Updates will be made column by column based on the result of self.what_changed().
Parameters: | context – Security context. NOTE: This should only be used internally by the indirection_api. Unfortunately, RPC requires context as the first argument, even though we don’t use it. A context should be set when instantiating the object, e.g.: ScoringEngine(context) |
---|
soft Delete the ScoringEngine from the DB.
Parameters: | context – Security context. NOTE: This should only be used internally by the indirection_api. Unfortunately, RPC requires context as the first argument, even though we don’t use it. A context should be set when instantiating the object, e.g.: ScoringEngine(context) |
---|