def predict(self, X): """Decide for each feature in each sample if it is on or off. _MultiLabelDecisionMaker uses a multi-label classifier to predict the multi-labels for all features. However, the classifier must first be trained by calling fit. """ check_is_fitted(self, 'model_', 'n_features_') X = check_feature_array(X, self.n_features_) predictions = self.model_.predict(X) return predictions
def predict(self, X): check_is_fitted(self, 'model_', 'n_features_') X = check_feature_array(X, self.n_features_) predictions = self.model_.predict(X) return predictions