citrine.informatics.predictors.simple_mixture_predictor module

class citrine.informatics.predictors.simple_mixture_predictor.SimpleMixturePredictor(name: str, *, description: str, training_data: List[DataSource] | None = None)

Bases: Resource[SimpleMixturePredictor], PredictorNode

A predictor interface that flattens a formulation into a simple mixture.

Parameters:
  • name (str) – name of the configuration

  • description (str) – description of the predictor

  • training_data (Optional[List[DataSource]]) – Sources of training data. Each can be either a CSV or an GEM Table. Candidates from multiple data sources will be combined into a flattened list and de-duplicated by uid and identifiers. De-duplication is performed if a uid or identifier is shared between two or more rows. The content of a de-duplicated row will contain the union of data across all rows that share the same uid or at least 1 identifier. Training data is unnecessary if the predictor is part of a graph that includes all training data required by this predictor.

access_control_dict() dict

Return an access control entity representation of this resource. Internal use only.

classmethod build(data: dict) Self

Build an instance of this object from given data.

dump() dict

Dump this instance.

classmethod get_type(data) Type[PredictorNode]

Return the subtype.

description: str = None
property input_descriptor: FormulationDescriptor

The input formulation descriptor with key ‘Formulation’.

name: str = None
property output_descriptor: FormulationDescriptor

The output formulation descriptor with key ‘Flat Formulation’.

property training_data

[DEPRECATED] Retrieve training data associated with this node.

Deprecated since version 3.5.0: This will be removed in 4.0.0. Training data must be accessed through the top-level GraphPredictor.’

typ = 'SimpleMixture'