NeuroDataDesign / manifold_random_forests

1 stars 0 forks source link

Morf

Original code from SPORF to cythonize for the intentions of sklearn PR. For more information, visit the wiki

Installation

Using conda instructions from sklearn:

conda create -n sklearn-dev -c conda-forge python numpy scipy cython \
joblib threadpoolctl pytest compilers llvm-openmp

conda activate sklearn-dev

# install files from Pipfile
pip install pipenv 
pipenv install --dev --skip-lock

# or install via requirements.txt
pip install -r requirements.txt

make clean

make build-dev

To install the necessary development packages, run:

pip install -r test_requirements.txt

# check code style
make pep

then use Makefile recipe to build dev version. You'll need Cython installed.

make build-dev

Alpha Functionality

We can impose a Gabor or wavelet filter bank. To do so, install skimage and pywavelets.

pip install scikit-image
pip install PyWavelets

Using with Jupyter Notebook

To setup an ipykernel with jupyter notebook, then do:

python -m ipykernel install --name sklearn --user