Code Monkey home page Code Monkey logo

VMWare

Used the data set produced VMware to create a propensity to respond model. The dataset was initially an imbalanced dataset will 707 features and 50,006 rows. Therefore, the Synthetic Minority Over-Sampling Technique was used to balance the data. Pre-processing was required as the data contained a lot missing values. To address this issue, variables with more than 60% missing values were removed. And for the rest of the variables with less than 60% missing values, mean and mode imputation was done. This brought down the number of features from 707 to 653.

As there were 653 variables, it was necessary to perform feature selection to reduce the number of variables. Regularized L1 Logistic Regression (LASSO) was used to select important variables to work with. This method reduced the number of variables to 90. After the variables selection, Random Forest, XGBoost was performed on the data set to evaluate the suitable model. As the problem of imbalance was addressed by the SMOTE technique, XGBoost yielded 98.9987% Recall.

As there is a small chance for the data to be imbalanced, recall might not be a good measure to evaluate a model. Therefore, Macro Averaging Metric was used. From the Macro-Average F-score, the Random forest Yielded 0.87 whereas the XGboost yielded a F-score of 1. Therefore, it was concluded that XGBoost was the best model for this dataset. Hence a Propensity to respond model was created which can now be used for B2B Marketing.

Vaishnavii Ponnusamy Paramashivam's Projects

deploy-ml-model icon deploy-ml-model

Deploying a simple machine learning model to an AWS ec2 instance using flask and docker.

screening-tool-to-identify-patients-at-risk-for-chronic-kidney-disease-using-python-r icon screening-tool-to-identify-patients-at-risk-for-chronic-kidney-disease-using-python-r

Tools Used - Logistic Regression, Python, R, Microsoft Excel #The objective was to use statistical analysis to identify the key parameters of Chronic Kidney Disease upon which this model can be used a screening tool to identify patient's risk for CKD #A dataset with patient demographics and clinical parameters of around 8000 patients was cleaned to address null values and outliers #The issue of class imbalance was addressed by stochastic sampling method #Logistic Regression was then used to identify key variables that contribute to the development of Chronic Kidney Disease #Since recall of the model was more important than accuracy and precision, receiver operating characteristic (ROC) curve was used to pick the right threshold for probability

tweetbotornot icon tweetbotornot

🤖 R package for detecting Twitter bots via machine learning

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.