Skip to content

environments sklearn 1.5

github-actions[bot] edited this page Sep 18, 2024 · 16 revisions

sklearn-1.5

Overview

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

Version: 8

Tags

Scikit-learn : 1.5 OS : Ubuntu20.04 Training Preview OpenMpi : 4.1.0 Python : 3.10

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

Docker image: mcr.microsoft.com/azureml/curated/sklearn-1.5:8

Docker build context

Dockerfile

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

WORKDIR /

ENV CONDA_PREFIX=/azureml-envs/sklearn-1.5
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