Skip to content

jlliRUC/BLAST

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BLAST

Requirements

  • Ubuntu OS
  • Python 3.9.13 (tested)
  • PyTorch 1.13.0 (tested)
  • C++ 17

Compile

mkdir build
cd build
cmake ..
make -j 20

Preprocess dataset

mkdir data/

First, download the trajectory dataset into data/{dataset_name}.

./build/dataset_preprocess_exec

This will convert the original trajectories.csv file of longitude and latitude coordinates into xy coordinates in a 2D plane. And then sample the dataset.

Training GSelector

Generate the training dataset

 ./build/ml_dataset_generation_exec

Train the model

cd python_scripts/
python dataset_preparation.py
python train.py

Bulk load an R-tree and execute query

  cd ../
 ./build/main_exec

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published