Skip to content

Commit

Permalink
Linting example
Browse files Browse the repository at this point in the history
  • Loading branch information
arokem committed Sep 10, 2024
1 parent 20b6ccb commit d0786e3
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions examples/plot_age_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,15 @@
10.1371/journal.pcbi.1009136
"""

import os.path as op

import matplotlib.pyplot as plt
import numpy as np
import os.path as op
from sklearn.model_selection import cross_validate

from afqinsight.datasets import download_weston_havens, load_afq_data
from afqinsight import make_afq_regressor_pipeline

from sklearn.model_selection import cross_validate
from afqinsight.datasets import download_weston_havens, load_afq_data

##########################################################################
# Fetch example data
Expand Down Expand Up @@ -84,7 +85,7 @@
groups=groups,
verbose=0, # Be quiet!
pipeline_verbosity=False, # No really, be quiet!
tuning_strategy="bayes", # Use BayesSearchCV to determine the optimal hyperparameters
tuning_strategy="bayes", # Use BayesSearchCV to determine optimal hyperparameters
n_bayes_iter=10, # Consider only this many points in hyperparameter space
cv=3, # Use three CV splits to evaluate each hyperparameter combination
l1_ratio=[0.0, 1.0], # Explore the entire range of ``l1_ratio``
Expand Down

0 comments on commit d0786e3

Please sign in to comment.