mlm_insights.builder.runner package¶
Submodules¶
mlm_insights.builder.runner.post_processor_runner module¶
- class mlm_insights.builder.runner.post_processor_runner.PostProcessorRunner(post_processor_request: PostProcessorRequest, post_processors: List[PostProcessor])¶
- Bases: - ABC- run() Dict[str, PostProcessorResult]¶
- Run the Post Processors one after another. 
 
mlm_insights.builder.runner.runner module¶
- class mlm_insights.builder.runner.runner.Runner(input_schema: Dict[str, FeatureType], reader: DataReader | None, transformers: List[Transformer], data_frame: Any, metrics: MetricDetail, post_processors: List[PostProcessor], engine: EngineDetail, tags: Tags, transformed_schema: Schema, test_config: TestConfig, reference_profile: Profile | ProfileReader | None)¶
- Bases: - object- |This class instance would be created via MlmInsightBuilder and implements run method to execute a ml-insight run
- and generate results. 
 - run() RunResult¶
- Maps the data from builder to a workflow request, runs the fugue workflow to generate a profile , evaluate the tests to generate test result and run the post processors on the profile and test result. - Returns¶- RunResult: output of the run, including the profile, test result and post processors run result. 
 - run_fugue_workflow() Profile¶
- Helper code to execute fugue workflow - Returns¶- Profile : profile generated by fugue workflow 
 - run_post_processors(profile: Profile, test_results: TestResults | None) Dict[str, Any]¶
- Helper code to run post processors 
 - run_test_workflow(profile: Profile) TestResults | None¶
- Helper code to run tests