Skip to content

Commit

Permalink
Update example plots
Browse files Browse the repository at this point in the history
  • Loading branch information
reidjohnson committed Aug 31, 2024
1 parent 0b8a515 commit 64e9449
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/plot_quantile_multioutput.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
legend = {k: v for f in funcs for k, v in f["legend"].items()}


def make_funcs_Xy(funcs, bounds, n_samples):
def make_funcs_Xy(funcs, n_samples, bounds):
"""Make a dataset from specified function(s) with signal and noise."""
x = np.linspace(*bounds, n_samples)
y = np.empty((len(x), len(funcs)))
Expand All @@ -49,7 +49,7 @@ def make_funcs_Xy(funcs, bounds, n_samples):


# Create a dataset with multiple target variables.
X, y = make_funcs_Xy(funcs, bounds, n_samples)
X, y = make_funcs_Xy(funcs, n_samples, bounds)

X_train, X_test, y_train, y_test = train_test_split(X, y, random_state=random_state)

Expand Down

0 comments on commit 64e9449

Please sign in to comment.