Adding a New Product

Day 2: The data collected.

The data collected is supposed to represent data on new product introductions. For a product to be deemed successful, numbers awarded 1-5 added and then avearged and must be at least 80% to be considered a positive result.

The data represents 50 responses to a survey of the major suppliers of soap products. The survey asked the repondents to answer with a 1,2,3,4,5.

A 5-star survey is a customer feedback questionnaire that uses a 5-point rating scale to assess satisfaction with a product or service. The concept is simple: customers are asked to rate a product, service, or experience on a scale of 1 to 5 stars. The specific meanings of the 5-star rating scale labels may vary depending on the survey, but in general, ⭐⭐⭐⭐⭐​​ represent excellent or outstanding performance, while ⭐ points to a poor experience. This type of customer satisfaction survey is widely used across various industries as it is quick to complete, and the scale is easy to interpret.

  1. Question 1: How would you rate the planning and development of new products?
  2. How unique is your product among similar products?
  3. How confident are you that you have targeted the correct market for this new product?
  4. Rate your technology synergy for this new product.
  5. Rate your marketing synergy for this product.
  6. Rate the resources that you have invested in your sales force.
  7. Rate the profitability of this product.
  8. Rate the pricing of this product compared to the competition.
  9. How have you effectively promoted this product?
  10. Rate the channels of distribution for this new product.

Here is a parial list of the products.


Clorox Liquid Bleach,Purex Liquid Bleach,News Detergent, Charmin Brillo, Sweetheart, Purex Bleach, Tide Detergent, Gain Detergent, Bold Detergent, Duz Detergent, Dreft Detergent, Ajax Detergent, Cheer Detergent, Fab Detergent, Cold Power Detergent, Surf Detergent, Purex Detergent, Oxodol Detergent, All Detergent, Comet Cleanser, Dutch Cleanser, Ajax Cleanser, SOS Scrub Pads, ScotchBrite Scrub Pads, Ivory Liquid Detergent, Vel Liquid Det, Trend Liquid Dete, Palmolive Liquid Det, Dawn Liquid Detergent, Dial Liquid Detergent, Cascade Dishwasher Det, Finish Dishwasher Det, Vano Fabric Soft, Sweetheart Fab Soft, Downy Fabric Softner, All Fabric Softner, Beads O Bleach, Chlorox Dry Bleach, Axion Presoak, Brion Presoak, Safeguard Bar Soap, Zest Bar Soap, Irish Spring Bar Soap, Fels-Naptha Bar Soap, Sing Bar Soap, Lifebouy Bar Soap, Dove Bar Soap, Dial Bar Soap, Yardly Bar Soap, Aveno Bar Soap, Lava Bar Soap, Gay Bouquet Bar Soap, Camay Bar Soap, Secret Bar Soap, Ivory Bar Soap, Cashmere Bouquet Bar, Soft Soap, Shield Bar Soap, Swan Bar Soap.

Our data scientists have compiled the data into a Python Dictionary and plan to use Jupyter notebook to key in their Python application. For a prouct to be successful, it needed to come up with a 4.0 score out of 5.0 or better. Successful products were given a 1 and unsucessful products were given a 0. The results have been added to the Pandas DataFrame.

We are going to use artificial intelligence, machine learning algorithum Random Forest to predict how we should allocate resources to make our new product, Sweetheart Liquid Detergent, successful. The marketplace is crowded with liquid detergents and automatic dishwasher soap has negatively impacted the liquid detergent market. Our company's philisophy is classfied as PUSH. Our top marketing executives are hoping that this data can help them predict a winning combination of resourcs.

Importing the Python libraries

Click copy text button, Open a new Python Juputer Notebook and paste the contents into the first frame.

Save your application.

The Pandas DataFrame

Click copy text button, Add a new frame and paste the contents into that frame.

Save your application.

The organization of the DataFrame is as follows: the column names are listed first. The rows, each respondents' answers, are listed vertically. For example, respondent 1, answered the planning question with a 4, uniue product with a 4, target market with a 4, technology synergy with a 4, marketing synergy with a 4, sales force with a 5, profitability was a 5, competitive price was a 5, effective promotion was a 4 and channels of distribution was a 5. Our data scientists filld in the result number. They calculated it by getting the average of all ten numbers. Numbers greater or equal to 4 are given a 1. Numbers less than 4 were awarded a failing score of 0.

Defining variables for the DataFrame

Click copy text button, Add a new frame and paste the contents into that frame.

Save your application.

The df is defined. Next, the independent variables are assigned to X. y is the dependent variable. Note X is uppercase and y is lower case.

Your results should look like the image below.