Spaces:
Build error
Build error
Commit
·
cb33c92
1
Parent(s):
7e40384
app.py 2
Browse files
app.py
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
|
11 |
def main(Pregnancies,Glucose_level,BP,skin_thickness,Insulin,BMI,Diabetes_Function,Age):
|
12 |
|
|
|
1 |
+
import numpy as np # linear algebra
|
2 |
+
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)
|
3 |
+
import matplotlib.pyplot as plt
|
4 |
+
import gradio as gr
|
5 |
+
from sklearn.model_selection import train_test_split
|
6 |
+
from sklearn.linear_model import LogisticRegression
|
7 |
+
from sklearn.metrics import accuracy_score
|
8 |
+
from sklearn.model_selection import cross_val_score
|
9 |
+
from sklearn.metrics import r2_score
|
10 |
|
11 |
def main(Pregnancies,Glucose_level,BP,skin_thickness,Insulin,BMI,Diabetes_Function,Age):
|
12 |
|