logai.algorithms package
Subpackages
- logai.algorithms.anomaly_detection_algo package
- Submodules
- logai.algorithms.anomaly_detection_algo.anomaly_detector_het module
- logai.algorithms.anomaly_detection_algo.dbl module
- logai.algorithms.anomaly_detection_algo.distribution_divergence module
- logai.algorithms.anomaly_detection_algo.ets module
- logai.algorithms.anomaly_detection_algo.forecast_nn module
- logai.algorithms.anomaly_detection_algo.isolation_forest module
- logai.algorithms.anomaly_detection_algo.local_outlier_factor module
- logai.algorithms.anomaly_detection_algo.logbert module
- logai.algorithms.anomaly_detection_algo.one_class_svm module
- Module contents
- logai.algorithms.categorical_encoding_algo package
- logai.algorithms.clustering_algo package
- logai.algorithms.nn_model package
- Subpackages
- logai.algorithms.nn_model.forecast_nn package
- logai.algorithms.nn_model.logbert package
- Submodules
- logai.algorithms.nn_model.logbert.configs module
- logai.algorithms.nn_model.logbert.eval_metric_utils module
- logai.algorithms.nn_model.logbert.predict module
- logai.algorithms.nn_model.logbert.predict_utils module
- logai.algorithms.nn_model.logbert.tokenizer_utils module
- logai.algorithms.nn_model.logbert.train module
- Module contents
- Submodules
- logai.algorithms.nn_model.transformers module
- Module contents
- Subpackages
- logai.algorithms.parsing_algo package
- logai.algorithms.vectorization_algo package
- Submodules
- logai.algorithms.vectorization_algo.fasttext module
- logai.algorithms.vectorization_algo.forecast_nn module
- logai.algorithms.vectorization_algo.logbert module
- logai.algorithms.vectorization_algo.semantic module
- logai.algorithms.vectorization_algo.sequential module
- logai.algorithms.vectorization_algo.tfidf module
- logai.algorithms.vectorization_algo.word2vec module
- Module contents
Submodules
logai.algorithms.algo_interfaces module
logai.algorithms.factory module
- class logai.algorithms.factory.AlgorithmFactory
Bases:
object
The singleton factory class for all the supported algorithms.
- get_algorithm(task, name, config)
Gets a algorithm instance given an algorithm name and a config instance.
- Parameters:
task – The task name.
name – The algorithm name.
config – The config instance.
- get_algorithm_class(task, name)
Gets the corresponding algorithm class given an algorithm name.
- Parameters:
task – The task name.
name – The algorithm name.
- get_config(task, name, config_dict)
Gets a configuration instance given an algorithm name and a config dict.
- Parameters:
task – The task name.
name – The algorithm name.
config_dict – The config dictionary.
- get_config_class(task, name)
Gets the corresponding configuration class given an algorithm name.
- Parameters:
task – The task name.
name – The algorithm name.
- instance = <logai.algorithms.factory.AlgorithmFactory object>
- classmethod register(task, name, config_class)
Registers the algorithm name and the configuration class for an algorithm class.
- Parameters:
task – The task name, e.g., detection, clustering
name – The algorithm name(s).
config_class – The configuration class.
- classmethod unregister(task, name)
Unregisters a registered algorithm.
- Parameters:
task – The task name.
name – The algorithm name.