Spaces:
Sleeping
Sleeping
Bhupen
commited on
Commit
·
dac601e
1
Parent(s):
033e764
Add ML intuitions py file
Browse files
app.py
CHANGED
@@ -195,9 +195,9 @@ def main():
|
|
195 |
|
196 |
# Generate an intertwined dataset
|
197 |
X, y = make_classification(
|
198 |
-
n_samples=200,
|
199 |
-
n_features=2,
|
200 |
-
n_redundant=0,
|
201 |
n_informative=2,
|
202 |
n_clusters_per_class=2,
|
203 |
class_sep=0.3, # Low separation
|
@@ -216,7 +216,7 @@ def main():
|
|
216 |
st.pyplot(fig)
|
217 |
|
218 |
|
219 |
-
# feature
|
220 |
# Load dataset
|
221 |
data = load_breast_cancer()
|
222 |
df = pd.DataFrame(data.data, columns=data.feature_names)
|
|
|
195 |
|
196 |
# Generate an intertwined dataset
|
197 |
X, y = make_classification(
|
198 |
+
n_samples =200,
|
199 |
+
n_features =2,
|
200 |
+
n_redundant =0,
|
201 |
n_informative=2,
|
202 |
n_clusters_per_class=2,
|
203 |
class_sep=0.3, # Low separation
|
|
|
216 |
st.pyplot(fig)
|
217 |
|
218 |
|
219 |
+
# feature discrimination
|
220 |
# Load dataset
|
221 |
data = load_breast_cancer()
|
222 |
df = pd.DataFrame(data.data, columns=data.feature_names)
|