An Intelligent Fuzzy Rule-Based Personalized News Recommendation Using Social Media Mining

Recommendation of a relevant and suitable news article is an essential but a challenging task due to changes in the user interest categories over time. Moreover, the Internet technology provides abundant news articles from a huge amount of resources. Meanwhile, nowadays, many people are confronted with viral news articles through social media cost-free without considering the news sites. Therefore, mining of social media for addressing such viral news articles has become another key challenge. To overcome the above challenges, this paper proposes fuzzy logic approach for predicting users' diversified interest and its categories by analysing their implicit user profile. Depending on users' interest categories, the viral news articles and their categories were determined and analysed through mining social media feeds-Facebook and Twitter. Furthermore, fresh news articles are retrieved from news feeds incorporated with retrieved viral news articles provided as recommendation with respect to users' diversified interest. The performance of the proposed approach for predicting overall users' interest for all categories attained 84.238%, and recommendation accuracy from News feed, Facebook, and Twitter attained 100%, 90%, and 100% with respect to users' interest categories.


Introduction
With the advancement of World Wide Web (WWW), news reading style of people has rapid developments in Internet, and news reading pattern of people has slowly changed from the traditional print model to the Internet [1]. As the Internet provides access to news articles of a large variety from numerous resources, reading online news articles has become popular and daily routine for many people. Nevertheless, it is a tough task for news readers to identify desirable news articles relevant to them [2]. For mitigating this problem of information overload, news recommendation system plays a vital role for news portals. e news recommendation has certain unique challenges [2] compared to other domain recommendations such as item, movie, and music as the relevance of news articles may change rapidly with a short interval time relating to every recent event happening around the world. However, the news sites update the news articles immediately every time, but some news articles may be outdated by breaking news on the same topic multiple times persistently throughout the day requiring a constant update in the recommendation process. Moreover, individuals in news article reading are topic-sensitive; as a result, they are usually interested in several news categories that include entertainment and sports. us, prediction of users' interest on those categories based on their reading habits is a challenging task.
In addition to that, nowadays, people get news articles from social media rather than from news sites. e news articles that can be spread in online social media become viral and reach the people instantly due to general open discussions [3]. is discussion helps in identifying various viral news and events occurring in the entire world. People show much interest in obtaining such viral and fresh news articles. So, it becomes a need to frame a system which recommends such viral news articles from social media as well as fresh news articles from the news channel purely based on users' diversified reading habits. In this paper, we present a fuzzy logic approach to predict users' diversified interest because fuzzy logic has been extensively used in recommendation systems to handle uncertainty, impreciseness, and vagueness from the users' behaviour and make optimal prediction of users' interest [4,5]. In this paper, Mamdani fuzzy inference system is used for prediction of users' interest for the following categories, namely, business, sports, technology, entertainment, and politics.
In many of the previous works [6][7][8][9], news articles were recommended absolutely based on the users' interest. However, they did not give attention on recommending the viral news articles obtained from social media. Few researchers focused on this issue, and they recommended news articles by harnessing social media feed-Twitter [10][11][12][13].
is work determines the viral news articles from Twitter and also additionally from Facebook. Many people come across the news articles on Facebook as a result of their friends' shares or likes. So, Facebook becomes the best channel for news article sharing [3,14]. e major contributions of this work are summarized as follows: (1) Fuzzy logic approach to predict users' diversified interest in various news categories using the Mamdani fuzzy inference system (2) Determination and retrieval of viral news articles by mining Twitter and Facebook feeds (3) Recommendation of the fresh news articles along with viral news articles with respect to users' interest categories retrieved from social media e rest of the paper is framed as follows. Section 2 discusses the related works with regard to popularity-based and personalized recommendation. Section 3 describes the proposed work and its architecture and a brief description of dataset construction and its analysis. Section 4 deals with the experimental results of the proposed work. Section 5 provides the conclusion and the possibilities of future work.

