Installation¶
Stable release¶
To install bayesian feature selection, run this command in your terminal:
$ pip install bayesian_feature_selection
This is the preferred method to install bayesian feature selection, as it will always install the most recent stable release.
If you don’t have pip installed, this Python installation guide can guide you through the process.
From sources¶
The sources for bayesian feature selection can be downloaded from the Github repo.
You can either clone the public repository:
$ git clone git://github.com/MacroMagic/bayesian_feature_selection
Or download the tarball:
$ curl -OJL https://github.com/MacroMagic/bayesian_feature_selection/tarball/master
Once you have a copy of the source, you can install it with:
$ pip install .
Development installation¶
To install the package in development mode with all dev dependencies:
$ git clone git://github.com/MacroMagic/bayesian_feature_selection
$ cd bayesian_feature_selection
$ pip install -e ".[dev]"
This installs the package in editable mode so that changes to the source code take effect immediately.
GPU support¶
To enable GPU acceleration (requires a CUDA-compatible GPU and drivers):
$ pip install -e ".[gpu]"
This installs the GPU-enabled version of JAX. Verify GPU availability in Python:
import jax
print(jax.devices()) # Should list GPU devices