Skip to content

KNN in Forensic Science: Classifying Glass Evidence for Criminal Investigations

Notifications You must be signed in to change notification settings

dsvirenpai/KNN_Forensic_Science_Classifying_GlassType

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

KNN in Forensic Science: Classifying Glass Evidence for Criminal Investigations

Problem Description

The study of the classification of glass type is motivated by criminological investigations. At a scene of crime, shattered pieces of glass are used as evidence if it's correctly classified.

Types of Investigations:

  • Hit and Run: Glass fragments from broken headlights are used to identify the make and model of the vehicle involved.
  • Burglary: Glass fragments from a smashed window can be connected to a suspect if fragments match glass found on their person or belongings.
  • Vandalism/Assault: Glass from broken bottles or other objects can link a suspect to a crime scene or indicate the type of weapon used

Crime_Scene

Forensic labs maintain databases of known glass samples (from car manufacturers, major glass suppliers, etc.).The data set consists of 214 unique glass samples labeled as one of six class categories. Once the composition of an unknown glass sample is known, the glass type needs to be correctly matched with the ones in the database to narrow down the scope of the investigation. Once the composition of an unknown glass sample is known, the glass type needs to be correctly matched with the ones in the database to narrow down the scope of the investigation.

As an analytics firm, the objective is to resolve the problem of classifying glass fragments in a criminal investigation.

Success Criteria:

  • Business Success - Decrease investigation time by 50hrs/week
  • ML Success Criteria - Obtain classification model accuracy of 90%
  • Economic Success Criteria - Increase in the firm's revenue by 10%

Data Description:

  • Total Observations: 214
  • Total Features: 10
  • Dependent Feature: Type

Features:

  • RI(float64) - Refractive Index
  • Na(float64) - Percentage Composition of Sodium
  • Mg(float64) - Percentage Composition of Magnesium
  • Al(float64) - Percentage Composition of Aluminium
  • Si(float64) - Percentage Composition of Silicon
  • K(float64) - Percentage Composition of Potassium
  • Ba(float64) - Percentage Composition of Barium
  • Fe(float64) - Percentage Composition of Iron
  • Type(int64) - Glass Type (1-7)

Conclusion:

  • KNN Model Accuracy: 0.69
  • Performance of the model precision, recall, and F1-score vary for each class. The model performs well in classifying classes 1, 2, 7, and 5, with an F1-score of 0.67, 0.70, 0.94, and 0.75 respectively.
  • However, the model performs poorly in classifying class 3, with an F1-score of only 0.40. It suggests the model may have difficulty distinguishing between class 3 and other classes.

Future Scope:

  • Assess the cost of misclassification: Real-world impact: What are the real-world consequences of incorrectly classifying or missing instances of class 3? It could involve reputational damage, or other negative outcomes.
  • Improving model accuracy by experimentation with other classification algorithms.

About

KNN in Forensic Science: Classifying Glass Evidence for Criminal Investigations

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published