Literature Review
Recommendation system (RS) plays a vital role in e-commerce. It helps the people tackling the problem of information overloading [15][16][17]. e main objective of the RS is to filter information from several resources according to users' interests or preferences. During the past decades, noteworthy improvements have been made in recommendation. Recommendation systems have been applied in many fields that include movie (movie recommendation) [18], item (item recommendation) [19,20], news (news recommendation) [21], and music (music recommendation) [22]. In contrast, to all the aforementioned recommendation systems, news recommendation systems generally have certain unique characteristics which are not present in other RS [2]. It helps people to get instant updation with the outside world. Moreover, it suggests news articles to the individuals with respect to their interest. In order to make it personalized, RS builds and maintains the user profile for every user that captures people's interest over time using explicit or implicit information. e explicit information is obtained in the form of ratings, like/dislike directly given by the users [23]. Similarly, the implicit information is obtained in the form of monitoring and interpreting users' browsing history [24]. Substantial research works were carried out in the news recommendation system using either explicit or implicit user profile for the prediction of users' interest and recommendation through applying different techniques. Won-Jo Lee et al. [25] have predicted users' interest from their profile using the term frequency and inverse document frequency (TF-IDF) methodology. ey have designed user profiles by observing the users' Twitter activities (hashtag, tweet, and retweets). Billsus and Pazzani [6] designed an intelligent agent which predicted users' short-term and longterm interest by applying multistrategy machine learning approaches, namely, nearest neighbour and naïve Bayes classifier. Liu et al. [21] proposed Bayesian framework for the prediction of users' interest from their implicit profile. Moreover, they experimented on Google news service obtaining better recommendation results. Bai et al. [26] proposed a novel method for the prediction of users' interest from users' implicit profile. Here, the user profile was designed by monitoring users' interaction with the news sites and their search histories. Hsieh et al. [27] proposed the channel-aware latent Dirichlet allocation technique for predicting users' interest from their profile. e user profile was constructed through monitoring the user details tracked from their e-mail, Facebook, and Twitter activities. Saranya and Sudha Sadasivam [28] proposed the rough set-based collaborative filtering technique for imputing the missing news categories for each user. Piao et al. [29] suggested news recommendation architecture using Mahout and a main memory database. e news preference rate of users was calculated on the basis of time spent by users on reading specific news articles. ey built the user profile from users' smart device-accessed web pages. ey determined that users preferred news categories using the naive Bayes classifier. Adnan et al. [30] proposed fuzzy logic-based content-based news recommendation for a set of articles related to other articles read by the user. ey constructed implicit user profile by crawling bdnews24.com site using Google analytics. However, in this proposed work, the implicit user profile has been built and monitored using a proxy agent, and users' interests were predicted accurately using fuzzy logic approach-Mamdani fuzzy inference system-for personalized recommendation.
Besides, it is essential to include trends and popular news articles through mining social media for improving the personalized recommendation system. Natarajan and Moh [31] proposed the popularity-based news recommendation system based on users' preferred location, popularity, and trends. ey determined trendy news articles by analysing social media-Twitter for providing good recommendations. Jonnalagedda et al. [10] proposed the popularity-based news recommendation system using microblogging service (tweets) along with the personalized system. ey ranked news articles by identifying most popular news articles through analysis of the Twitter public timeline. However, in our perception, none of the research works was focused on 2 Computational Intelligence and Neuroscience mining Facebook feed to determine the most popular (viral) news articles. In our proposed work, we have addressed this issue of improving popularity-based recommendation for providing better recommendation results.

Proposed Work
is article contains three-fold contributions. e first is users' diversified interest category prediction from their implicit profile (reading history) using the Mamdani fuzzy inference system (MFIS). e second is analysis and retrieval of viral news articles by exploring social media, Twitter and Facebook feeds, for selective familiar categories.
ird is recommendations of the fresh news articles from RSS feeds as well as viral news articles from social media feeds based on users' interest categories. Figure 1 depicts the overall architecture of the news recommendation framework.

Data Collection and User Profile Construction.
e user profiles represent users' preferences and interests and are designed to enhance the effectiveness of a personalized news recommendation system. It can be built and maintained for each individual user. In general, user profiles are of two types, namely, explicit and implicit. An explicit user profile (EUP) can be built from explicit information provided directly by users. It includes the user name, address, and specific interests in different categories of news including sports and business. Nevertheless, some people prefer not to voluntarily provide feedback or information about their interests. Inference of their interest requires tracking their browsing histories called the implicit user profile (IUP) which can be constructed through a proxy agent. e IUP contains search queries posted on the search engine, URLs visited, title and date, along with the time. In this proposed work, only IUP contents have been considered for obtaining users' interest categories.
Moreover, the visited URLs have been analysed, and click frequent count (CF) for specific categories is obtained using Directory.Mozilla.Org (DMOZ). Search query categories (posted on search engines) have also been analysed, and specific search query count (SSQ) is determined using a clustering technique. In order to predict users' diversified interest categories, the CF and SSQ were passed as input attributes for the Mamdani fuzzy inference system (MFIS). Figure 2 illustrates the overall architecture for users' interest prediction from the IUP whose contents were monitored for 25 users for fifteen days continuously.

