Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 < 30 min (if tuning is performed, its runtime must be included)
  • 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Algorithms questions