gt4sd.cli.algorithms module

Utilities for algorithms retrieval.

Summary

Functions:

filter_algorithm_applications

Returning algorithms with given filters.

get_configuration_tuples

Returning configuration tuples from a list of applications.

Reference

filter_algorithm_applications(algorithms, filters)[source]

Returning algorithms with given filters.

Parameters
  • algorithms (List[Dict[str, str]]) – a list of algorithm applications as dictionaries.

  • filters (Dict[str, str]) – the filters to apply.

Return type

List[Dict[str, str]]

Returns

the filtered algorithms.

get_configuration_tuples(algorithms)[source]

Returning configuration tuples from a list of applications.

Parameters

algorithms (List[Dict[str, str]]) – a list of algorithm applications as dictionaries.

Return type

List[ConfigurationTuple]

Returns

the configuration tuples.