colda package
Subpackages
- colda.algorithm package
- Subpackages
- colda.algorithm.common_stage package
- colda.algorithm.metric package
- colda.algorithm.model package
- colda.algorithm.strategy package
- Subpackages
- Submodules
- colda.algorithm.strategy.abstract_algorithm_strategy module
- colda.algorithm.strategy.api module
- colda.algorithm.strategy.base module
- colda.algorithm.strategy.dp module
- colda.algorithm.strategy.test_algorithm module
- colda.algorithm.strategy.train_algorithm module
- colda.algorithm.strategy.utils module
- Module contents
- colda.algorithm.test_stage package
- colda.algorithm.train_stage package
- Submodules
- colda.algorithm.api module
- colda.algorithm.base module
- colda.algorithm.utils module
- Module contents
- Subpackages
- colda.authentication package
- colda.database package
- Subpackages
- Submodules
- colda.database.abstract_database module
- colda.database.api module
- colda.database.base module
- colda.database.database_factory module
- colda.database.utils module
- Module contents
- colda.error package
- colda.network package
- colda.pi package
- colda.short_polling package
- colda.tests package
- Subpackages
- colda.tests.test_algorithm package
- colda.tests.test_authentication package
- colda.tests.test_connection package
- colda.tests.test_database package
- colda.tests.test_network package
- colda.tests.test_pi package
- colda.tests.test_utils package
- colda.tests.test_workflow package
- Submodules
- colda.tests.test_workflow.Test_helper_function module
- colda.tests.test_workflow.Train_helper_function module
- colda.tests.test_workflow.conftest module
- colda.tests.test_workflow.test module
- colda.tests.test_workflow.test_find_assistor module
- colda.tests.test_workflow.test_find_test_assistor module
- colda.tests.test_workflow.test_unread_match_identifier module
- colda.tests.test_workflow.test_unread_output module
- colda.tests.test_workflow.test_unread_request module
- colda.tests.test_workflow.test_unread_situation module
- colda.tests.test_workflow.test_unread_test_match_identifier module
- colda.tests.test_workflow.test_unread_test_output module
- colda.tests.test_workflow.test_unread_test_request module
- Module contents
- Submodules
- colda.tests.api module
- Module contents
- Subpackages
- colda.utils package
- Subpackages
- Submodules
- colda.utils.api module
- colda.utils.constant module
- colda.utils.dict_helper module
- colda.utils.serialization module
- colda.utils.store module
- colda.utils.utils module
- Module contents
- colda.workflow package
- Subpackages
- Submodules
- colda.workflow.abstract_workflow module
AbstractTestMainWorkflow
AbstractTestMainWorkflow.find_test_assistor()
AbstractTestMainWorkflow.get_instance()
AbstractTestMainWorkflow.test_assistor_match_identifier()
AbstractTestMainWorkflow.test_assistor_request()
AbstractTestMainWorkflow.test_match_identifier()
AbstractTestMainWorkflow.test_output()
AbstractTestMainWorkflow.test_sponsor_match_identifier()
AbstractTrainMainWorkflow
AbstractTrainMainWorkflow.find_assistor()
AbstractTrainMainWorkflow.get_instance()
AbstractTrainMainWorkflow.stop_train()
AbstractTrainMainWorkflow.train_assistor_match_identifier()
AbstractTrainMainWorkflow.train_assistor_request()
AbstractTrainMainWorkflow.train_assistor_situation()
AbstractTrainMainWorkflow.train_match_identifier()
AbstractTrainMainWorkflow.train_output()
AbstractTrainMainWorkflow.train_situation()
AbstractTrainMainWorkflow.train_sponsor_match_identifier()
AbstractTrainMainWorkflow.train_sponsor_situation()
- colda.workflow.api module
TestMainWorkflow
TrainMainWorkflow
TrainMainWorkflow.find_assistor()
TrainMainWorkflow.get_class()
TrainMainWorkflow.stop_train()
TrainMainWorkflow.train_assistor_match_identifier()
TrainMainWorkflow.train_assistor_request()
TrainMainWorkflow.train_assistor_situation()
TrainMainWorkflow.train_match_identifier()
TrainMainWorkflow.train_output()
TrainMainWorkflow.train_situation()
TrainMainWorkflow.train_sponsor_match_identifier()
TrainMainWorkflow.train_sponsor_situation()
- colda.workflow.base module
- colda.workflow.test_main_workflow module
- colda.workflow.train_main_workflow module
TrainMainWorkflow
TrainMainWorkflow.find_assistor()
TrainMainWorkflow.get_class()
TrainMainWorkflow.stop_train()
TrainMainWorkflow.train_assistor_match_identifier()
TrainMainWorkflow.train_assistor_request()
TrainMainWorkflow.train_assistor_situation()
TrainMainWorkflow.train_match_identifier()
TrainMainWorkflow.train_output()
TrainMainWorkflow.train_situation()
TrainMainWorkflow.train_sponsor_match_identifier()
TrainMainWorkflow.train_sponsor_situation()
- colda.workflow.utils module
- Module contents
Submodules
colda.StopRequest module
colda.api module
Module contents
- class colda.Colda
Bases:
object
- clean_db()
- fit(max_round: int, assistors: list, task_mode: Literal['classification', 'regression'], model_name: Literal['linear', 'decision_tree', 'svm', 'gradient_boosting', 'mlp'], metric_name: Literal['MAD', 'RMSE', 'R2', 'Accuracy', 'F1', 'AUCROC'], train_file_path: str, train_id_column: str, train_data_column: str, train_target_column: str, task_name: str | None = None, task_description: str | None = None) None
Sponsor initiate a new training task.
Parameters
max_round : int assistors : list task_mode : Task_Mode model_name : Model_Name metric_name : Metric_Name train_file_path : str train_id_column : str train_data_column : str train_target_column : str task_name : str=None task_description : str=None
Returns
None
- get_algo_log()
- get_all_algo_logs()
- get_all_test_id()
- get_all_test_id_as_assistor()
- get_all_test_id_as_sponsor()
- get_all_train_id()
- get_all_train_id_as_assistor()
- get_all_train_id_as_sponsor()
- load(fileName: str = 'Colda', path: str = './', mode: str = 'pickle') None
- login(username: str, password: str) bool
User login.
Parameters
username : str password : str
Returns
None
- predict(test_file_path: str, test_id_column: str, test_data_column: str, test_target_column: str, test_name: str | None = None, test_description: str | None = None) None
Sponsor call for test of a train task.
Parameters
train_id : str test_file_path : str test_id_column : str test_data_column : str test_target_column : str test_name : str=None test_description : str=None
Returns
None
- register(username: str, email: str, password: str) None
User registers.
Parameters
username : str email : str password : str
Returns
None
- save(fileName: str = 'Colda', path: str = 'D:\\GitHub\\ColAI\\colda\\package\\colda', mode: str = 'pickle') None
- set_default_info(default_mode: Literal['auto', 'manual'], default_task_mode: Literal['classification', 'regression'], default_model_name: Literal['linear', 'decision_tree', 'svm', 'gradient_boosting', 'mlp'], default_file_path: str | None = None, default_id_column: str | None = None, default_data_column: str | None = None) None
Set default info used for training and testing as assistor.
Parameters
default_mode : Mode default_task_mode : Task_Mode default_model_name : Model_Name default_file_path : str=None default_id_column : str=None default_data_column : str=None
Returns
None
- set_test_stage_custom_handler(handler_type: str = 'fixedParameter', OwnFunction: dict[str, Callable] | None = None)
- set_train_stage_custom_handler(handler_type: str = 'fixedParameter', OwnFunction: dict[str, Callable] | None = None)
- test_function() str
- test_network() str
- colda.load(fileName: str = 'Colda', path: str = 'D:\\GitHub\\ColAI\\colda\\package\\colda', mode: str = 'pickle') None