Methodology.
Generally, reasoning the users' interest categories from their IUP is a challenging task because there is uncertainty associated with how to represent and infer user interest categories precisely. Mamdani fuzzy inference system (MFIS) was applied for overcoming this problem and predicting users' interest. It is a framework which handles uncertainty and imprecision, helping the people to make decisions through the degree of membership function and linguistic terms [32][33][34]. It mimics human interest and represents using If-en rules. It is flexible (an easy-tomodify FIS by just adding or deleting rules) and reliable (enough to model vagueness and subjectivity in the attributes). e following section discusses the modelling of MFIS and its application to predict users' diversified interest categories. e first and foremost modelling of MFIS is fuzzification process of input attributes "CF" and "SSQ" and output attribute "Interest prediction for specific categories" which were converted from crisp values into fuzzified value using membership function [35]. e proposed MFIS model was designed with a combination of Gaussian membership function for input attributes "CF" and "SSQ" and triangular membership function for the output attribute "Interest prediction for specific category." e Gaussian membership function has been chosen for smoothness, and triangle membership function has chosen for its monotonicity. Nevertheless, the trial and error method was utilized to get the optimum membership functions. Figures 3  and 4 represent the schematic view of the input membership function, and Figure 5 represents the output membership function for the sports category. e input membership function for sports click frequency (SCF) and sports specific search query (SSSQ) can be classified into "Low," "Medium," and "High" with different degrees of fuzzy sets, respectively. Similarly, the output membership function can be classified into "Not interested," "Interested," and "Highly-interested" with different degrees. To form rule base, modelling of MFIS is done using fuzzy "if-then" rules [36], and thus, the relationship between the input and output attributes was represented. By the knowledge of domain, experts have developed the following rules and stored in rule base. e sample rules are as follows: Based on the membership function values, all the rules in the rule-base of MFIS were executed. en, the next step is modelling the fuzzy decision which combines all the antecedent parts and the consequent parts, thereby calculating the aggregation of output values. e resultant aggregating linguistic value was converted into a crisp value using the centroid defuzzification method and predicting the users' interest with respect to "SCF" and "SSSQ" as shown in Figure6.
Computational Intelligence and Neuroscience Figure 7 illustrates the surface view of "SCF" and "SSSQ" and the interest prediction for the sports category reflecting the relationship between them. e same MFIS model was applied to predict users' interest in the following categories, namely, business, entertainment, technology, and politics with respect to its CF and SSQ.

Domain-Specific Popularity.
e real-world events and news articles were spread and discussed by people effectively in an online social networking platform like Twitter and Facebook.
ese discussions were fruitful in the identification of ongoing viral and trendy news articles from social media. So, this proposed work is supportive for the determination of such viral news articles from harnessing social media feeds for the categories, namely, sports, business, entertainment, politics, and technology.

Domain-Specific Viral News Identification from
Facebook. News articles from various news portals can be posted or shared or liked by the Facebook customer and in their respective Facebook walls [37]. us, the news articles become viral in Facebook using share of articles and a like  count.
e viral news articles may be from different domains. So, it is necessary to identify such domain-specific viral news articles.
is work determines such viral domain-specific news articles from Facebook by using Webhose.io (social media monitoring API) [38]. It provides access to organized structured news articles shared or liked via monitoring Facebook media for multiple categories. Each category contains multiple subcategories. For instance, entertainment-relevant categories such as movies, lifestyle, and gaming are grouped under the entertainment category. e same thing is applicable for the other categories. Figure 8 illustrates the retrieval of viral news articles from Facebook using webhose.io API. e likes and share counts keep on changing every day for the category of every news article. We have found share count and likes as limited for certain categories. So, the count was kept greater than zero. In this work, two topmost news articles were retrieved for the past three days up to the current minute for certain familiar categories. Table 1 represents the details of performance of the domain-specific viral news articles from Facebook related to their categories. In order to evaluate this performance, two news articles were retrieved from each category. e retrieved news article categories pertaining to the respective categories were evaluated by using a news classifier.

Domain-Specific Popular Hashtag and News
Retrieval from Twitter. Generally, news articles were discussed by people in Twitter [39] through short messaging service known as tweets. Twitter users may group posts together by a topic or type under specific hashtags. e hashtags may become popular with the maximum number of tweets posted on those hashtags. Hashtags may come under different domains.
Moreover, several hashtags are available for each domain. It is necessary to identify such domain-specific related hashtags for each domain from Twitter. So, in this work, related hashtags for each domain were identified using the hashtag search engine tool.
In addition to this, Twitter crawling engine was built to retrieve tweet counts for each hashtag with respect to its domain during the period of last three days up to the present minute for the specific categories (as stated in Section 3.3.1) applying Twitter API. As a result, the popular hashtags were obtained with the help of the maximum number of tweets excluding retweets. Next, considering these popular hashtags, the two Computational Intelligence and Neuroscience topmost tweets retrieved contain the maximum number of likes along with the corresponding news articles, Twitter account name, language, location, date, and tweeted time. Table 2 represents the performance of popular domain-specific news articles retrieval of Twitter respective to its categories.

