mlm_insights.config_reader.utils package

Submodules

mlm_insights.config_reader.utils.config_parser module

class mlm_insights.config_reader.utils.config_parser.ConfigParser

Bases: object

static compute_params(value: Any, config_map: Dict[str, Any]) Any
static get_typed_object(data: Dict[str, Any], config_map: Dict[str, Any]) Any

mlm_insights.config_reader.utils.config_reader_tests_utils module

mlm_insights.config_reader.utils.config_reader_tests_utils.add_dataset_tests(builder: InsightsTestBuilder, dataset_metric_tests: List[Any], config_registry: Dict[str, Any], test_config_errors: List[str]) InsightsTestBuilder
mlm_insights.config_reader.utils.config_reader_tests_utils.add_feature_tests(builder: InsightsTestBuilder, feature_metric_tests: List[Any], config_registry: Dict[str, Any], test_config_errors: List[str]) InsightsTestBuilder
mlm_insights.config_reader.utils.config_reader_tests_utils.create_exception_message(test_config_errors: List[str]) str
mlm_insights.config_reader.utils.config_reader_tests_utils.get_common_user_defined_tags(config_dict: Dict[str, Any]) Dict[str, str]
mlm_insights.config_reader.utils.config_reader_tests_utils.get_dataset_test_list(dataset_metric_tests: List[Any], config_registry: Dict[str, Any], test_config_errors: List[str]) List[TestBase]
mlm_insights.config_reader.utils.config_reader_tests_utils.get_feature_test_list(feature_metric_tests: List[Any], config_registry: Dict[str, Any], test_config_errors: List[str]) List[TestBase]
mlm_insights.config_reader.utils.config_reader_tests_utils.get_metric_based_test_on_feature(klass: Type[MetricBasedTestBase], feature_name: str, test_config: Dict[str, Any]) MetricBasedTestBase
mlm_insights.config_reader.utils.config_reader_tests_utils.get_predicate_based_test_on_dataset(klass: Type[PredicateBasedTestBase], test_config: Dict[str, Any]) PredicateBasedTestBase
mlm_insights.config_reader.utils.config_reader_tests_utils.get_predicate_based_test_on_feature(klass: Type[PredicateBasedTestBase], feature_name: str, test_config: Dict[str, Any]) PredicateBasedTestBase
mlm_insights.config_reader.utils.config_reader_tests_utils.get_rhs_for_predicate_based_test_on_dataset(test_config: Dict[str, Any]) DatasetMetricSelector
mlm_insights.config_reader.utils.config_reader_tests_utils.get_rhs_for_predicate_based_test_on_feature(feature_name: str, test_config: Dict[str, Any]) FeatureMetricSelector
mlm_insights.config_reader.utils.config_reader_tests_utils.get_test_list_from_config(config_registry: Dict[str, Any], tests: Dict[str, Any]) List[TestBase]
mlm_insights.config_reader.utils.config_reader_tests_utils.get_tests(config_dict: Dict[str, Any]) Dict[str, Any]

mlm_insights.config_reader.utils.config_reader_utils module

mlm_insights.config_reader.utils.config_reader_utils.generate_input_schema(config_dict: Dict[str, Any]) Dict[str, FeatureType]
mlm_insights.config_reader.utils.config_reader_utils.get_config_dict(location: str, **storage_options: Any) Dict[str, Any]
mlm_insights.config_reader.utils.config_reader_utils.get_config_json(config_location: str, **storage_options: Any) Dict[str, Any]
mlm_insights.config_reader.utils.config_reader_utils.get_data_set_metrics(config_dict: Dict[str, Any], config_map: Dict[str, Any]) List[MetricMetadata] | None
mlm_insights.config_reader.utils.config_reader_utils.get_engine_detail(config_dict: Dict[str, Any]) EngineDetail
mlm_insights.config_reader.utils.config_reader_utils.get_metric_confing(metric_data: Dict[str, Any]) Dict[str, Any]
mlm_insights.config_reader.utils.config_reader_utils.get_post_processors(config_dict: Dict[str, Any], config_map: Dict[str, Any]) List[PostProcessor]
mlm_insights.config_reader.utils.config_reader_utils.get_profile_reader(config_dict: Dict[str, Any], config_map: Dict[str, Any]) ProfileReader | None
mlm_insights.config_reader.utils.config_reader_utils.get_reader(config_dict: Dict[str, Any], config_map: Dict[str, Any]) DataReader
mlm_insights.config_reader.utils.config_reader_utils.get_tags(config_dict: Dict[str, Any]) Dict[str, str]
mlm_insights.config_reader.utils.config_reader_utils.get_transformers(config_dict: Dict[str, Any], config_map: Dict[str, Any]) List[Transformer]
mlm_insights.config_reader.utils.config_reader_utils.get_univariate_metrics(config_dict: Dict[str, Any], config_map: Dict[str, Any]) Dict[Any, List[MetricMetadata]]
mlm_insights.config_reader.utils.config_reader_utils.parse_object_storage_url(url: str) Match[str] | None
mlm_insights.config_reader.utils.config_reader_utils.read_file(file_name: str) bytes
mlm_insights.config_reader.utils.config_reader_utils.set_custom_component(custom_components: List[CustomComponent], config_registry: ConfigRegistry) None
mlm_insights.config_reader.utils.config_reader_utils.validate_config_format(config_location: str) None

mlm_insights.config_reader.utils.config_registry module

class mlm_insights.config_reader.utils.config_registry.ConfigRegistry

Bases: object

add_dask_components() None

Method to add dask components if the engine is dask.

Below components would be added to the config map

Reader component
  • CSVDaskDataReader

  • JsonlDaskDataReader

  • NestedJsonDaskDataReader

get_config_map() Dict[str, Any]
update_config_map(custom_component: Dict[str, Any]) None

Module contents