Skip to content

Latest commit

 

History

History
65 lines (46 loc) · 2.23 KB

README.md

File metadata and controls

65 lines (46 loc) · 2.23 KB

Neural Ensemblers

  PyTorch Version   Open Source

This repo is a work in progress. We will add soon more documentation and funcionalities.

Installation

1. Optional: Install miniconda and create an environment

wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O install_miniconda.sh
bash install_miniconda.sh -b -p $HOME/.conda  # Change to place of preference
rm install_miniconda.sh

Consider running ~/.conda/bin/conda init or ~/.conda/bin/conda init zsh.

Create the environment and activate it

conda create -n searching_optimal_ensembles python=3.10
conda activate searching_optimal_ensembles

2. Install poetry

First, install poetry, e.g., via

curl -sSL https://install.python-poetry.org | python3 -

Consider appending export PATH="$HOME/.local/bin:$PATH" into ~/.zshrc / ~/.bashrc.

3. Install dependencies

bash setup.sh

This will install all dependencies into the poetry environment. Due to the scikit-learn mismatch, the default installation support tabrepo and phem libraries; for running experiments with Pipeline-Bench metadataset using TPOT search space, install the dependencies with bash setup.sh install-pipeline_bench.

To install a new dependency use poetry add dependency and commit the updated pyproject.toml to git.

4. Activate pre-commit

pre-commit install

Consider appending --no-verify to your urgent commits to disable checks.