colda.workflow.test_workflow.assistor package

Submodules

colda.workflow.test_workflow.assistor.api module

class colda.workflow.test_workflow.assistor.api.TestAssistorMatchIdentifier

Bases: TestBaseWorkflow

Handle test assistor match identifier stage.

Methods

test_assistor_match_identifier

classmethod test_assistor_match_identifier(test_id: str, test_id_dict: dict[str, Any]) None

Execute train assistor match identifier logic.

Parameters

test_id: str test_id_dict : dict[str, Any]

Returns

None

classmethod test_cooperative_model(user_id: str, train_id: str, test_id: str, assistor_matched_identifer: dict[str]) None

In test stage, we dont need to wait the training target sent by the sponsor. We test the trained model using test dataset directly

Parameters

user_id : str train_id : str test_id : str assistor_matched_identifer : dict[str]

Returns

None

class colda.workflow.test_workflow.assistor.api.TestAssistorRequest

Bases: TestBaseWorkflow

Handle test assistor request stage.

Methods

test_assistor_request

classmethod test_assistor_request(test_id: str, test_id_dict: dict[str, Any]) None

Execute test assistor request logic.

Parameters

test_id: str test_id_dict : dict[str, Any]

Returns

None

colda.workflow.test_workflow.assistor.match_identifier module

class colda.workflow.test_workflow.assistor.match_identifier.TestAssistorMatchIdentifier

Bases: TestBaseWorkflow

Handle test assistor match identifier stage.

Methods

test_assistor_match_identifier

classmethod test_assistor_match_identifier(test_id: str, test_id_dict: dict[str, Any]) None

Execute train assistor match identifier logic.

Parameters

test_id: str test_id_dict : dict[str, Any]

Returns

None

classmethod test_cooperative_model(user_id: str, train_id: str, test_id: str, assistor_matched_identifer: dict[str]) None

In test stage, we dont need to wait the training target sent by the sponsor. We test the trained model using test dataset directly

Parameters

user_id : str train_id : str test_id : str assistor_matched_identifer : dict[str]

Returns

None

colda.workflow.test_workflow.assistor.request module

class colda.workflow.test_workflow.assistor.request.TestAssistorRequest

Bases: TestBaseWorkflow

Handle test assistor request stage.

Methods

test_assistor_request

classmethod test_assistor_request(test_id: str, test_id_dict: dict[str, Any]) None

Execute test assistor request logic.

Parameters

test_id: str test_id_dict : dict[str, Any]

Returns

None

Module contents