carte_ai.scripts package
Submodules
carte_ai.scripts.compile_results_singletable module
Script for compling results
carte_ai.scripts.download_data module
Script for downloading required data.
- carte_ai.scripts.download_data.main(option='carte', include_raw=False, include_ken=False)
carte_ai.scripts.evaluate_singletable module
Script for evaluating a model of choice for single tables.
- carte_ai.scripts.evaluate_singletable.main(data_name, num_train, method, random_state, bagging, device)
- carte_ai.scripts.evaluate_singletable.run_model(data_name, num_train, method, random_state, bagging, device)
Run model for specific experiment setting.
carte_ai.scripts.preprocess_lm module
Python script for preparing datasets for evaluation
- carte_ai.scripts.preprocess_lm.data_preprocess(data_name: str, device: str = 'cuda:0')
- carte_ai.scripts.preprocess_lm.main(datalist, device: str = 'cuda:0')
carte_ai.scripts.preprocess_raw module
Script for preprocessing raw data.
- carte_ai.scripts.preprocess_raw.main(data_name_list)
- carte_ai.scripts.preprocess_raw.preprocess_data(data_name)
Preprocess the raw data with the given name of the dataset.