Giter Club home page Giter Club logo

geoguide's Introduction

Quick Start

If you are using Docker, start here

Requirements

Basics

Create and activate a virtualenv

$ sudo pip install virtualenv # if not installed
$ virtualenv env -p python3
$ source env/bin/activate

Install the required packages

$ pip install -r requirements-sqlite.txt
$ npm install

Set Environment Variables

$ cp .env.example .env

Generate a new APP_KEY

$ python generate_key.py

Copy and paste at APP_KEY in .env file

Create DB

$ python manage.py create_db

Compile JavaScript and CSS

$ npm run build

Get a dataset

You can download a .zip with all current supported datasets.

Feel free to try another dataset.

Run the Application

Docker

$ ./deploy
$ docker-compose up

So access the application at the address http://localhost:8000/

Or

$ python manage.py runserver

So access the application at the address http://localhost:5000/

Want to specify a different port?

$ python manage.py runserver -h 0.0.0.0 -p 8080

Testing

Without coverage:

$ python manage.py test

With coverage:

$ python manage.py cov

geoguide's People

Contributors

chicobentojr avatar felipemfp avatar gustavoguerino avatar tiagolisboa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

geoguide's Issues

dev-stdbscan

Create a branch from dev to the st-dbscan implementation.

experiments for polygons

execute geoguide with stdbscan for 3 datasets
taxi
yelp
airbnb
execute with different inputs:
100
1000
2000
4000

UX Improvements

  • The name of the file should be default value for TITLE (@TiagoLisboa)

  • Button “Explore” → “Highlight” (@TiagoLisboa)

  • sigma parameter as slider (@felipemfp)

  • Let’s have a small configuration button on the top right by the side of heatmap. When it is clicked, it shows a popup with configuration options. Then we can safely remove the “Tuning PArameters” section. (@felipemfp)

  • Let’s ask in the beginning which attributes are needed to be shown for each point (@felipemfp)

  • Move filters to bottom (@chicobentojr)

Setup CircleCI

Briefing

We will create some tests for the new API, but in the meantime we should configure Circle CI.

Tasks

  • Setup CircleCI

Add pipenv to workflow

Pipenv harnesses Pipfile, Pip, and Virtualenv together in unison to create a single, high-quality tool that is optimized for workflow efficiency and best practices.
Pipenv automatically creates and manages the virtualenvs of your projects, as well as adds/removes packages from your Pipfile as you install/uninstall packages. The lock command generates a lockfile (Pipfile.lock).

kennethreitz/pipenv

configuration menu

Include the new parameters in the configuration bar, for the stdbscan algorithm execution:

  • Distance: ?
  • Min. number of points for cluster: ?

decision tree based on cluster

consider the clusters caught mouse-tracking, and execute the decision tree considering the clusters points, before execute IUGA.

stdbscan implementation

Implement the ST-DBSCAN for Geoguide, mouse-tracking implicit catch points
A: definition of time interval for cluster cration: < 10s
B: Intersection of cluster. Time interval (N) for creation of prefered regions : NxA
C: Save the intersection (by 2) from B.
D: Relation between the regions and the points in the dataset.

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.