comparison ludwig_evaluate.py @ 0:70a4d910f09a draft default tip

planemo upload for repository https://github.com/goeckslab/Galaxy-Ludwig.git commit bdea9430787658783a51cc6c2ae951a01e455bb4
author goeckslab
date Tue, 07 Jan 2025 22:46:16 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:70a4d910f09a
1 import logging
2 import pickle
3 import sys
4
5 from ludwig.evaluate import cli
6
7 from ludwig_experiment import convert_parquet_to_csv, \
8 generate_html_report, make_visualizations
9
10 from model_unpickler import SafeUnpickler
11
12
13 logging.basicConfig(level=logging.INFO)
14
15 setattr(pickle, 'Unpickler', SafeUnpickler)
16
17 cli(sys.argv[1:])
18
19 ludwig_output_directory_name = ""
20
21 make_visualizations(ludwig_output_directory_name)
22
23 convert_parquet_to_csv(
24 ludwig_output_directory_name
25 )
26
27 title = "Ludwig Evaluate"
28 generate_html_report(title, "")