haizad commited on
Commit
509d119
1 Parent(s): 91ae28e

fix extra vars error

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ matplotlib.use("Agg")
7
  import matplotlib.pyplot as plt
8
  import seaborn as sns
9
 
10
- def train_estimators(max_depth,n_estimators):
11
  rng = np.random.RandomState(1)
12
  X = np.linspace(0, 6, 100)[:, np.newaxis]
13
  y = np.sin(X).ravel() + np.sin(6 * X).ravel() + rng.normal(0, 0.1, X.shape[0])
 
7
  import matplotlib.pyplot as plt
8
  import seaborn as sns
9
 
10
+ def train_estimators(n_estimators):
11
  rng = np.random.RandomState(1)
12
  X = np.linspace(0, 6, 100)[:, np.newaxis]
13
  y = np.sin(X).ravel() + np.sin(6 * X).ravel() + rng.normal(0, 0.1, X.shape[0])