Question: Complete the python code using project.py to Predict whether a job posting is real or fake Goal: Train a model (in project.py ) to predict
Complete the python code using project.py to Predict whether a job posting is real or fake
Goal: Train a model (in project.py) to predict whether a job posting is real or fake on the provided dataset.
Requirements
- Can use any model, preprocessing, tuning method.
- Can use (but do not have to use) all information in dataset to train the model.
- Make sure there is no error when executing test.py (do not modify this file).
- Total runtime
- Can only install packages:
- scikit-learn, gensim, pandas
- packages such as numpy can be used because installing scikit-learn will also install numpy
Assessment
- F1 score for fraudulent == 1
import pandas as pd import time class my_model(): def fit (self, X, y): # do not exceed 29 mins return def predict (self, X): # remember to apply the same preprocessing in fit() on test data before making predictions return predictions
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
