(self, X=None, **predict_params)
return result
Make predictions.

        Parameters
        ----------
        X :
            Features; see input_predict schema of the operator.

        Returns
        -------
        result :
            Predictions; see output_predict schema of the operator.
Make predictions.
Make predictions .
def predict(self, X=None, **predict_params) -> Any:
        """Make predictions.

        Parameters
        ----------
        X :
            Features; see input_predict schema of the operator.

        Returns
        -------
        result :
            Predictions; see output_predict schema of the operator.
        """
        # logger.info("%s enter predict %s", time.asctime(), self.name())
        result = self._predict(X, **predict_params)
        # logger.info("%s exit  predict %s", time.asctime(), self.name())
        if isinstance(result, lale.datasets.data_schemas.NDArrayWithSchema):
            return lale.datasets.data_schemas.strip_schema(
                result
            )  # otherwise scorers return zero-dim array
        return result
def predict ( self , X = None , * * predict_params ) -> Any : # logger.info("%s enter predict %s", time.asctime(), self.name()) result = self . _predict ( X , * * predict_params ) # logger.info("%s exit  predict %s", time.asctime(), self.name()) if isinstance ( result , lale . datasets . data_schemas . NDArrayWithSchema ) : return lale . datasets . data_schemas . strip_schema ( result ) # otherwise scorers return zero-dim array return result