This is a machine learning proigram to predict the Success of an advert Approach: To make this prediction:
- Read the training and test files into variables
- get the model_features and target features from the training data. The target column is "netgain"
- Make the necessary transformations of string values to float/int formats that can be manipulated by the algorithms
- Make the fitting using the X, Y columns gotten from step 2
- Do a prediction using the test data
- Do an inverse transform on the obtained prediction inorder to get the actual values(original string values)
- Write the results to Results.csv and do the necessary formatting Tools: Pandas- for dataframe manipulation OrdinalEncoder - for data transformation LogisticRegression - for making the prediction. We use this model since this is a binary prediction