- Windows 10
- NVIDIA GTX 2080
- Intel(R) Core(TM) i-9700K CPU @ 3.60GHz
- 16GB RAM
Should work similary on Linux but has been untested
-
Download Anaconda
-
Launch conda terminal and copy/paste the following:
conda create -n nv5_test python=3.8 -y
conda activate nv5_test
conda install -c anaconda scikit-learn==1.0.2 -y
conda install -c anaconda pandas==1.5.2 -y
conda install -c conda-forge matplotlib==3.6.2 -y
pip install names
- If pip errors to install names, you can cut and paste the
names
andnames-0.3.0.dist-info
folders into your env sitepackages directory (C:/users/zlesl/anaconda3/envs/nv5_test/Lib/site-packages/)
git clone https://github.com/zachariahBinx/nv5_test
- If pip errors to install names, you can cut and paste the
-
Close the terminal
-
Launch a bash terminal instance
-
Activate your env
-
Run main.py
- canidates (buildings.csv)
- locations/src points (queires.csv)
-
algorithm
- scikit learn nearest neighbor KDTree or BallTree -
dist_metric
- distance metric -
nearest
- number of nearest neighbors wanted -
rad_dist
- nearest neighbors within a given radius distance (feet) -
filter_type
- both with nearest and rad_dist results, filter by ascending or descending of the following:[elevDiff, elevDiff_inverse, slope, slope_inverse, dist, dist_inverse, elevation, elevation_inverse, height, height_inverse, floors, floors_inverse, year, year_inverse]
-
more_src
- Number of entries to add to locations/src points - used for profiling and discovering bottle necks -
more_can
- Number of entries to add to canidates - used for profiling and discovering bottle necks
-
Comment in line 22
-
Comment out lines 39-40
-
Highlight and shift-tab lines 42-61
-
Follow the 3 steps above
-
Comment in lines 48, 53, 58, and 63
-
Best to change
nearest
to something like 3 andrad_dist
to 1000-1500 -
May need to adjust
xlim
andylim
within thecreate_graph
function within thefunc.py
file