Coder Social home page Coder Social logo

lisa's Introduction

Introduction

LISA is a learned index structure for spatial data, similar in functionality to a R-Tree. More details about LISA can be found in our SIGMOD 2020 paper.

Getting Started

Source code Info

We implement LISA with python 2.7 on the Ubuntu opearting system. You need to install two scientific computing package: numpy and scipy. The codes can be found here.

Datasets Info

The input data for building LISA is a numpy ndarray file whose shape is NxD where D and N are the dimension and the number of the input keys, respectively.

We prepared three 4-dimensional datasets for validating our approach. data_0.npy is used for building LISA; data_2.npy and data_3.npy are used for analyzing how LISA performs if we insert and delete keys, respectively.

Hardware Info

The details of the hardwares we used for the experiments are shown as follows.

  • Processor: 32 Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
  • L1d cache: 32K
  • L1i cache: 32K
  • L2 cache: 256K
  • L3 cache: 20480K
  • Memory: 128GB
  • Secondary storage: HDD 3.7 TB

Step by step

  1. Install the scientific computing packages:
  • pip install numpy; pip install scipy; pip install scikit-learn;
  1. Clone the repository under a directory $Workspace$.

  2. Download data_0.npy, data_2.npy, data_3.npy and query_ranges.qr. Put them in the directory $Workspace$/LISA/4d_uniform/data/.

  3. cd $Workspace$/LISA/src and run main.py

More

The LISA is saved in the same directory with the corresponding dataset. If you want to test LISA on other datasets, you need to create a new directory $Dir$ under "$Workspace$/LISA/" and put the dataset into "$Workspace$/LISA/$Dir$/data/".

We will update the repo if any modifications are made in the future.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.