Skip to content

Commit

Permalink
Update eval.py
Browse files Browse the repository at this point in the history
  • Loading branch information
nlsschim authored Feb 16, 2024
1 parent fb4221f commit fa33953
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions diff_predictor/eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
import scipy.stats
from seaborn import heatmap

if 'diff_predictor.core' not in sys.modules:
from diff_predictor import core


def perf_meas(y_actual, y_pred, cls, verbose=True):
'''
Expand Down Expand Up @@ -63,4 +60,4 @@ def corrmat(df, method='pearson', show_plot=True, **kwargs):
corr_mat = switch_case.get(method, lambda: error_msg)
if show_plot:
return heatmap(corr_mat, **plot_options)
return corr_mat
return corr_mat

0 comments on commit fa33953

Please sign in to comment.