Coder Social home page Coder Social logo

predictive-technology-laboratory / asymmetric-threat-tracker Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 4.0 32.16 MB

Spatiotemporal Crime Prediction Software

Home Page: http://matthewgerber.github.io/asymmetric-threat-tracker

License: Apache License 2.0

C# 99.99% Shell 0.01%

asymmetric-threat-tracker's People

Contributors

matthewgerber avatar mhdbny avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

asymmetric-threat-tracker's Issues

Color handling

Handling the selection of colors isn't very good. Predictions can change colors over the course of using / deleting predictions. Fixing the colors for a prediction and storing them in the database would be nice.

Handle shapefile density features appropriately in TimeSlice models

Records in the ShapefileGeometry table now have a time field to accommodate events and other spatial objects with a temporal dimension. When computing the density of such elements in a TimeSlice model, only those elements with a time in the current time slice should be used. The FeatureBasedDCM class will need to change so that it doesn't extract the density features if it's the parent object of a TimeSliceDCM.

NuGet

Create a NuGet package for the ATT library.

Relativize importer paths

Since importers can be saved and shared, the importer paths should be relativized (e.g., to the "Data" or "Crimes" directories) to facilitate maximum portability.

Separate AreaBoundingBoxes for each area

With many areas, the AreaBoundingBoxes? table could become huge and even with indexes could perform poorly. Create a table for each area, e.g., area_bounding_boxes_[area id] that can be quickly indexed.

UI robustness to user interaction

It's possible to safely do some things in the GUI while a prediction is running; however, the GUI places no restrictions on this. Running multiple predictions simultaneously is probably dangerous, but I don't know for sure. Identify which things can be done in parallel and make the UI enforce interaction restrictions.

Fix discrepancy between KDE surveillance plots and DCM plots

The x-coordinates of the surveillance plots should be identical between the KDE and DCM models given the same prediction parameters, but they're different for some reason. This defeats the display of series differences, the computation of which requires identical x-coordinates.

Unit tests

Need to add unit tests to all parts of code.

Create a GUI configuration editor.

Configuration editing is currently a manual process. It's not exactly easy. Create a GUI window for creating / editing / exporting / restoring configurations.

Intelligently handle spacing around positive points

We currently generate positive points and negative points, and we require that the latter cannot exactly intersect the former; however, exact matches are incredibly rare. The better solution might be to require negative points to be a certain distance from the closest positive point. This could be a user-determined threshold.

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.