Logistic regression in R predicting a binary target. Load, clean, prep, train, predict, and test model.
This video is an improvement on a video I posted a while back called "Logistic Regression in R Creating model and testing accuracy". Per a suggestion from one of the viewers I decided to do the same thing, but split the data set up into testing and training datasets.
https://youtu.be/HFO36RrmNc4
Dataset Link:
https://www.kaggle.com/datasets/johnnyyiu/predicting-poverty
Code on github:
https://github.com/simpledevdevin/youtube/blob/c225b86de2d10136e7a268d0d69dc7f396c43572/logistic_regression/Logistic%20Models%20-%20v2.R
Download
0 formats
No download links available.
Logistic Regression in R Creating model and testing accuracy version 2 | NatokHD