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)

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 and run the post processors on the profile.

Returns

RunResult: output of the run, including the profile.

run_fugue_workflow() Profile

Helper code to execute fugue workflow

Returns

Profile : profile generated by fugue workflow

run_post_processors(profile: Profile) Dict[str, Any]

Helper code to run post processors