Retrieval of Domain-Specific News Articles Rendered from News
Feeds. e news articles were rendered from RSS feeds for all the categories from numerous news agencies like Times of India, British Broadcasting Corporation, and Cable News Network. e RSS feeds provide instant updated news article every time. e news articles rendered contain news snippet, description, date, time, and category. Table 3 represents the details of performance of domain-specific news articles rendered from news feeds with respect to users' interested categories.

Recommendation of News Articles. MFIS was applied for the prediction of users' diversified interest in five categories.
e users interested may belong to multiple categories. e following news articles recommended are as per users' interest categories: (1) Two popular news articles retrieved from Facebook along with title, description, category, date, time, share count, and likes (2) Two popular hashtag tweets (most likes) with corresponding news articles retrieved from Twitter along with date, time, and category (3) Latest time stamp news article along with title, description, published date, and time

Results and Discussion
e experiments were conducted on 25 users' IUP continuously for a period of 15 days to measure the performance of the proposed approach (MFIS). e main objective of this approach was to handle uncertainty from the IUP for predicting the users' interest and to classify them accurately in the following categories, namely, sports, business, entertainment, technology, and politics. e input attributes CF and SSQ for each domain were obtained from the IUP and fed as input for MFIS. ree linguistic variables were defined for both CF and SSQ using Gaussian membership function, and membership values have been represented in Tables 4 and 5, respectively. e linguistic variables were denoted as low 0-3, medium 3-7, and high 7-10. Similarly, three linguistic variables were defined for output attributes for specific categories using triangular membership function, and membership values have been represented in Table 6.
Based on linguistic variables, 9 fuzzy rules were framed, and details are provided in Section 3.2. e rules were stored  in the fuzzy associative memory table (FAM) as shown in Table 7.
Next, the defuzzification method, centroid, was applied, and it predicted users' interest precisely. For instance, the defuzzified crisp values are shown in Table 8 with respect to CF and SSQ. e proposed approach was implemented in R programming using FuzzyR package, and prediction accuracy for all the domains was evaluated separately. e performance of the proposed approach MFIS was compared with the following classification techniques, namely, decision tree, KNN, random forest, and naïve Bayes, for predicting users' interested categories. In order to evaluate these classifiers' performance, the input dataset was first trained and then tested for the classification of users' interest categories for the following categories: sports, business, entertainment, technology, and politics. e performance of the proposed MFIS approach outperforms the users' interest prediction in all the categories when compared with the above classification techniques as shown in Figures 9-13. e overall users' interest prediction accuracy for all the categories of the proposed approach attained 84.238% as shown in Figure 14.

Recommendation Accuracy.
We evaluated news articles' recommendation accuracy for 10 users randomly from 25 users. e viral and fresh news articles were retrieved for     Politics 100 Table 2: Domain-specific popular news article retrieval from Twitter. Domain  Accuracy  1  Sports  100  2  Technology  100  3  Business  100  4  Entertainment  100  5 Politics 100      Moreover, it is necessary to identify the news article categories. We identified news article categories which were retrieved by using the news classifier. So, the overall performance of news recommendation was assessed on the basis of news articles retrieved from Twitter, Facebook, and news feed with respect to which users' interested categories are represented in Figure 15.

Conclusion and Future Enhancement
Traditional personalized news recommendations face two key challenges, namely, prediction of diversified users' interest and mining the social media for addressing popular news articles.
is paper presents a MFIS approach for overcoming the challenges, for the prediction of users' interested categories, and identification of viral domain-specific news articles from harnessing Facebook and Twitter feeds, similarly, addressing the latest news articles from RSS feeds for specific categories. e experimental results have shown that the proposed approach (MFIS) attained overall 84.238% in the prediction of categories of users' interest.
is work is limited to the prediction of users' interested categories only for a few domains. is work suggests extension to the prediction of users' interested categories for multiple domains for better recommendations.

Data Availability
e dataset used in this study will not be provided by authors since users' privacy would be compromised.

Conflicts of Interest
e authors declare that they have no conflicts of interest regarding this publication.