Crime Has a Negative Impact on Economic Development Since It Keeps Rising Day By Day. Reducing Crime Has Become a Top Priority In Our Society Since It Is Such a Serious Problem. As a Result, Figuring Out What Influences Crime Rates and How to Do It In the Most Effective Manner Is Critical. In Order to Do This, a Database Must Be Kept, Which Records Various Crimes With Information Relating to Location, Time, and Nature, Among Other Things, For Future Use. Using Machine Learning Algorithms to Minimize Crime In India Is the Subject of This Study. Finding Patterns In Large Datasets Has Never Been Simpler Thanks to Advances In Machine Learning. Predicting the Sort of Crime That Will Occur In a Given Area Is the Primary Goal of This Study. Through the Use of Clean and Transformed Training Data Sets, Machine Learning Has Been Utilized to Construct a Model. Data Visualization May Be Used to Do Analysis on a Data Collection and Its Features. Factors of the Situation Are Being Analyzed and Documented. In Order to Keep Society Secure, Risk Variables Have Been Discovered and Prediction Techniques Have Been Devised. This Research Included Clustering Algorithms, Optimization Techniques, and Statistical Analysis.