lib.sedna.core.lifelong_learning.knowledge_management.base_knowledge_management

Module Contents

Classes

BaseKnowledgeManagement

Base class of knowledge management.

class lib.sedna.core.lifelong_learning.knowledge_management.base_knowledge_management.BaseKnowledgeManagement(config, seen_estimator, unseen_estimator)[source]

Base class of knowledge management. It includes model and sample update to knowledge base server.

Parameters: config: BaseConfig, see ‘sedna.common.config.BaseConfig’ for more details.

It sets basic configs for knowledge management.

seen_estimator: Instance

An instance with the high-level API that greatly simplifies machine learning programming. Estimators encapsulate training, evaluation, prediction, and exporting for a model.

unseen_estimator: Instance

An instance with the high-level API that greatly simplifies mechanism model learning programming. Estimators encapsulate training, evaluation, prediction, and exporting for a mechanism model.

abstract update_kb(task_index)[source]
abstract save_task_index(task_index, task_type=None, **kwargs)[source]