This package contains the non-ML, non-Azure specific common code associated with running AutoML experiments within Azure Machine Learning. It serves as a foundational dependency for higher-level AutoML packages like `azureml-train-automl`, rather than being directly used by most end-users. It is part of the broader Azure ML SDK ecosystem, which typically has a monthly or bi-monthly release cadence, keeping sub-packages in sync.
pip install azureml-automl-coreNo compatibility data collected yet for this library.
The `azureml-automl-core` package is primarily an internal dependency of the Azure ML SDK. End-users typically interact with Azure ML's Automated ML capabilities through the `azureml.train.automl` module, which transparently utilizes this core package. This quickstart demonstrates a typical setup for an AutoML classification experiment using the high-level `azureml.train.automl` API, showing how to connect to a workspace, provision compute, register data, and configure an AutoML run. The `submit` call is commented out to avoid accidental resource usage.
Use `from azureml.train.automl import AutoMLConfig` and other public APIs from `azureml.core` and `azureml.train.automl` instead of attempting direct imports from `azureml_automl_core`.
Ensure your environment uses Python 3.8, 3.9, 3.10, or 3.11. Consider using `conda` or `venv` environments for isolated and compliant dependency management.
Always install the full SDK using `pip install azureml-sdk[automl]` (or `[full]`) to ensure compatible versions of all sub-packages are installed. If conflicts persist, create a fresh virtual environment, install `azureml-sdk[automl]` first, and then add other dependencies carefully. `conda` environments often provide more robust dependency resolution for complex stacks.
Regularly update your SDK (`pip install --upgrade azureml-sdk[automl]`) and review release notes. Consult the official Azure ML Python SDK documentation for the most current APIs and migration guides.
Verify your Python version is within the supported range (`>=3.8, <3.12`). If installing directly, consider installing the umbrella `azureml-sdk[automl]` package instead: `pip install azureml-sdk[automl]` to let `pip` resolve compatible dependencies.
This specific `TypeError` is often resolved by either downgrading `numpy` (e.g., `pip install numpy==1.23.5`) or ensuring all `azureml` packages are at their latest compatible versions via `pip install --upgrade azureml-sdk[automl]` in a clean virtual environment.
Avoid importing directly from `azureml_automl_core`. Instead, utilize the public API exposed through `azureml.core` and `azureml.train.automl`. For example, use `from azureml.train.automl import AutoMLConfig`.
Always use a virtual environment (`venv` or `conda`) to isolate installations and prevent conflicts with system packages. If in a virtual environment and this occurs, try `pip install --ignore-installed <package-name-causing-conflict>` or in extreme cases `pip install --force-reinstall --no-deps azureml-sdk[automl]` (use with caution). Best practice is a fresh `venv`.