Skip to content

ModelAdvisor

Analyzes dataset statistics and recommends optimal preprocessing configurations based on feature characteristics and distributions.

Constructor

__init__(self, features_stats: dict[str, typing.Any])

Initialize the ModelAdvisor with dataset statistics.

Parameters- features_stats: Dictionary containing feature statistics generated by DatasetStatistics


analyze_feature_stats

analyze_feature_stats(self) -> dict[str, typing.Any]

Analyze feature statistics and generate recommendations.

Returns

Dictionary containing recommendations for all features and global configuration

generate_code_snippet

generate_code_snippet(self) -> str

Generate a code snippet implementing the recommendations.