Google Play Store team is about to launch a new feature wherein, certain apps that are promising, are boosted in visibility. The boost will manifest in multiple ways including higher priority in recommendations sections (“Similar apps”, “You might also like”, “New and updated games”). These will also get a boost in search results visibility. This feature will help bring more attention to newer apps that have the potential.
Analysis to be done: The problem is to identify the apps that are going to be good for Google to promote. App ratings, which are provided by the customers, is always a great indicator of the goodness of the app. The problem reduces to: predict which apps will have high ratings.
Content: Dataset: Google Play Store data Fields in the data –App: Application name
-Rating: Overall user rating of the app
-Reviews: Number of user reviews for the app
-Size: Size of the app
-Installs: Number of user downloads/installs for the app
-Type: Paid or Free
-Price: Price of the app
-Content Rating: Age group the app is targeted at - Children / Mature 21+ / Adult
An app can belong to multiple genres (apart from its main category). For example, a musical family game will belong to Music, Game, Family genres.Last Updated: Date when the app was last updated on Play Store Current Ver: Current version of the app available on Play Store Android Ver: Minimum required Android version
-Load the data file using pandas.
-Check for null values in the data. Get the number of null values for each column.
-Drop records with nulls in any of the columns.
-Variables seem to have incorrect type and inconsistent formatting. You need to fix them:
-Size column has sizes in Kb as well as Mb. To analyze, you’ll need to convert these to numeric.
-Extract the numeric value from the column
-Multiply the value by 1,000, if size is mentioned in MbReviews is a numeric field that is loaded as a string field. Convert it to numeric (int/float).Installs field is currently stored as string and has values like 1,000,000+.
Price field is a string and has $ symbol. Remove ‘$’ sign, and convert it to numeric.
Average rating should be between 1 and 5 as only these values are allowed on the play store. Drop the rows that have a value outside this range.Reviews should not be more than installs as only those who installed can review the app. If there are any such records, drop them.For free apps (type = “Free”), the price should not be >0. Drop any such rows.
Dataset: Google Play Store data Fields
Boxplot for Price Are there any outliers? Think about the price of usual apps on Play Store.
Boxplot for Reviews Are there any apps with very high number of reviews? Do the values seem right?
How are the ratings distributed? Is it more toward higher ratings?
Note down your observations for the plots made above. Which of these seem to have outliers?
Price: From the box plot, it seems like there are some apps with very high price. A price of $200 for an application on the Play Store is very high and suspicious!Check out the records with very high price Is 200 indeed a high price? Drop these as most seem to be junk apps
Very few apps have very high number of reviews. These are all star apps that don’t help with the analysis and, in fact, will skew it. Drop records having more than 2 million reviews.
There seems to be some outliers in this field too. Apps having very high number of installs should be dropped from the analysis.Find out the different percentiles – 10, 25, 50, 70, 90, 95, 99 Decide a threshold as cutoff for outlier and drop records having values more than that
Let’s look at how the available predictors relate to the variable of interest, i.e., our target variable rating. Make scatter plots (for numeric features) and box plots (for character features) to assess the relations between rating and the other features.Make scatter plot/joinplot for Rating vs. Price What pattern do you observe? Does rating increase with price? Make scatter plot/joinplot for Rating vs. Size
Make scatter plot/joinplot for Rating vs. Reviews Does more review mean a better rating always? Make boxplot for Rating vs. Content Rating Is there any difference in the ratings? Are some types liked better? Make boxplot for Ratings vs. Category Which genre has the best ratings? For each of the plots above, note down your observation.
For the steps below, create a copy of the dataframe to make all the edits. Name it inp1.Reviews and Install have some values that are still relatively very high. Before building a linear regression model, you need to reduce the skew. Apply log transformation (np.log1p) to Reviews and Installs. Drop columns App, Last Updated, Current Ver, and Android Ver. These variables are not useful for our task.Get dummy columns for Category, Genres, and Content Rating. This needs to be done as the models do not understand categorical data, and all data should be numeric. Dummy encoding is one way to convert character fields to numeric. Name of dataframe should be inp2.
Separate the dataframes into X_train, y_train, X_test, and y_test.
Use linear regression as the technique Report the R2 on the train set Make predictions on test set and report R2.