Skip to content

environments sklearn 1.1

github-actions[bot] edited this page Mar 23, 2024 · 66 revisions

sklearn-1.1

Overview

An environment for tasks such as regression, clustering, and classification with Scikit-learn. Contains the Azure ML SDK and additional python packages.

Version: 27

Tags

Scikit-learn : 1.1 OS : Ubuntu20.04 Training Preview OpenMpi : 4.1.0 Python : 3.8

View in Studio: https://ml.azure.com/registries/azureml/environments/sklearn-1.1/version/27

Docker image: mcr.microsoft.com/azureml/curated/sklearn-1.1:27

Docker build context

Dockerfile

FROM mcr.microsoft.com/azureml/openmpi4.1.0-ubuntu20.04:20240322.v1

WORKDIR /

ENV CONDA_PREFIX=/azureml-envs/sklearn-1.1
ENV CONDA_DEFAULT_ENV=$CONDA_PREFIX
ENV PATH=$CONDA_PREFIX/bin:$PATH

# This is needed for mpi to locate libpython
ENV LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH

# Create conda environment
COPY conda_dependencies.yaml .
RUN conda env create -p $CONDA_PREFIX -f conda_dependencies.yaml -q && \
    rm conda_dependencies.yaml && \
    conda run -p $CONDA_PREFIX pip cache purge && \
    conda clean -a -y
Clone this wiki locally