{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":752874251,"defaultBranch":"main","name":"Car-Crash-Detection-Model","ownerLogin":"Shubhamkshirsagar5","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2024-02-05T02:18:42.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/145306781?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1707101385.0","currentOid":""},"activityList":{"items":[{"before":"67ec9fab44819ae0ef8bca4c52882fac6fa0786e","after":"0c2902effea727c3901fbe57dbe1754ceffa5818","ref":"refs/heads/main","pushedAt":"2024-04-18T13:38:48.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Shubhamkshirsagar5","name":"Shubham Kshirsagar","path":"/Shubhamkshirsagar5","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/145306781?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"08ff3cb9bf779d726eb0eb2e49c23b0404a4060a","after":"67ec9fab44819ae0ef8bca4c52882fac6fa0786e","ref":"refs/heads/main","pushedAt":"2024-02-05T02:49:45.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Shubhamkshirsagar5","name":"Shubham Kshirsagar","path":"/Shubhamkshirsagar5","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/145306781?s=80&v=4"},"commit":{"message":"Add files via upload","shortMessageHtmlLink":"Add files via upload"}},{"before":"a1070b30d63f92b6402098ecb1a4b96b173a514e","after":"08ff3cb9bf779d726eb0eb2e49c23b0404a4060a","ref":"refs/heads/main","pushedAt":"2024-02-05T02:20:58.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Shubhamkshirsagar5","name":"Shubham Kshirsagar","path":"/Shubhamkshirsagar5","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/145306781?s=80&v=4"},"commit":{"message":"Update README.md\n\nThe data set contains approximately 8,000 records. Each record represents a customer at an auto insurance company. The target variable (i.e., response variable) is TARGET_FLAG. It is either 1 or 0. A 1 means that the person was in a car crash. A 0 means that the person was not in a car crash. Model Creation- Picked models like logistic regression, random forests, and bagging to make a comparison through accuracy rates with different svm classifier models. Got a Bagging accuracy of 79%, and random forest accuracy of 78%.Although for decision trees and random forest, I had to split the data further into x_train and X-validate to avoid overfitting on decision tree and random forest, the SVM model's accuracy was still better without being further split. The SVM model supports binary classification and separates data points into 2 classes. Logistic regression model -accuracy of 80% Accuracy = (917 + 5535) / (917 + 5535 + 1236 + 473) = 0.8007.When making a comparison between the logistic regression model and SVM with poly kernel the logistic gave a little higher accuracy. But, still, i’ll prefer svm poly because it tries to find the best margin that separates the classes and reduces the risk of error on the data. The SVM model with RBF kernel gave an accuracy of 88% because the RBF kernel can transform the data points as much as possible for fitting the hyperplane between 2 classes of data points. Accuracy = (5936 + 1416) / (5936 + 737 + 72 + 1416). SVM classifier with RBF kernel gave the best accuracy as it uses gamma and c parameters that can be used to train the most optimal svm model using RBF SVM with LINEAR carnal gave the lowest Accuracy of 59%. We got low accuracy herein because if the data isn’t linearly separable then it’s impossible to classify the data SVM WITH POLYNOMIAL gave an ACCURACY of 78%","shortMessageHtmlLink":"Update README.md"}},{"before":"7915a81589e68b6ddcc66accab2ef663d3aacfa2","after":"a1070b30d63f92b6402098ecb1a4b96b173a514e","ref":"refs/heads/main","pushedAt":"2024-02-05T02:20:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Shubhamkshirsagar5","name":"Shubham Kshirsagar","path":"/Shubhamkshirsagar5","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/145306781?s=80&v=4"},"commit":{"message":"Add files via upload","shortMessageHtmlLink":"Add files via upload"}},{"before":null,"after":"7915a81589e68b6ddcc66accab2ef663d3aacfa2","ref":"refs/heads/main","pushedAt":"2024-02-05T02:18:43.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"Shubhamkshirsagar5","name":"Shubham Kshirsagar","path":"/Shubhamkshirsagar5","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/145306781?s=80&v=4"},"commit":{"message":"Initial commit","shortMessageHtmlLink":"Initial commit"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNC0xOFQxMzozODo0OC4wMDAwMDBazwAAAAQ0MJFO","endCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wMi0wNVQwMjoxODo0My4wMDAwMDBazwAAAAPx0hHa"}},"title":"Activity · Shubhamkshirsagar5/Car-Crash-Detection-Model"}