mlwiz
- mlwiz.data
- data.dataset
CoraDatasetInterfaceDatasetInterface._load_dataset()DatasetInterface._save_dataset()DatasetInterface.dataset_filenameDatasetInterface.dataset_filepathDatasetInterface.dataset_folderDatasetInterface.dataset_nameDatasetInterface.dim_input_featuresDatasetInterface.dim_targetDatasetInterface.nameDatasetInterface.process_dataset()DatasetInterface.raw_dataset_folder
IterableDatasetInterfaceIterableDatasetInterface.dataset_filepathsIterableDatasetInterface.dataset_folderIterableDatasetInterface.dataset_nameIterableDatasetInterface.dim_input_featuresIterableDatasetInterface.dim_targetIterableDatasetInterface.process_dataset()IterableDatasetInterface.raw_dataset_folderIterableDatasetInterface.set_eval()IterableDatasetInterface.shuffle_urls()IterableDatasetInterface.shuffle_urls_elements()IterableDatasetInterface.splice()IterableDatasetInterface.subset()IterableDatasetInterface.url_indices
MNISTMNISTTemporalNCI1ToyIterableDataset_ReshapeMNISTTemporal
- data.provider
DataProviderDataProvider._get_dataset()DataProvider._get_loader()DataProvider._get_splitter()DataProvider._require_exp_seed()DataProvider._require_outer_and_inner_k()DataProvider._require_outer_k()DataProvider.get_dim_input_features()DataProvider.get_dim_target()DataProvider.get_inner_train()DataProvider.get_inner_val()DataProvider.get_outer_test()DataProvider.get_outer_train()DataProvider.get_outer_val()DataProvider.set_exp_seed()DataProvider.set_inner_k()DataProvider.set_outer_k()
IterableDataProviderSingleGraphDataProviderSingleGraphDataProvider._get_dataset()SingleGraphDataProvider._get_loader()SingleGraphDataProvider._get_splitter()SingleGraphDataProvider.get_inner_train()SingleGraphDataProvider.get_inner_val()SingleGraphDataProvider.get_outer_test()SingleGraphDataProvider.get_outer_train()SingleGraphDataProvider.get_outer_val()
SubsetTrainEval_iterable_worker_init_fn()seed_worker()
- data.sampler
- data.splitter
- data.util
- data.dataset
- mlwiz.evaluation
- evaluation.config
- evaluation.evaluator
RiskAssesserRiskAssesser._create_dataset_getter()RiskAssesser._request_termination()RiskAssesser.compute_best_hyperparameters()RiskAssesser.compute_final_runs_score_per_fold()RiskAssesser.compute_risk_assessment_result()RiskAssesser.model_selection()RiskAssesser.process_config_results_across_inner_folds()RiskAssesser.process_model_selection_runs()RiskAssesser.risk_assessment()RiskAssesser.run_final_model()RiskAssesser.wait_configs()
_get_ray_num_gpus_per_task()_make_termination_checker()_mean_std_ci()_push_progress_update()_set_cuda_memory_limit_from_env()extract_and_sum_elapsed_seconds()run_test()run_valid()send_telegram_update()
- evaluation.grid
- evaluation.random_search
- evaluation.util
_collect_metric_samples()_df_to_latex_table()_list_outer_fold_ids()_load_final_run_metric_samples()_summarize_samples()choice()create_dataframe()create_latex_table_from_assessment_results()filter_experiments()get_scores_from_assessment_results()get_scores_from_outer_results()instantiate_data_provider_from_config()instantiate_dataset_from_config()instantiate_model_from_config()load_checkpoint()loguniform()normal()randint()retrieve_best_configuration()retrieve_experiments()statistical_significance()uniform()
- mlwiz.experiment
- mlwiz.log
- mlwiz.model
- mlwiz.training
- training.callback
- training.event
- training.engine
DataStreamTrainingEngineTrainingEngineTrainingEngine._check_termination()TrainingEngine._loop()TrainingEngine._loop_helper()TrainingEngine._restore_checkpoint_and_best_results()TrainingEngine._to_data_list()TrainingEngine._to_list()TrainingEngine._train()TrainingEngine.cumulative_batch_unsent_timeTrainingEngine.cumulative_epoch_unsent_timeTrainingEngine.infer()TrainingEngine.set_device()TrainingEngine.set_eval_mode()TrainingEngine.set_training_mode()TrainingEngine.train()
fmt()log()reorder()
- training.profiler
- training.util
mlwiz.util
General-purpose helper functions for MLWiz.
Includes dotted-path resolution, config parsing helpers, and atomic dill serialization utilities.
- mlwiz.util.atomic_dill_save(data: object, filepath: str) object
Saves a dill object to a file. :param data: the dill object to save :param filepath: the path to the dill object to save
- mlwiz.util.dill_load(filepath: str) object
Loads a dill file. :param filepath: the path to the dill file :return: an object
- mlwiz.util.return_class_and_args(config: dict, key: str, return_class_name: bool = False) Tuple[Callable[[...], object], dict]
Returns the class and arguments associated to a specific key in the configuration file.
- Parameters:
config (dict) – the configuration dictionary
key (str) – a string representing a particular class in the configuration dictionary
return_class_name (bool) – if
True, returns the class name as a string rather than the class object
- Returns:
a tuple (class, dict of arguments), or (None, None) if the key is not present in the config dictionary
- mlwiz.util.s2c(class_name: str) Callable[[...], object]
Converts a dotted path to the corresponding class
- Parameters:
class_name (str) – dotted path to class name
- Returns:
the class to be used