Deep learning based spatial stationary and nonstationary classifier.
Please ensure that you have R installed on your system, along with the following libraries:
geoR
MASS
fields
Additionally, please verify if Python 3+ is installed. If not please download and install python from here
Check if pip
is installed
$ pip --version
If pip
is not installed, follow steps below:
$ cd ~
$ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
$ python3 get-pip.py
Install virtual environment first & then activate:
$ git clone git@github.com:pratik187/Spatial_Classifier-DL.git
$ cd Spatial_Classifier-DL
$ python3 -m pip install --user virtualenv #Install virtualenv if not installed in your system
$ python3 -m virtualenv env #Create virtualenv for your project
$ source env/bin/activate #Activate virtualenv for linux/MacOS
Install all dependencies for your project from requirements.txt
file:
$ pip install -r requirements.txt
Results can be reproduced by running the following command:
bash run.sh
The accuracy on the test sets will be displayed in the command prompt.