Giter Club home page Giter Club logo

precog-task's Introduction

Precog Programming Task

Build Instructions

First clone the repository

git clone https://github.com/fine-man/precog-task.git

cd precog-task

Now download the zip file from here and put the csv.zip file in precog-task/data directory. After that cd into the precog-task/data directory and run this

./build.sh

Motivation behind the analysis

The underlying principle behind all three of my analyses is to identify ways to enhance court performance and efficiency. This involves identifying areas where efficiency is lacking and allocating resources accordingly.

Another objective of the analysis is to use data to determine where stricter regulations are needed for certain crimes and where they are not. I used the example of women's domestic violence in my analysis, but the method can be applied to other crimes as well.

Some terminology

These are some terms that I will be referencing throughout my analysis and so I just kept it in the main README.

Case Pendency Rate : The ratio of the number of pending cases and the total cases filed. Places with a lower case pendency rate will be considered to have a more efficient judiciary.

Case Disposition Rate : Same as case pendency rate but this is the ratio of number of disposed (decided) cases and the total cases filed. Places with a higher case disposition rate will be considered to have a more efficient judiciary.

Mean Disposition Days : The average number of days it took to dispose off a case. In other words, this is the mean difference between date of decision and date of filing. Places with a lower mean disposition days will be considered to have a more efficient judiciary.

Cases Per Judge : This is the average number of cases assigned to each judge in a particular place. This is a measure of the workload on the judiciary and so places with lower cases per judge will be considered to have a more efficient judiciary.

Different kinds of analysis

  • A General Analysis : In this analysis, I look at the whole country at once and try to find correlation between various things. The folder for this analysis is general-analysis in data directory.

  • A State Analysis : In this analysis, I look at the cases from a state perspective and rank them based on various criteria and also find the state with the most efficient judiciary according to the set of metrics defined above. The folder for this analysis is state-analysis in data directory.

  • Delhi Analysis : In this analysis, I look at all the districts in Delhi and plot the trends over the years for a set of attributes. The folder for this analysis is delhi-analysis in data directory.

Classification

I have done the following two classifications and both of them can be found in classifier folder in the data directory.

  • Classifying cases as bail granted or bail rejected
  • Classifying cases as acquited or convicted

precog-task's People

Contributors

vanshg1729 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.