What Is Deep Learning with NLP? Deep learning (also known as deep structured learning or differential programming) is part of a broader family of machine learning methods based on artificial neural networks with representation learning. Learning can be supervised, semi-supervised or unsupervised. [Wikipedia] NLP is a field in machine learning with the ability of a computer to understand, analyze, manipulate, and potentially generate human language. [Medium]
precision | recall | f1-score | support | |
---|---|---|---|---|
Real | 0.98 | 1.00 | 0.99 | 4251 |
Fake | 0.86 | 0.55 | 0.67 | 219 |
Micro Avg | 0.97 | 0.97 | 0.97 | 4470 |
Macro Avg | 0.92 | 0.77 | 0.83 | 4470 |
Weighted Avg | 0.97 | 0.97 | 0.97 | 4470 |
Samples Avg | 0.97 | 0.97 | 0.97 | 4470 |
Train Time: 96.7 seconds
Findings: The deep learning model, which we expected to be the most effective in classifying fraudulent postings, was actually no more successful than the knn and svm models. GridsearchCV does not apply to deep learning models so we only had the one classification report, and the model had a precision score of .86 and an overall accuracy of .97. This model also took by far the longest amount of time to train, with a duration of almost 97 seconds, but that’s still a relatively small amount of time. In general this is a successful model, but the random forest model blows them all out of the water with it’s 1.00 precision score.