<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Bessymukaria on Medium]]></title>
        <description><![CDATA[Stories by Bessymukaria on Medium]]></description>
        <link>https://medium.com/@bessymukaria?source=rss-8a4b5a317276------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*KAOxZqXnvEy1WbUFZ5jhmQ.jpeg</url>
            <title>Stories by Bessymukaria on Medium</title>
            <link>https://medium.com/@bessymukaria?source=rss-8a4b5a317276------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 05:29:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bessymukaria/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Bank Deposit Subscription Predictions]]></title>
            <link>https://medium.com/analytics-vidhya/bank-deposit-subscription-predictions-66ded028e9a0?source=rss-8a4b5a317276------2</link>
            <guid isPermaLink="false">https://medium.com/p/66ded028e9a0</guid>
            <category><![CDATA[analysis]]></category>
            <category><![CDATA[banking]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[Bessymukaria]]></dc:creator>
            <pubDate>Sat, 29 Aug 2020 17:42:44 GMT</pubDate>
            <atom:updated>2020-09-01T05:33:02.420Z</atom:updated>
            <content:encoded><![CDATA[<h4>Comparing different machine learning models in predicting the banking marketing strategies</h4><h3><strong>Overview</strong></h3><p>In the past few years, FinTech investments have drastically increased across industries, and banks, in particular, are taking interest in this cutting-edge technology through digitization of their activities even in understanding the customer needs. An informed insight of the customer needs leads to proper decision making which will lead to the revenue increase. The success rate of the banking marketing strategies and implementation of these decisions can be made accurate by comparing various Machine Learning techniques to analyze and make predictions based on the bank’s user engagement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8POrsSEVnTSQs5Jo3fuqEg.jpeg" /></figure><p><strong>Goal</strong></p><p>The purpose of building the ML models is to predict whether the client will subscribe for a term deposit and will focus on marking efforts on these clients. On the other hand, analyzing the marking campaign that the bank has made most recently and the identification of the patterns will help to draw conclusions in order to improve further marketing campaigns in the future. For the whole project work, have a look at my <a href="https://github.com/Bessy-Mukaria/Bank-Deposit-Subscription-Prediction.git">Github repository</a>.</p><h4>Data information</h4><p>In this project, we are going to use use the already existing bank marketing dataset (“Bank-additional-full.csv) downloaded from the <a href="http://archive.ics.uci.edu/ml/datasets/Bank+Marketing">UCI Machine Learning dataset </a>repository.</p><p><strong>Loading the packages</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/55ae338f141168b091ca72929c8000c5/href">https://medium.com/media/55ae338f141168b091ca72929c8000c5/href</a></iframe><p><strong>Loading the dataset</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3c05de20487c694a0c5866517b4c2546/href">https://medium.com/media/3c05de20487c694a0c5866517b4c2546/href</a></iframe><h4>Data understanding</h4><p>Understanding of the data helps to better the implementation of the best Machine learning algorithm for deployment to solve a data problem. To do this we can use the describe() function to get a summary of the data.</p><h4>Checking for missing values</h4><p>We are going to use the following class to check for missing values in our dataset.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fde1015e567a5ac4ec227bc180be8b30/href">https://medium.com/media/fde1015e567a5ac4ec227bc180be8b30/href</a></iframe><p>Seems that our data has no missing values. Now let us have a look at the distribution of the numerical variables for any outliers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1008/1*HJv-Fzuk23BP7-wM4tA2Ag.png" /><figcaption>Distribution of the numerical variables</figcaption></figure><p>In the figure above, it can be assumed that several attributes such as age, campaign,cons.conf.idx can be considered as outliers because they are more extreme than the observation of the outer fences.</p><p><strong>Distribution and Visualization of Variables.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/432/1*IqD2Qn9oh9waDA6crsfZ3A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/432/1*IA3sqBRY3zjuOJCBmQx5oQ.png" /></figure><p>As shown in the figures above, the customers who are highly educated have subscribed to a term deposit while all illiterate people have not subscribed to a term deposit. It can also be noted that married people have subscribed to a term deposit while the divorced are the least in making deposit subscriptions in the bank.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1008/1*WKFwqP9tyPiybySXzedPhw.png" /><figcaption>Distribution of y(subscription of fixed deposit)</figcaption></figure><p>From the above output, the majority of clients did not subscribe to the term deposit, 88.7% while 11.3% accepted the subscription offer. This significant difference in the proportion of the class that we are trying to predict leads to imbalance data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*irkr6fiaMuH9eFbGxZcZ5Q.png" /><figcaption>Correlation matrix</figcaption></figure><p><strong>Data Preprocessing for model building.</strong></p><p>Since the duration attribute highly affects the output target (e.g., if duration=0 then y=’no’). Yet, the duration is not known before a call is performed. Also, after the end of the call y is obviously known. Thus, this input should only be included for benchmark purposes and shall be discarded if the intention is to have a realistic predictive model. Also to ensure that we have fewer columns after encoding we are going to join some attributes in education and job variables. The following function executes the preprocess in preparation modeling.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f64892d9d1fb1a3a6b906739cc2f75ca/href">https://medium.com/media/f64892d9d1fb1a3a6b906739cc2f75ca/href</a></iframe><p><strong>Conversion of Data Types</strong></p><p>For categorical feature selection, we are going to obtain dummy variables and encode our target variable ‘y’ with only binary encoding.</p><p>Many machine learning models perform better when input variables are carefully transformed or scaled prior to modeling. Therefore we are going to transform our data by scaling it for better performance of the ML models.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0c82898a49653f8f557f09f09667e50b/href">https://medium.com/media/0c82898a49653f8f557f09f09667e50b/href</a></iframe><p><strong>Removal of outliers</strong></p><p>Outliers can skew statistical measures and data distributions, providing a misleading representation of the underlying data and relationships. Removing outliers from training data prior to modeling can result in a better fit of the data and, in turn, more skillful predictions. Therefore we need to get rid of the outliers.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f5a37f3a079c1b899cdef0af3a110641/href">https://medium.com/media/f5a37f3a079c1b899cdef0af3a110641/href</a></iframe><p><strong>Handling Class Imbalance</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*azRiGtPm_gObi_Z6vA4a-A.png" /><figcaption>Distribution of y(subscription to Fixed Deposit)</figcaption></figure><p>More clients did not subscribe compared to the one’s who did not subscribe. This is an instance of class imbalance. When the dataset has underrepresented data(in this case the class yes), the class distribution starts skew. To deal with this we are going to use the Random Oversampler method which duplicates examples from the minority class in the training dataset.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fb40524ab6dec618b64477d15c8a608c/href">https://medium.com/media/fb40524ab6dec618b64477d15c8a608c/href</a></iframe><p><strong>Data Transformation(Dimensionality reduction)</strong></p><p>For better performance of our model, we need to reduce the dimension of our data from 58 columns to say 10 columns using a reduction technique known as PCA. Principal component analysis performs a linear mapping of the data to a lower-dimensional space in such a way that the variance of the data in the low-dimensional representation is maximized.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d34f2d564f927d544c2d8bf2b4e05e3a/href">https://medium.com/media/d34f2d564f927d544c2d8bf2b4e05e3a/href</a></iframe><p>Now our data is fully processed and ready for building ML algorithms</p><p><strong>Model building</strong></p><p>In our case we are going to consider three models; logistic regression, XGBoost Classification, and Multilayer perceptron.</p><p><strong>Concept of Cross-validation</strong></p><p>There are two types;k-fold and stratified k-fold cross-validation. The k-fold cross-validation procedure involves splitting the training dataset into k folds. Stratified k-fold cv is the modified k-fold cross-validation and train-test splits can be used to preserve the class distribution in the dataset. In evaluating our three models, we shall consider 10 folds.</p><p>The following is the helper function for performing cross-validation and returning the model accuracy score, the confusion matrix, and the classification report.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d72da58aff91f993fc405faa151c6ad5/href">https://medium.com/media/d72da58aff91f993fc405faa151c6ad5/href</a></iframe><p><strong>Results</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/432/1*zD0OZD3SaX3PYCtTXeSgtA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/432/1*7poWJ0aNOXGFFIGg5sjSlg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/432/1*MSTZlg0yvuEmE-NmhvqIgw.png" /></figure><p>Our best performing model is the XGBoost Classifier compared to the other models with a score of 0.85 with stratified k-fold cross-validation.</p><p><strong>Evaluation of the model</strong></p><p>While the resulting model accuracies are quite comparable for the XGBoost, a quick look at the ROC Curve, another model metric indicates a slight improvement Stratified K-fold Cross-validation is used.</p><p>We can therefore confirm that Stratified k-fold cross-validation performs better than the k-fold cross validation since it preserves the class imbalance in the data. Also, we can note that there is no much difference in terms of the score of either the cross-validation since we had dealt with class imbalance</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/432/1*c0AyEoOI290Q7I9WgUBjLw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/432/1*MSTZlg0yvuEmE-NmhvqIgw.png" /><figcaption>K-fold vs Stratified</figcaption></figure><p><strong>Hyperparameter Tuning: RandomizedSearchCV</strong></p><p>The above models were run with the default parameters determined by the LogisticRegression, XGBoostClasssifier, and MLPClassifier modules. Could we improve the model by tuning the hyperparameters of the model?</p><p>To achieve this, we define parameters that we would want to test out in the model and select the best model using RandomizedSearchCV.For this, we can consider our “best ”model which was the XGBoostClassifier.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6756eafb2c2ac2debbecd77c62bf7cd6/href">https://medium.com/media/6756eafb2c2ac2debbecd77c62bf7cd6/href</a></iframe><p>And this is how the best parameters for XGBoost look like;</p><p>XGBClassifier(base_score=0.5, booster=’gbtree’, colsample_bylevel=1,<br> colsample_bynode=1, colsample_bytree=0.6, gamma=0.5,<br> learning_rate=0.1, max_delta_step=0, max_depth=5,<br> min_child_weight=10, missing=None, n_estimators=100, n_jobs=1,<br> nthread=None, objective=’binary:logistic’, random_state=0,<br> reg_alpha=0, reg_lambda=1, scale_pos_weight=1, seed=None,<br> silent=None, subsample=0.6, verbosity=1)</p><p><strong>Conclusion of the Final model:XGBoostClassifier</strong></p><p>XGBoost model classification report and confusion matrix:</p><pre>Accuracy scores of the model: 0.85<br><br> Classification report of the model<br>--------------------------------------<br>              precision    recall  f1-score   support<br><br>           0       0.83      0.88      0.85      3654<br>           1       0.87      0.82      0.84      3655<br><br>    accuracy                           0.85      7309<br>   macro avg       0.85      0.85      0.85      7309<br>weighted avg       0.85      0.85      0.85      7309</pre><pre>Confusion Matrix of the model<br>--------------------------------------<br>[[3209  445]<br> [ 656 2999]]</pre><p>It appears that XGBoost Model performed better for both the majority and minority class, with precision, recall metrics and f1-score all above 0.8 compared to other models. It is therefore the best one in predicting the bank market strategy of having clients subscribe to fixed term deposits.</p><p><strong>References</strong></p><p><a href="https://scikit-learn.org/stable/modules/generated/sklearn.model_selection.RandomizedSearchCV.html">RandomizedSearchCV</a></p><p><a href="https://www.analyticsvidhya.com/blog/2016/03/complete-guide-parameter-tuning-xgboost-with-codes-python/">Hyperparameter Tuning</a></p><p><a href="https://medium.com/datadriveninvestor/k-fold-cross-validation-6b8518070833">Cross-Validation</a></p><p><a href="https://machinelearningmastery.com/random-oversampling-and-undersampling-for-imbalanced-classification/">Random oversampling</a></p><p><a href="https://www.analyticsvidhya.com/blog/2018/08/dimensionality-reduction-techniques-python/">Dimension reduction</a></p><p>Thank you for reading!! I put this together as part of Batch 3 of <a href="http://10academy.org/">10academy.org</a> training.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=66ded028e9a0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/bank-deposit-subscription-predictions-66ded028e9a0">Bank Deposit Subscription Predictions</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Twitter Mining:]]></title>
            <link>https://medium.com/@bessymukaria/twitter-mining-a0b5f52dfbb9?source=rss-8a4b5a317276------2</link>
            <guid isPermaLink="false">https://medium.com/p/a0b5f52dfbb9</guid>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[twitter-data]]></category>
            <category><![CDATA[web-scraping]]></category>
            <category><![CDATA[data-insights]]></category>
            <category><![CDATA[tweepy]]></category>
            <dc:creator><![CDATA[Bessymukaria]]></dc:creator>
            <pubDate>Thu, 23 Jul 2020 19:08:03 GMT</pubDate>
            <atom:updated>2020-07-23T19:08:03.877Z</atom:updated>
            <content:encoded><![CDATA[<p>This blog is a project report of a challenge on user segmentation using users’ twitter data at the 10 Academy Data Science Training program. A detailed code of my work about this post is on <a href="https://github.com/Bessy-Mukaria/10-Academy-Challenge">my GitHub repository</a>.</p><h3>Defining user segmentation in social media through the use of Twitter mining</h3><p>An informed insight on how an individual has an influence on others in a circle can help a business create social media campaigns that aid in marketing and advertising. An approach to determine this is summarized here with explanations of how to use tweepy API in python to extract data and how to use the data obtained to rank the users. Users are ranked based on their influence. This blog is among the challenges undertaken at <a href="https://www.10academy.org/">10 Academy</a> training in July 2020.</p><h3>Problem statement</h3><p>What determines the level of influence a user has on social media? An approach is made to make an understanding of the various segmentation of the social media influencers in Africa to inform a Social media campaign based on the following factors;</p><ol><li>Popularity (Retweet Influence): measured by the number of Retweets and Likes users get</li><li>Reach (Indegree Influence): measured by the size of their audience i.e followers and following.</li><li>Relevance (Mentions Influence): measured by the relevancy of their content i.e user mentions.</li></ol><h3>Methodology</h3><h3>Data Extraction</h3><h3>Web scraping</h3><p>In the extraction of the data, I scrapped <a href="https://africafreak.com/100-most-influential-twitter-users-in-africa">Africa Influential Tweeter</a> and <a href="https://www.atlanticcouncil.org/blogs/africasource/african-leaders-respond-to-coronavirus-ontwitter/#east-africa">Africa leader&#39;s response to Coronavirus</a> websites to obtain the twitter accounts of the most influential Twitter users and top African leaders respectively.</p><h3>Twitter mining data.</h3><p>Next, I use the tweeter APIs to extract data for the twitter users obtained. First, I import the needed packages. Tweepy is a must when dealing with data from Twitter. Pandas is always the best for munging and process data.</p><pre>import tweepy<br>import pandas as pd</pre><p>Next, I provide four keys/tokens from my Twitter App Developer as this is the second step for any Tweepy operation. Then I initiate the authentication and pass it with Tweepy API to access information about the Twitter handles obtained above.</p><pre>#providing twitter Api<br>consumer_key = (YOUR TWITTER_API_KEY)<br>consumer_secret = (YOUR TWITTER_API_SECRET)<br>access_token = ( YOUR TWITTER_ACCESS_TOKEN)<br>access_token_secret = ( YOUR TWITTER_ACCESS_TOKEN_SECRET)<br><br>#Initiating the aunthetication<br>auth = OAuthHandler(consumer_key, consumer_secret)<br>auth.set_access_token(access_token, access_token_secret)<br>self.auth = auth<br>self.api = tweepy.API(auth, wait_on_rate_limit=True)</pre><h3>Data Processing</h3><p>In ensuring data quality control and correct inference of the results during analysis, I cleaned the data keeping in mind the variables of interest i.e number of followers, number of following users, user mentions, retweet count, favorite count, and the hashtag used by the users. Below is a breakdown of the variables of interest and the measures of ranks used.</p><ul><li>Popular score: retweet count and retweet count</li><li>Relevance score: user mentions</li><li>Reach score: number of followers and user’s following</li></ul><h3>Data analysis.</h3><p>I did visualization on the clean to data to help get an insight into the trend in the data. The main focus was on the three ranking scores of measuring influence; popular score, Relevance score and Reach score.</p><h3>1. Popular score</h3><p>I obtained the popularity score by ranking the users(government officials and most twitter influencers) based on their total number of retweet count and the likes they got on each tweet.</p><pre>###Popularity score<br>#Parameters of interest = No of retweets, Favorite count.<br>Popular_score_official = Officials_data[[&#39;original_author&#39;,&#39;favorite_count&#39;,&#39;retweet_count&#39;]]<br>grouping by original author.<br>Popular_score_official = Popular_score_official.groupby(&#39;original_author&#39;).sum()<br><br>#Creating Popular Score.<br>Popular_score = Popular_score_official[&#39;favorite_count&#39;] + Popular_score_official[&#39;retweet_count&#39;]<br>Popular_score_official[&#39;Popular_score&#39;] = Popular_score<br><br>Popular_score_official=Popular_score_official.sort_values(&quot;Popular_score&quot;,ascending=False)<br>Popular_score_official = Popular_score_official.reset_index()  #resetting the index<br>Popular_score_official<br><br>##Barplot.<br>import matplotlib.pyplot as plt<br>%matplotlib inline<br><br>##Barplot<br>fig= plt.figure(figsize=(10,6))<br>sns.barplot(x=&quot;original_author&quot;,y=&quot;Popular_score&quot;,data=Popular_score_official)<br>plt.xticks(rotation = 90)<br>plt.xlabel(&quot; Official&#39;s govt Twitter Handles&quot;)<br>plt.ylabel(&quot;Popularity Score&quot;)<br>plt.title(&quot;Govt Official&#39;s Popularity score&quot;)<br>plt.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*_Kxj4y2K_sI46GRps1IUrQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/919/1*X2cFXJA0EV9ffnIkoNOhQQ.png" /><figcaption>The popularity score of the government officials and the topmost influential twitter users in Africa.</figcaption></figure><h3>2. Reach score</h3><p>I obtained the reach score by ranking the users(government officials and most twitter influencers) based on their total number of followers and the numbers they are following.</p><pre>###Reach score<br>#Parameters of interest = No of retweets, Favorite count.<br>Reach_score_official = Officials_data[[&#39;original_author&#39;,&#39;followers&#39;,&#39;following&#39;]]<br><br>Reach_score_official = Reach_score_official.drop_duplicates(&#39;original_author&#39;)<br>#Creating Popular Score.<br>Reach_score = Reach_score_official[&#39;followers&#39;] + Reach_score_official[&#39;following&#39;]<br>Reach_score_official[&#39;Reach_score&#39;] = Reach_score<br><br>Reach_score_official = Reach_score_official.sort_values(&quot;Reach_score&quot;,ascending=False)<br>Reach_score_official =Reach_score_official.reset_index(drop=True)<br>Reach_score_official<br><br>##Barplot.<br>import matplotlib.pyplot as plt<br>%matplotlib inline<br><br>##Barplot<br>##Barplot<br>fig= plt.figure(figsize=(10,6))<br>sns.barplot(x=&quot;original_author&quot;,y=&quot;Reach_score&quot;,data=Reach_score_official)<br>plt.xticks(rotation = 90)<br>plt.xlabel(&quot; Official&#39;s govt Twitter Handles&quot;)<br>plt.ylabel(&quot;Reach Score&quot;)<br>plt.title(&quot;Govt Officials Reach score&quot;)<br>plt.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/616/1*GhqMWMz-mxKEQY3bYaBmUw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/616/1*D62hMUH9pqa1dBbxCT3ueA.png" /></figure><h3>3. Relevance score</h3><p>I obtained the Relevance score by ranking the users(government officials and most twitter influencers) based on user mentions.</p><pre>###Relevance score<br>#Parameters of interest = No of retweets, Favorite count.<br>#Creating a dataframe with <br>Relevance_score_official= Officials_data[[&#39;original_author&#39;,&#39;user_mentions&#39;]]<br><br>#Checking for missingness.<br>Relevance_score_official.isnull().sum()  <br><br>Relevance_score_official = Relevance_score_official.groupby(&#39;original_author&#39;).count()<br>Relevance_score_official=Relevance_score_official.sort_values(&quot;user_mentions&quot;,ascending=False)<br>Relevance_score_official =Relevance_score_official.reset_index()<br>Relevance_score_official<br><br>##Barplot<br>fig= plt.figure(figsize=(10,6))<br>sns.barplot(x=&quot;original_author&quot;,y=&quot;user_mentions&quot;,data=Relevance_score_official)<br>plt.xticks(rotation = 90)<br>plt.xlabel(&quot; Official&#39;s govt Twiiter Handles&quot;)<br>plt.ylabel(&quot;Relevance Score&quot;)<br>plt.title(&quot; Government Officials Relevance score &quot;)<br>plt.show()<br></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*HLYW73PRKkVkENSPmkpxGA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/623/1*hNCHAyfbXpK52PjOKUiI6A.png" /></figure><h3>Findings</h3><p>From the analysis, using the above scores, it was shown that the most influential users addressed matters Corona Virus which is under health and well-being, Human rights, and politics. I obtained this by plotting a bar graph of the most influential users based on the ranks against the most used hashtags.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/891/1*bZEEXtRN2L2aqrEp1MDBKA.png" /></figure><h3>Conclusion and Recommendation</h3><p>Retweet influence, mentions influence, and indegree influence has big a role to play in determining the level of influence a user has on society and its environment. And this is a strength that can be tapped into and utilized by businesses to push products and services through campaigns by partnering with the most influential users through marketing and advertising. This is dependent on the category of the content of the user. I would recommend other factors that determine a user’s influence to be factored in determining if one is more influential than the use of the three ranks of measuring influence. For instance, the interpersonal relationship of a user with the virtual community can be considered.</p><h3>Resources</h3><p><a href="http://twitter.mpi-sws.org/icwsm2010_fallacy.pdf">Measuring User Influence in Twitter: The Million Follower Fallacy</a></p><p><a href="https://www.edureka.co/blog/web-scraping-with-python/">Web Scraping using Python</a></p><p><a href="https://www.tweetbinder.com/blog/twitter-impressions/">How to calculate Twitter impressions and reach</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a0b5f52dfbb9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>