Code Monkey home page Code Monkey logo

gabbar's Introduction

gabbar

EXPERIMENTAL: UNDER DEVELOPMENT

Guarding OpenStreetMap from invalid or suspicious edits, Gabbar is an alpha package of a pre-trained binary problematic/not problematic classifier that was trained on manually labelled changesets from OpenStreetMap.

https://en.wikipedia.org/wiki/Gabbar_Singh_(character)

Installation

pip install gabbar

Setup

# Setup a virtual environment with Python 3.
mkvirtualenv --python=$(which python3) gabbar_py3

# Install in locally editable (``-e``) mode.
pip install -e .[test]

# Install node dependencies.
npm install

Prediction

screen shot 2017-06-30 at 4 17 46 pm

# A prediction of "-1" represents that this feature is an anomaly (outlier).
gabbar 49172351
[
    {
        "attributes": {
            "action_create": 0,
            "action_delete": 0,
            "action_modify": 1,
            "area_of_feature_bbox": 109591.9146,
            "feature_name_touched": 0,
            "feature_version": 17,
            "highway_tag_created": 41,
            "highway_tag_deleted": 0,
            "highway_value_difference": 0,
            "length_of_longest_segment": 0.1577,
            "primary_tags_difference": 1
        },
        "changeset_id": "49172351",
        "feature_id": "124863896",
        "feature_type": "way",
        "prediction": -1,
        "score": -0.1493,
        "timestamp": "2017-07-10 10:33:02.925012",
        "version": "0.6.2"
    }
]

Testing

npm test

Hyperlinks

gabbar's People

Contributors

bkowshik avatar sgillies avatar pratikyadav avatar kapadia avatar joneskoo avatar regisb avatar

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.