def experiments_predictions_get(self, experiment_id, run_id):
        """Get prediction object with given identifier for given experiment.

        Parameters
        ----------
        experiment_id : string
            Unique experiment identifier
        run_id : string
            Unique model run identifier

        Returns
        -------
        ModelRunHandle
            Handle for the model run or None if experiment or prediction is
            unknown
        """
        # Get experiment to ensure that it exists
        if self.experiments_get(experiment_id) is None:
            return None
        # Get predition handle to ensure that it exists
        model_run = self.predictions.get_object(run_id)
        if model_run is None:
            return None
        # Perform additional check that prediction is for given experiment
        if experiment_id != model_run.experiment_id:
            return None
        # Return model run object
        return model_run
def experiments_predictions_get ( self , experiment_id , run_id ) : if self . experiments_get ( experiment_id ) is None : return None model_run = self . predictions . get_object ( run_id ) if model_run is None : return None if experiment_id != model_run . experiment_id : return None return model_run
Get prediction object with given identifier for given experiment.

        Parameters
        ----------
        experiment_id : string
            Unique experiment identifier
        run_id : string
            Unique model run identifier

        Returns
        -------
        ModelRunHandle
            Handle for the model run or None if experiment or prediction is
            unknown