Mercurial > repos > goeckslab > ludwig_config_generator
diff ludwig_autogenconfig.py @ 4:36c5fcc49286 draft default tip
planemo upload for repository https://github.com/goeckslab/Galaxy-Ludwig.git commit 4dc221b2fa9717552787f0985ad3fc3df4460158
author | goeckslab |
---|---|
date | Sat, 21 Jun 2025 15:05:41 +0000 |
parents | 183adfc24076 |
children |
line wrap: on
line diff
--- a/ludwig_autogenconfig.py Tue Mar 18 20:52:00 2025 +0000 +++ b/ludwig_autogenconfig.py Sat Jun 21 15:05:41 2025 +0000 @@ -3,7 +3,6 @@ from ludwig import automl from ludwig.utils import defaults - from pandas import read_csv logging.basicConfig(level=logging.DEBUG) @@ -39,7 +38,7 @@ # get the output feature name df = read_csv(args.dataset, nrows=2, sep=None, engine='python') names = df.columns.tolist() - target = names[args.output_feature-1] + target = names[args.output_feature - 1] args_init = ["--dataset", args.dataset, "--target", target,