13.5. Tuning alpha (elastic net case)ΒΆ

Elastic net requires tune an alpha parameter.

../_images/sphx_glr_plot_elastic_tuning_001.png
from gdsctools import *
ic = IC50(gdsctools_data("IC50_v5.csv.gz"))
gf = GenomicFeatures(gdsctools_data("genomic_features_v5.csv.gz"))
en = GDSCElasticNet(ic, gf)
en.tune_alpha(1047, alpha_range=(-3.5,-1), N=40, l1_ratio=0.1)

Total running time of the script: ( 0 minutes 9.486 seconds)

Generated by Sphinx-Gallery