adjusted_r2_score

mastml.metrics.adjusted_r2_score(y_true, y_pred, n_features=None)[source]

Method that calculates the adjusted R^2 value

Args:
y_true: (numpy array), array of true y data values y_pred: (numpy array), array of predicted y data values n_features: (int), number of features used in the fit
Returns:
(float): score of adjusted R^2