Mercurial > repos > goeckslab > ludwig_evaluate
diff ludwig_autogenconfig.py @ 3:777be50bc321 draft default tip
planemo upload for repository https://github.com/goeckslab/Galaxy-Ludwig.git commit 4dc221b2fa9717552787f0985ad3fc3df4460158
author | goeckslab |
---|---|
date | Sat, 21 Jun 2025 15:04:47 +0000 |
parents | 70a4d910f09a |
children |
line wrap: on
line diff
--- a/ludwig_autogenconfig.py Fri Mar 14 16:48:25 2025 +0000 +++ b/ludwig_autogenconfig.py Sat Jun 21 15:04:47 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,