andromeda01111 commited on
Commit
084cbbd
·
verified ·
1 Parent(s): e34bafc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -60,13 +60,13 @@ feature_names = [
60
  ]
61
 
62
  # Example inputs
63
- benign_example = [13.54, 14.36, 87.46, 566.3, 0.09779, 0.08129, 0.06664, 0.04781, 0.1885, 0.05766,
64
- 0.2699, 0.7886, 2.058, 23.56, 0.008462, 0.0146, 0.02387, 0.01315, 0.0198, 0.0023,
65
- 15.11, 19.26, 99.7, 711.2, 0.144, 0.1773, 0.239, 0.1288, 0.2977, 0.07259]
66
 
67
- malignant_example = [17.99, 10.38, 122.8, 1001.0, 0.1184, 0.2776, 0.3001, 0.1471, 0.2419, 0.07871,
68
- 1.095, 0.9053, 8.589, 153.4, 0.006399, 0.04904, 0.05373, 0.01587, 0.03003, 0.006193,
69
- 25.38, 17.33, 184.6, 2019.0, 0.1622, 0.6656, 0.7119, 0.2654, 0.4601, 0.1189]
70
 
71
  def classify(model_choice, image=None, *features):
72
  """Classify using ViT (image) or NN (features)."""
 
60
  ]
61
 
62
  # Example inputs
63
+ benign_example = [9.504,12.44,60.34,273.9,0.1024,0.06492,0.02956,0.02076,0.1815,0.06905,0.2773,0.9768,
64
+ 1.909,15.7,0.009606,0.01432,0.01985,0.01421,0.02027,0.002968,10.23,15.66,65.13,314.9,
65
+ 0.1324,0.1148,0.08867,0.06227,0.245,0.07773]
66
 
67
+ malignant_example = [11.42,20.38,77.58,386.1,0.1425,0.2839,0.2414,0.1052,0.2597,0.09744,0.4956,1.156,
68
+ 3.445,27.23,0.00911,0.07458,0.05661,0.01867,0.05963,0.009208,14.91,26.5,98.87,567.7,
69
+ 0.2098,0.8663,0.6869,0.2575,0.6638,0.173]
70
 
71
  def classify(model_choice, image=None, *features):
72
  """Classify using ViT (image) or NN (features)."""