Giter Site home page Giter Site logo

irlcode / cctv Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 30.77 MB

This is the code and data to replicate the analysis in Serebrennikov, Skougarevskiy (2023).

Home Page: https://ssrn.com/abstract=4106472

License: Other

R 100.00%
cctv explainable-ml r species-distribution-modelling surveillance-systems

cctv's Introduction

Data and Code For A tale of four cities: Exploring environmental characteristics of CCTV equipment placement

This is the code and data to replicate the analysis in Serebrennikov, Skougarevskiy (2023).

Repository structure

/
├── code
    ├── 1._Parameter_searching_and_cross-validation.R   # Parameters search, block cross-validation, final estimation
    ├── 2._SHAP_Analysis.R                              # SHAP-analysis and Plots based on it.
    ├── Table_1_code.R                                  # Produce Table 1 
    ├── Figure_1_code.R                                 # Produce Figure 1
    ├── 1a._Robustness_check_Parameter_searching_and_cross-validation.R # Robustness check for city centers
    └── 2a._Robustness_check_SHAP_Analysis.R            # Robustness check for city centers
├── data
    ├── BE_100_catboost_best_params.rds                 # Best parameters for Brussels' model
    ├── BE_all_osm_objects_Freqtab.RDS                  # Frequency tab for Brussels
    ├── BE_buffer_long_100_RandSamp_GEOM.rds            # Brussels geodata for block cross-validation
    ├── BE_buffer_wide_100_RandSamp.csv                 # Brussels data for analysis
    ├── data_all_catboost_buffer_100.rdata              # Brussels prepared data
    ├── feature_importance_catboost_buffer_100.rdata    # Data for feature importance plot
    ├── FR_100_catboost_best_params.rds                 # Best parameters for Paris' model
    ├── FR_all_osm_objects_Freqtab.RDS                  # Frequency tab for Paris
    ├── FR_buffer_long_100_RandSamp_GEOM.rds            # Paris data for analysis
    ├── FR_buffer_wide_100_RandSamp.csv                 # Paris prepared data
    ├── RU_100_catboost_best_params.rds                 # Best parameters for Moscow's model
    ├── RU_all_osm_objects_Freqtab.RDS                  # Frequency tab for Moscow
    ├── RU_buffer_long_100_RandSamp_GEOM.rds            # Moscow data for analysis
    ├── RU_buffer_wide_100_RandSamp.csv                 # Moscow prepared data
    ├── SC_100_catboost_best_params.rds                 # Best parameters for Edinburgh's model
    ├── SC_all_osm_objects_Freqtab.RDS                  # Frequency tab for Edinburgh
    ├── SC_buffer_long_100_RandSamp_GEOM.rds            # Edinburgh data for analysis
    └── SC_buffer_wide_100_RandSamp.csv                 # Edinburgh prepared data

Data availability statement

The data that support the findings of this study were derived from the following resources available in the public domain:

Licence

Creative Commons License
Creative Commons License Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0).

Copyright © the respective contributors, as shown by the AUTHORS file.

Contacts

Dmitriy Serebrennikov, assoсiated researcher at the Institute for the Rule of Law at the European University at St. Petersburg

[email protected]

cctv's People

Contributors

memoryfull avatar serebrennikov-dmtr avatar

Watchers

 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.