kdg (Kernel Density Graph) is a package for exploring and using kernel density algorithms developed by the neurodata group.
Below we assume you have the default Python environment already configured on your computer and you intend to install kdg
inside of it. If you want to create and work with Python virtual environments, please follow instructions on venv and virtual environments. We also highly recommend conda. For instructions to install this, please look at conda.
First, make sure you have the latest version of pip
(the Python package manager) installed. If you do not, refer to the Pip documentation and install pip
first.
You can manually download kdg
by cloning the git repo master version and running the setup.py
file. That is, unzip the compressed package folder and run the following from the top-level source directory using the Terminal:
$ git clone https://github.com/neurodata/kdg
$ cd kdg
$ python3 setup.py install
Or, alternatively, you can use pip
:
$ git clone https://github.com/neurodata/kdg
$ cd kdg
$ pip install .
kdg
requires the following packages:
- scikit-learn>=0.22.0
- scipy>=1.4.1
- numpy==1.19.2
kdg
package requires only a standard computer with enough RAM to support the in-memory operations. GPU's can speed up the networks which are powered by tensorflow's backend.