The bar chat graph shows the distribution of fatal police shootings by type of incident. The two most common types of incidents are: Shot: 7664 cases (99.17%) Shot and Tasered: 338 cases (0.83%) Analysis The data shows that the overwhelming majority of fatal police shootings involve the use of a firearm. This is Read More…
Fatal police shootings by Race Analysis
Based on the previous observation of data , now I am trying to provide a visual representation of the racial distribution of victims in fatal polic shootings. Firstly lets calculate the percentage of fatal police shootings by race.By defining a custom color palette for each race category and its labels and create the bar chart Read More…
Project -2 : Fatal police shootings Observation of Data
Observation of Data By observing the dataset, I can see that there are some missing values which need to be handled. From this dataset we can acquire and can be explore the distribution of fatal police shootings by various factors, such as gender, race, age, armed status, city, and state. There is a possible way Read More…
Project Report-1
Bootstrapping
09/29/2023 We have learnt it is a resampling method to measure the population by doing average from multiple small data samples. In bootstrapping the sample size increases eventually It gives insights about how the variables the model features. Used for assessing model performance well. Steps involved under this are: Prepare Data Read More…
Estimating Prediction Error
09/27/2023 It’s very much important to test and estimate any error in model is present or not. In simple words it is used to measure between actual values and predicted values. As previously we have covered the basics of testing like f1-score, MSE, RMSE, precision and accuracy. We need to prevent or Read More…
K-fold validation/K-fold cross-validation
09/25/2023 In this session, we discussed about k-fold cross-validation which comes under Cross Validation. k-fold cross-validation which calculates about the performance of a Machine Learning Model performed on validation dataset.We need to select correct number of folding. It also tests whether they have strong correlation between them or not. It takes much Read More…
Measurements of Performance and Polynomial Regression
09/22/2023 Polynomial Regression It tells about the relationship between dependent and independent variables.in an nth degree. It is used to make modelling of non-linear relationships. It is used to increase the performance as we are increasing the degree of the model. So, to find the right degree need to perform forward selection and backward selection. Read More…
t-test Statistical Test
09/20/2023 Today’s lecture I have learnt about T-test which is a statistical method to determine the significance difference between the mean of two groups which is related with other features. So we can relate this to our data obesity, inactivity, diabetes and FIPS There are of 3 types of t-tests are available as Read More…
Multiple Regression, Overfitting and Quadratic Model
09/18/2023 Based on the previous class of Simple linear regression class today we have discussed about Multiple linear regression which comes under Quadratic Model. A Quadratic Model is a model which forms a linear regression in the form of U shaped or a Parabolic which might shape. It helps to classify data points into Read More…