Spaces:
Sleeping
Sleeping
Fix syntax error
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import gradio as gr
|
|
6 |
X, y = make_circles(n_samples=1_000, factor=0.3, noise=0.05, random_state=0)
|
7 |
X_train, X_test, y_train, y_test = train_test_split(X, y, stratify=y, random_state=0)
|
8 |
|
9 |
-
def fit_plot(n_comp, gamma, alpha)
|
10 |
|
11 |
pca = PCA(n_components=n_comp)
|
12 |
kernel_pca = KernelPCA(
|
|
|
6 |
X, y = make_circles(n_samples=1_000, factor=0.3, noise=0.05, random_state=0)
|
7 |
X_train, X_test, y_train, y_test = train_test_split(X, y, stratify=y, random_state=0)
|
8 |
|
9 |
+
def fit_plot(n_comp, gamma, alpha):
|
10 |
|
11 |
pca = PCA(n_components=n_comp)
|
12 |
kernel_pca = KernelPCA(
|