prakharg24 commited on
Commit
b0cb170
·
verified ·
1 Parent(s): cdfb41c

Update my_pages/rashomon_effect.py

Browse files
Files changed (1) hide show
  1. my_pages/rashomon_effect.py +3 -3
my_pages/rashomon_effect.py CHANGED
@@ -25,9 +25,9 @@ def render():
25
  # credit = np.random.normal(50, 15, n_points)
26
  # labels = (income + credit > 100).astype(int) # 1 = paid back, 0 = default
27
 
28
- income = [80, 85, 97, 91, 78, 102, 84, 88, 45, 51, 34, 47, 38, 39, 97, 91, 38, 32]
29
- credit = [800, 805, 970, 910, 708, 1020, 804, 880, 450, 501, 304, 470, 380, 309, 370, 301, 1080, 902]
30
- labels = [1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1]
31
 
32
  colors = ['green' if label == 1 else 'red' for label in labels]
33
 
 
25
  # credit = np.random.normal(50, 15, n_points)
26
  # labels = (income + credit > 100).astype(int) # 1 = paid back, 0 = default
27
 
28
+ income = np.array([80, 85, 97, 91, 78, 102, 84, 88, 45, 51, 34, 47, 38, 39, 97, 91, 38, 32])
29
+ credit = np.array([800, 805, 970, 910, 708, 1020, 804, 880, 450, 501, 304, 470, 380, 309, 370, 301, 1080, 902])
30
+ labels = np.array([1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1])
31
 
32
  colors = ['green' if label == 1 else 'red' for label in labels]
33