Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import numpy as np
|
2 |
import matplotlib.pyplot as plt
|
3 |
from sklearn import neighbors
|
|
|
4 |
|
5 |
def train_and_plot(weights, n_neighbors):
|
6 |
np.random.seed(0)
|
|
|
1 |
import numpy as np
|
2 |
import matplotlib.pyplot as plt
|
3 |
from sklearn import neighbors
|
4 |
+
import gradio as gr
|
5 |
|
6 |
def train_and_plot(weights, n_neighbors):
|
7 |
np.random.seed(0)
|