Installation

This page documents InsideForest 0.4.3. The package can be installed from PyPI or from source; use an isolated environment to keep dependencies controlled.

Prerequisites

Install from PyPI

The quickest way to get started is to install the published package:

python -m pip install InsideForest==0.4.3

Verify that the package imports correctly:

python -c "import InsideForest; print(InsideForest.__version__)"

Install from source

Clone the repository to access notebooks, experiments, and extra examples.

git clone https://github.com/jcval94/InsideForest.git
cd InsideForest
pip install -e .

The editable mode (-e) lets you modify the code and test changes without reinstalling.

Development dependencies

Install the dedicated dependency file to run automated tests and reproducible notebooks:

python -m pip install -r requirements-dev.txt

Verify your setup

Confirm that InsideForest works by running a basic test:

python -m pytest tests -q

This command validates the categorical and continuous region-clustering contracts, persistence, documentation examples, and the packaged notebook.

Troubleshooting

Continue with the Quick API to run your first supervised clustering workflow.