jerome-white commited on
Commit
09faf22
·
1 Parent(s): 14a5e7a

No need to take the inverse log

Browse files
Files changed (2) hide show
  1. app.py +1 -2
  2. requirements.txt +0 -1
app.py CHANGED
@@ -9,7 +9,6 @@ import gradio as gr
9
  import seaborn as sns
10
  import matplotlib.pyplot as plt
11
  from datasets import load_dataset, get_dataset_split_names
12
- from scipy.special import expit
13
  from matplotlib.ticker import FixedLocator, StrMethodFormatter
14
 
15
  from hdinterval import HDI, HDInterval
@@ -35,7 +34,7 @@ def compare(df, model_1, model_2):
35
  columns=mcol,
36
  values='value'))
37
 
38
- return expit(view[model_1] - view[model_2])
39
 
40
  #
41
  #
 
9
  import seaborn as sns
10
  import matplotlib.pyplot as plt
11
  from datasets import load_dataset, get_dataset_split_names
 
12
  from matplotlib.ticker import FixedLocator, StrMethodFormatter
13
 
14
  from hdinterval import HDI, HDInterval
 
34
  columns=mcol,
35
  values='value'))
36
 
37
+ return view[model_1] - view[model_2]
38
 
39
  #
40
  #
requirements.txt CHANGED
@@ -3,4 +3,3 @@ gradio
3
  matplotlib
4
  pandas
5
  seaborn
6
- scipy
 
3
  matplotlib
4
  pandas
5
  seaborn