Spaces:
Sleeping
Sleeping
Bhupen
commited on
Commit
·
c3c5c9a
1
Parent(s):
64a89d8
Add ML intuitions py file
Browse files
app.py
CHANGED
@@ -222,6 +222,9 @@ def main():
|
|
222 |
df = pd.DataFrame(data.data, columns=data.feature_names)
|
223 |
df["target"] = data.target
|
224 |
|
|
|
|
|
|
|
225 |
# List of numeric features
|
226 |
numeric_features = list(df.select_dtypes(include=["float64", "int64"]).columns)
|
227 |
#numeric_features.remove("target")
|
|
|
222 |
df = pd.DataFrame(data.data, columns=data.feature_names)
|
223 |
df["target"] = data.target
|
224 |
|
225 |
+
X = pd.DataFrame(data.data, columns=data.feature_names)
|
226 |
+
y = pd.Series(data.target)
|
227 |
+
|
228 |
# List of numeric features
|
229 |
numeric_features = list(df.select_dtypes(include=["float64", "int64"]).columns)
|
230 |
#numeric_features.remove("target")
|