I have used automl.classification to create a automl job in sdkv2. But the model trained is having sdkv1 packages why ??? and how can i resolve this i want my model to use sdkv2 packages.

Aryan Rastogi 0 Reputation points
2025-05-08T06:06:01.51+00:00

I have used below code to create a automl job. Models trained from it are using sdkv1 libraries why ??
though below code is sdkv2.

I want to evaluate my model on new testing data in my local environment but getting package issue with sdkv2 packages how to resolve it ????

automl_config = automl.classification(
                            experiment_name=config_dict["experiment_name"],
                            compute=cpu_cluster_name,
                            training_data=train_data,
                            validation_data=val_data,
                            target_column_name='AI_EVA_Retraining_JG',
                            primary_metric='accuracy',
                        )

    automl_config.set_featurization(
        mode='auto'
    )

    automl_config.set_limits(
        timeout_minutes=720
    )
Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,261 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.