code: def predict(self, X):
          
          check_is_fitted(self, "coef_")
  
          X = numpy.atleast_2d(X)
  
          return numpy.dot(X, self.coef_)
docs: Predict risk scores.
  
          Parameters
          ----------
          X : array-like, shape = (n_samples, n_features)
              Data matrix.
  
          Returns
          -------
          risk_score : array, shape = (n_samples,)
              Predicted risk scores.