Data Mining and Visualization of Android Usage Data
Full text
Albano Jos´e Carvalho de Brito Data Mining and Visualization of Android Usage Data Departamento de Ciˆencia de Computadores Faculdade de Ciˆencias da Universidade do Porto Setembro de 2012
Albano Jos´e Carvalho de Brito Data Mining and Visualization of Android Usage Data Disserta¸c˜ao submetida `a Faculdade de Ciˆencias da Universidade do Porto como parte dos requisitos para a obten¸c˜ao do grau de Mestre em Engenharia de Redes em Sistemas Inform´aticos Orientador: Klaus Schaefers Co-orientador: Pedro Vasconcelos Departamento de Ciˆencia de Computadores Faculdade de Ciˆencias da Universidade do Porto Setembro de 2012
Acknowledgements I would like to thank all of the people who offered support and assistance during the writing of this dissertation. In particular, I would like to sincerely thank my supervisor, Mr. Klaus Schaefers, for guiding me through the dissertation as well as providing an opportunity to integrate a great work group, which contributed to a formidable experience to improve my skills. My gratitude also goes to Prof. Pedro Vasconcelos on his effort in proofreading this dissertation and his suggestions. The Fraunhofer staff was very helpful and provided me a great work environment. My family was also very supportive during the dissertation development I would like to express my heartfelt gratitude. 3
Abstract Designing user interfaces is a challenging task, especially in the context of mobile applications. The design process relies heavily on intuitions and speculations on how the users will interact with the application. As a result many applications do not fully meet the requirements and show severe shortcomings in terms of usability. Common design processes try therefore to increase the usability by iterating several design and test cycles. The main drawbacks of this approach are the cumbersome execution of the test cycles and the demanding analysis of the test results. This dissertation proposes a framework to automatically collect, store and process usage information from an Android application, to discover and display helpful knowledge based on the user intentions with the application. The system collects usage data and applies various statistical methods on the data, to offer a better insight to the user interface designers. 4
Resumo Desenvolver interfaces de utilizador ´e uma tarefa dif´ıcil, especialmente no contexto de aplica¸c˜oes m´oveis. O processo de design depende em grande parte nas intui¸c˜oes e especula¸c˜oes em como o utlizador ir´a interagir com a aplica¸c˜ao. Como resultado muitas aplica¸c˜oes n˜ao preenchem todos os requisitos e apresentam graves lacunas em usabilidade. Processos comuns de design tentam melhorar a usabilidade de forma interactiva, repetindo varios ciclos de testes e design. As principais desvantagens desta aproxima¸c˜ao s˜ao os pesados ciclos de execu¸c˜ao e a exigente an´alise dos resultados dos testes. Esta disserta¸c˜ao prop˜oe um sistema para automaticamente recolher, armazenar e processar informa¸c˜oes de utiliza¸c˜ao, para descobrir e exibir conhecimento ´util com base nas principais inten¸c˜oes do utilizador na aplica¸c˜ao. O sistema recolhe dados de utiliza¸c˜ao e aplica v´arios m´etodos sofisticados no conjunto de dados, para oferecer uma melhor vis˜ao aos designers de interfaces. 5
Contents Resumo 5 List of Tables 8 List of Figures 10 1 Introduction 11 1.1 Background..................................... 11 1.2 ProblemDescription ................................ 11 1.3 Purpose ....................................... 12 1.4 Dissertation Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2 Background and Related Work 14 2.1 Overview ...................................... 14 2.2 Human Computer Interaction . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.2.1 User-Centered Design Process . . . . . . . . . . . . . . . . . . . . . . . 15 2.2.2 TaskAnalysis................................ 17 2.2.3 UserStereotypes .............................. 18 2.3 WebMining..................................... 18 2.3.1 WebData.................................. 20 2.3.2 Web Structure Mining . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 6
2.3.3 WebContentMining............................ 21 2.3.4 WebUsageMining............................. 26 3 Design and Implementation 30 3.1 Overview ...................................... 30 3.2 Framework Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 3.2.1 LDA Usage Data Model . . . . . . . . . . . . . . . . . . . . . . . . . . 32 3.3 AndroidApplication ................................ 32 3.3.1 Data Collection and Preparation . . . . . . . . . . . . . . . . . . . . . 34 3.4 Modelling User Interests via Clustering . . . . . . . . . . . . . . . . . . . . . 35 3.4.1 Measuring Similarity of Interest for Clustering Users . . . . . . . . . . 35 3.4.2 Right Number of Clusters . . . . . . . . . . . . . . . . . . . . . . . . . 38 3.5 Finding User Access Patterns via LDA . . . . . . . . . . . . . . . . . . . . . . 39 3.5.1 Compute LDA Inference via Gibbs Sampling . . . . . . . . . . . . . . 40 3.5.2 LDA implementation via Gibbs Sampling . . . . . . . . . . . . . . . . 41 4 Results and Evaluation 43 4.1 Overview ...................................... 43 4.2 User Interests via Clustering . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 4.3 User Access Patterns via LDA . . . . . . . . . . . . . . . . . . . . . . . . . . 49 5 Conclusion and Future Work 53 5.1 FutureWork .................................... 54 A Acronyms 55 References 56 7
List of Tables 3.1 Database: Event Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 3.2 Database: Session Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 3.3 Database: Widget Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 3.4 Database: User Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 3.5 LDA Variables Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 8
List of Figures 2.1 User-Centered Design Process. . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.2 Taxonomy of Web Mining and objects. . . . . . . . . . . . . . . . . . . . . . . 19 2.3 ApacheWebAccessLog............................... 20 2.4 Latent Dirichlet Allocation intuitions. . . . . . . . . . . . . . . . . . . . . . . 23 2.5 LDA generative Process. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 2.6 Processing Web usage data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.1 CSVfileexample................................... 31 3.2 Android Application, memory game screenshots. . . . . . . . . . . . . . . . . 33 3.3 User Actions representation and vector structure. . . . . . . . . . . . . . . . . 36 3.4 Similarity measures based on the similarity equations. . . . . . . . . . . . . . 38 3.5 Clustering result with users and the usage vector. . . . . . . . . . . . . . . . . 38 4.1 Widgettransitionmap. .............................. 45 4.2 Widgets usage frequency. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 4.3 Time spent in each screen. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 4.4 Application two uses cases schema . . . . . . . . . . . . . . . . . . . . . . . . 47 4.5 Cluster result without framework interpretation (two topics). . . . . . . . . . 48 4.6 Cluster result with framework interpretation (two topics). . . . . . . . . . . . 48 4.7 LDA result. Use case one, with two topics without the framework interpretation. 50 4.8 LDA result, uses cases, two topics with the framework. . . . . . . . . . . . . . 50 9
CHAPTER 2. BACKGROUND AND RELATED WORK 16 Figure 2.1: User-Centered Design Process. As in every process, UCD follows a series of different stages, defined as: 1. The first stage of the design process is to define the main strategies of the problem, the application objectives. Some problems happen because the objectives are not clear. When we know what we really want to do, we must contextualize our product, in terms of users and business for it to be a viable application. 2. After we defined the application objectives in the last stage, we need to analyze the users and the application’s functionalities (tasks). Determining user characterizations (usually denominated by personas, the concept is introduced in the Section 2.2.3) and relating to the actual work in order to understand the user’s requirements when they want accomplish this type of tasks. Also, it is necessary determine the set of actions for users to perform the tasks. 3. When the application specification is finished and users and tasks are accommodated (user characterizations by requirements and actions set based in personas requirements determined). The next step is to design a functional prototype to start testing the application. 4. When the prototype is designed it is essential to perform tests to evaluate the work. Performing appropriated HCI tests is important to measure the usability and determine if the application can be launched or needs to be improved. The process described in the last four steps is the description of the stages of the UCD process presented in the Figure 2.1. Usually the problems on the design development happen when the designers forget the user and task perspective and focus only on getting ”things” working. Different users have special requirements (Blomkvist,2002); we are different and
CHAPTER 2. BACKGROUND AND RELATED WORK 17 do things differently. Besides, the sequence of steps to accomplish tasks is different from one user to another (Blomkvist,2002). When an application is designed, those requirements need to be determined to create applications and overcome the constraints in design and usability. 2.2.2 Task Analysis Task analysis is a very important technique to determine how users perform their actions in the application. In other words, it reveals the set of actions employed to accomplish the task or set of tasks with recourse to the application interface (Abe Crystal,2004). The aim is to determine what users do, which things they use and the order in which they use them. The main idea is to know how users understand and communicate with the application’s interface. If the designer can predict user behavior or understand their requirements, he can try to anticipate the user’s problems with the tasks or determine the most used steps. This helps to better adapt the tasks around users and solve the most common problems in task design. An example, in Photoshop the usual and simplest set of tasks is more accessible. These accessible tasks have an important impact on usability, because they provide beginner and advanced users with an advantage without interfering between them. To do that, we need to explore the user behavior to determine common actions. Besides, determining the time spent learning a task is a useful measurement for task analysis to create a prediction of time necessary for users to learn a task. Furthermore, task analysis typically presents two different levels of analysis, depending on the research purpose. The complete set of actions presented as a single big task, or breaking the task into small subtasks. These two approaches are useful to determine the user behavior. If a user made a mistake, we can try to locate that mistake and understand why this happened and solve or overcome it in some other way. Otherwise users may have a pattern to do some tasks, that pattern may represent how users like to do a task. That pattern can be very useful to try to apply into other related applications (Crandall et al., 2006). The idea is to adapt the task as much as possible in friendly steps that allow users to easily do their work without any mistakes and frustration. A simple interpretation of this scenario is identifying the use cases behind the usage of the application, which can be helpful to determine the type of user, beginner or advanced, providing different usage which sometimes can be helpful. Avoiding user frustration in one application is essential, which can have immediate impact on terms of usability. The essential problem is to understand users and relate them. Users are different and do things differently. One cultural example could be the different sides of writing. Build an application which combine all friendly steps to users do tasks, is complicated due the big space of different possibilities (Crandall et al.,2006).In the next section the user requirements are described.
CHAPTER 2. BACKGROUND AND RELATED WORK 18 2.2.3 User Stereotypes Application designers need to know their type of users and their specific requirements to combine them into an application. Every user is unique and has a different perspective on the world, how they do things and also understand their surroundings (Blomkvist,2002). The more diverse a user group is, the more difficult relate their need is, which is crucial for software developers. If they want their applications to succeed, it is necessary to classify the users, the target of the application by specific requirements and try to build the application around those requirements. The logic tells to make a prototype to accommodate the most users as possible. The best way to successfully accommodate a huge variety of users without usage frustration is to design for specific types of users with specific requirements, specific applications for their requirements. The typical form to call user groups with specific user stereotypes is personas. (Blomkvist, 2002) define a persona as a model of a functional user that represents the individual’s goals when using any kind of application. In other words, pick the main characteristics (patterns, goals or motives) that are most representative of a group and translate them into a persona characterization to make the persona more “tangible and alive” for the development team (Blomkvist,2002). Errors are never something good, but if they happen, it is very important and useful to inform, help and teach the users to recover their work. The frustration that ensues if the work is lost by an error influences the user experience, the work productivity decrease, besides on user satisfaction which influences the usability of the application. Personas classification helps the designers, to adapt the system around the specific group of users to best choose the friendly way to overcome if an error happens. To determine personas, one simple form to classify users is with questionnaires, and use the answers for clustering users into groups of behaviors. This is a cumbersome and slow process, it is necessary to have other approaches to do the clustering. One efficient and usual approach is to analyze users by the actions taken into usage sessions and with those usage sessions, clustering algorithms can be applied to relate the users into groups. 2.3 Web Mining Nowadays, with the huge amount of information available, the World Wide Web (Web), is a popular and interactive medium to disseminate information. However, the Web is huge, diverse and dynamic (Xu et al.,2010). Because of that, the Web has attracted more and more attention from Data Mining researchers. Providing a growing base of great and varied techniques on knowledge discovery. Due that and the research context adopted, we use the Web context as a support to assist this dissertation. Besides, the process to collect and process data it is similar in many cases.
CHAPTER 2. BACKGROUND AND RELATED WORK 19 Data Mining basically refers to extracting informative knowledge from a large amount of data, which could be expressed in different data types. The main purpose of Data Mining is to discover hidden or unseen knowledge from data repositories. In the Web, Web Mining can be broadly defined as the discovery and analysis of useful knowledge from the Web repositories, with recourse to Data Mining techniques (Liu,2011). As mentioned above, the Web is a huge data repository consisting of a variety of heterogeneous data types. To deal with the variety of heterogeneous data types, Web Mining can be categorized into three types (Xu et al.,2010): 1. Web structure mining, find out knowledge from hyperlinks, the Web structure; 2. Web content mining, determine useful knowledge from Web page contents; 3. Web usage mining, extract user actions patterns from usage Web logs of interactions between users and Web systems. Figure 2.2 presents a Taxonomy of the Web Mining (da Costa and Gong,2005). Figure 2.2: Taxonomy of Web Mining and objects. The Web Mining process is very similar to the Data Mining process. The main difference usually is in the data collection. In traditional Data Mining, the data is collected and stored in a Data Warehouse. On Web Mining, collecting the data can be complicated, due to the huge and dynamic content of information to be stored. The usual way to store the information from the Web is with recourse to logs (Xu et al.,2010).
CHAPTER 2. BACKGROUND AND RELATED WORK 20 2.3.1 Web Data The aim of Web Mining is to extract knowledge from the Web, through log analysis (Xu et al.,2010). But to analyze, first it is necessary to know what type of data it is. In the previous Section 2.2 we present Web Mining decomposed into three types, for each type the used data: •Web content uses text, image, records, etc; •Web structure uses hyperlinks, tags, etc; •Web usage uses HTTP logs, App server logs, request type (GET, POST), etc. Every time a request is made for content, an event representing that request is stored with all relevant informations such, contents, time stamps, hyperlinks or user session information’s. Traditionally the information is collected into server logs (Xu et al.,2010),by the server or other service on the Web. Figure 2.3 presents an example of a server log (Liu, 2011). Figure 2.3: Apache Web Access Log. 2.3.2 Web Structure Mining The goal of Web Structure Mining is to determine a structural summary about the topology hyperlinks at inter-document level of the Web. The Web is full of links, each site is usually represented by a sequence of structured links to pages, and each page is connected to other different pages.
CHAPTER 2. BACKGROUND AND RELATED WORK 21 The Web contains a variety of the objects with almost no unifying structure, with content differences much greater than in the traditional collections of text documents. With several billions of Web pages created by billions of authors or organizations, under a huge diversity of themes, the Web is the great source of information and a challenging area of researches to deal with massive quantities of data. With Web structure researches could be discovered communities of users who share common interest or behaviors on access pages. Another approach is the bibliographic references, it is possible to directly reference from the content sources (Liu,2011). With this perspective we can recover much information about Web sites schema and the Internet itself. This area keeps growing and new methods appear almost every day to solve the problems to determine the schemas or preferences around the Web pages. 2.3.3 Web Content Mining In the Web there exists a huge variety of content, billions of HTML documents, pictures, and multimedia files, among others. The number is constantly rising and the content changing. The Web presents to users an opportunity to access information in almost every place. The aim of Web Content Mining is to discover information from the content of the Web pages itself, but considering the impressive variety of the Web contents, retrieving interesting content is challenging (Liu,2011). Most documents on the Web are for human consumption, making it important to use methods to understand the main topics on the text. Natural Language processing (NLP) is the natural field concerned into interactions between computers and human languages to understand the contents and help to classify Web pages by their main topics (Pol et al.,2008; Yucong Duan,2011). Furthermore, it can help discover patterns on Web contents which can be useful. Topic Modelling Given the huge content on the Web, large quantity of data needs to be explored to retrieve information. Topic modeling techniques provide a way to uncover the semantic structure from large sets of documents (Xu et al.,2010). Effectively extracting valuable knowledge requires methods for interacting with documents to explore their content based on mixtures of topics and navigating to other similar documents. The same process happens with the Web pages (Xu et al.,2010). A topic consists of a cluster of words that frequently occur together. The main idea is to represent a page or document of text as a mixture of topics and a topic as a distribution of words. Through contextual rules or clues, topic models can link words with similar meanings and differentiate uses of words with multiple meanings. This schema can be applied to many fields of study with appropriate types of data, to recover information about the semantic
CHAPTER 2. BACKGROUND AND RELATED WORK 22 contents of documents (Xu et al.,2010). One common example is Web crawlers, when a user makes queries; to allow effective extraction of topics from a large amount of Web contents. The probabilistic model uses the same principle of generative models1to extract latent topic with in text corpus based on hierarchical Bayesian analysis2(Heinrich,2004;Allenby and McCulloch,2005). Probabilistic latent semantic analysis (PLSA) or Latent Dirichlet Allocation (LDA) (Blei et al.,2003) are examples of statistical topic models, LDA is closely related to PLSA. In the next section we describe the LDA structure and the algorithms for inference and estimation for extracting topics. Latent Dirichlet Allocation Probabilistic topic models are algorithms which aim to discover the hidden thematic structure in sets of documents. Latent Dirichlet Allocation (LDA) is a three-level hierarchical Bayesian model, which for each document on a document collection is represented by a mixture of underlying set of topics (Blei et al.,2003). Typically documents are represented as a “bag of words” where the order of words in the document does not matter, as they occur independently (Xu et al.,2010;Blei et al.,2003). The LDA’s intent is to capture the underlying relations between words and group them into “topics” to try identify the content of this documents (Xu et al.,2010). Figure 2.4 shows the typical document distribution of topics and a distribution of words for each topic ( the word probability importance for each topic and a word frequency distribution in the document ) (Blei et al.,2003). Given the LDA assumptions, an initial starting point on LDA is a limitation of topic models, the word independence in the documents (Xu et al.,2010). Topic models like LDA fail to directly model correlation between topics, because it is natural to assume that some subsets of the hidden topics will be highly correlated. A simple example is one article about computer virus. It can also be related to medicine, because virus is shared by both. Limitations of the LDA model stem from the independent assumptions implicit in Dirichlet distributions, that one topic is not correlated with the existence of another (Xu et al.,2010). The LDA model is highly modular and easily extended to other modeling relations between topics by using another distribution instead of Dirichlet, and we can overcome this limitation with another, more appropriate distribution. Given some number of topics, which are distributions over words, each word have the relevance probability on that topic (Figure 2.4,left). Each document is modelled by: 1. first choosing a distribution over the topics (Figure 2.4 histogram, right); 1Generative model is a model for randomly generating observable data. 2Hierarchical Bayes models are hierarchical models analyzed using Bayeisan methods. Bayesian methods are based on the assumption that probability is operationalized as a degree of belief, and not a frequency as is done in classical, or frequentist, statistics(Allenby and McCulloch,2005).
CHAPTER 2. BACKGROUND AND RELATED WORK 23 2. for each word, choose a topic assignment (Figure 2.4, coloured coins) and choose the word from the corresponding topic. Figure 2.4: Latent Dirichlet Allocation intuitions. Mixture Modelling LDA uses the principles of a mixture modelling, which uses a convex combination3of words (Heinrich,2004). A convex combination assumes a weighted sum of coefficients equals one. On NLP one way to treat the contributions of different topics to a document is to take the probability distribution over words, viewing the document as a probabilistic mixture of the topics. The probability of one word win a document with Ktopics is given by p(w) = X k p(w|z=k)p(z=k),X k p(z=k) = 1 (2.1) where a mixture component p(w|z=k) is a multinomial distribution which corresponds to the word wunder the ktopic in the document (Griffiths and Steyvers,2004). P(z=k) returns the probability to choose a word from topic kin the document. The main principles on LDA inference can be described like: 1. term distribution p(w|z=k) = φfor each topic which indicates what words are important to a topic; 3Convex combination is a linear combination of points
CHAPTER 2. BACKGROUND AND RELATED WORK 24 2. topic distribution p(z|d=m)=Θmfor each document m, represents how this topic is important to the document. The parameters φand θare the main goals for latent semantic representation of words and documents. LDA combines equation (2.1) with a prior probability distribution to provide a generative model, to derive an inference strategy (Griffiths and Steyvers,2004;Heinrich, 2004). Generative Model LDA is introduced by combining the generative models to derive an inference strategy, with a prior probability on topics to provide a complete generative model for documents. The idea of LDA is that documents are modeled as random mixtures over latent topics with a probability distribution, where each topic is represented by a distribution over the words vocabulary (Xu et al.,2010). LDA takes a single multinomial variable β(beta) for each topic Z,βdefines the probability for a word given a topic P(w|z) into all documents, the corpus (Xu et al.,2010). A mixture of topics for each document is defined by the variable θ. The generation of words for each document involves two steps (Xu et al.,2010): •select a hidden topic, zfrom a multinomial distribution defined by θ; •for the selected topic z, a term wis draw from the multinomial distribution with parameter βz. The generative model for LDA can be described more detailed as follows or in Figure 2.5 (Ni et al.,2012;Xu et al.,2010): 1. For each topic z= 1,· · ·,Kchoose Wdimensional φz∼Dirichlet (β) 2. For each document d= 1,· · ·,Mchoose Kdimensional θ∼Dirichlet (α) For each position i= 1,· · ·,Nd •Choose a topic Zi∼Multinomial (θd) •Generate a term Wi∼Multinomial (φzi) In this generative process the hyper parameters αand βare given as input, specifying the nature of the priority on φand θ. The process of inference in LDA involves a joint
CHAPTER 2. BACKGROUND AND RELATED WORK 25 probability distribution over the observed data and hidden variables. Data analysis use a joint distribution to compute the conditional distribution of the hidden variables given the observed (Xu et al.,2010). The calculation of the conditional distribution of the hidden variables for a document is given by (Xu et al.,2010): P= (θm, zm,n|wm,n, α, β) = P= (θm, zm,n, wm,n|α, β) P(wm,n|α, β)(2.2) Unfortunately, conditional distribution Equation (2.2) is computationally intractable to compute directly to determine an exact inference, the denominator sum does not factorize and involves Knterms, where nis the total number of words in the document (Griffiths and Steyvers,2004). Due to the problems to compute exact inference of the coupling the latent topics and the mixing vectors β,θ. Several techniques have been proposed to approximate the inference, Laplace approximation, expectation propagation, Markov Chain Monte Carlo(MCMC), variational inference, etc. Gibbs sampling is a special case of MCMC for approximate inference (Teh et al.,2006). The last method provides a series of equations (Heinrich,2004) to deal with the generative process. In the Section 3.5.2, the Gibbs sampling approach will be carefully described, because that equations were adopted in this dissertation to compute the inference. Figure 2.5: LDA generative Process. Optimal Number of LDA topics In the previous section the LDA algorithm is described. Our main LDA assumption is that all parameters are assumed to be known. One of the difficulties of the LDA techniques is finding the right assignment of topics to optimize the topic distribution; the answer to this question remains open (Arun et al.,2010). Choosing a different number of topics than what is expected produces different associations. The idea is to determine the best topics
CHAPTER 3. DESIGN AND IMPLEMENTATION 32 output is stored in a folder which contains the topics distribution, one file per topic. Due to the performance problem, the LDA algorithm was implemented from scratch and integrated into the framework. This implementation will be described in a next section of this chapter. The results of LDA and the user and task analysis are displayed in a Web Page using real application screenshots which is more suitable to designers and usability engineers to interact and interpret the information. Furthermore the Web page can be accessed in other places using the Web. The structures (methods) to show the results were already implemented in the FUSAMI core. To display the information, the data recovered from the analysis was translated into a JavaScript Object Notation (JSON9) structure and sent to the system to display the results. The framework developed was adapted to understand the discovered information relating the application screenshoots and widgets by their IDs and the result was displayed in the mentioned Web page. 3.2.1 LDA Usage Data Model Going further with LDA on a task discovery approach is necessary to define some terms to understand the connection between text and task analysis. Following the idea proposed by (Xu et al.,2010) and (Heinrich,2004) the LDA was translated from Text Analysis into a task discovery space and the result is: •Word: an item from a vocabulary indexed by {W1, W2,· · · , Wm} ⇒ Widget: item can be used from the application indexed by {W1, W2,· · · , Wm} •Document: a sequence of Nwords denoted by {w1, w2,· · · , wn} ⇒ User session : sequence of widgets used by a user in one session denoted by {w1, w2,· · · , wn}. •Corpus: is a collection of Mdocuments denoted by {D1, D2,· · · , Dm} ⇒ Sessions : collection of user sessions. •Topic: is a hidden task (sequence of actions) discovered through data analysis. 3.3 Android Application We used a real Android application, a memory game, which can be found in the Android Market, to discover usage information. The idea of the game is to link pairs of cards, the cards are laid face down, hidden, and two cards are flipped face up over each turn. The objective of the game is to turn over pairs of matching cards, in a minimum number of tries. The application provides different usage contexts, e. g. football, celebrity couples, music, 9JSON is a text-based open standard designed for human-readable data interchange.
CHAPTER 3. DESIGN AND IMPLEMENTATION 33 German to English, and even Java programming. The users have the possibility to choose the difficulty of the game, a beginner user or an advanced user, which provide two different levels of game which implies increasing the number of matches needed to finish the game. The application also provides users with the possibility to store the scores of the game to create a high score list. Figure 3.2 shows real screenshots of the application. Figure 3.2: Android Application, memory game screenshots.
CHAPTER 3. DESIGN AND IMPLEMENTATION 34 3.3.1 Data Collection and Preparation The FUSAMI framework already had developed an event listener, logger, to automatically collect the usage data from the application and store it in the database using a Client/Server model. Every time a user opens the application a user session is created, which represents the starting point of actions taken by the user from login until logout. During the session each action performed by the user is stored, including the set of events, and the time spent in the application and each stage. The event is the basic action performed by the user, e.g. clicking on a widget. The logger deals with all the process to prepare the data from the application usage and send the information through the Web to the server database, the server splits and selects the important fields to be stored from the Web logs. The SQL database (phpMyAdmin10) contains all user sessions with all events performed and other useful additional information, such as time stamps, screens used even the historical usage. Each session has their ID and each widget was also represented by their ID. Tables 3.1, 3.2, 3.3 and 3.4 represent a simple view of the database structure, the database was consulted using SQL queries. The database contains 13551 different events taken by 41 users in 1017 sessions from real usage. After all information is stored in the database, the data was filtered, the CSV file is prepared(list of users performed events) and then the algorithms can run. EventID ExtraINFO EventType PrivacyLevel TimeStamp SessionID WidgetID 1770 Null 0 0 1217911 1769 33 1771 1234 25 1 1317911 1769 61 Table 3.1: Database: Event Structure SessionID UserINFO 1769 58 1566 31 Table 3.2: Database: Session Structure 10phpMyAdmin is a software tool written in PHP, intended to handle the administration of MySQL over the Web.
CHAPTER 3. DESIGN AND IMPLEMENTATION 35 WidgetID Widget Name SCREEN Widget Type Position APP version 54 Play AGAIN APP1 Screen1 Button 28 89456 55 START GAME APP1 Screen2 Rating Bar 33 13456 Table 3.3: Database: Widget Structure UserID USER Name 2 Manuel 83 Carlos Table 3.4: Database: User Structure 3.4 Modelling User Interests via Clustering Clustering algorithms operate differently, but the result is the same, building groups of data objects. The K-means algorithm is the most used algorithm for clustering, therefore K-means was used in this dissertation (Ray and Rose). Weka provides a K-means implementation which was used for the clustering process. Each user is represented as a vector which corresponds to their sessions, the events sequence performed in a session by each user. If one user employ a actions sequence as widget A, B, D, E, D, B and finally C, this is represented as A →B→D→E→D→B →C. Figure 3.3 represents how is interpreted the events sequence employed by the user in their navigation path, the distance vector (Liu,2011). The clustering result of the distance vector computation is considered as an interpretation of their user navigation patterns (Xu et al.,2010). 3.4.1 Measuring Similarity of Interest for Clustering Users Capturing user’s characteristics is an important task to application designers. Through their access patterns history it is possible not only to know how the application was being used, but also the behavioral characteristic of users could be determined. The navigational user path carries valuable information about their interests and relationships. Strong correlation among the similarity of the navigational paths and similarity among the user interests represents valuable information to interface designers to make user groups and determine persona specifications. This information helps designers to adapt the application interface around the user’s requirements (Xu et al.,2010). (Xu et al.,2010) presents useful similarities measures between users, which are important not only to discover information about user actions, but also determine the cluster number to run the K-means algorithm. The similarities measures described in (Xu et al.,
CHAPTER 3. DESIGN AND IMPLEMENTATION 36 Figure 3.3: User Actions representation and vector structure. 2010) were adapted to be used in this research and the result of that adaptation is presented as follows. Problem Definitions There are musers U={U1,U2,· · · ,Um}who perform ndifferent actions(widget usage) defined like P={P1,P2,· · · ,Pn}in some navigational session. This sequence of actions (widgets) represents a user vector of performed actions. A usage value is associated with each action (widget) Piand each user Ujit is associated a usage value, representing whether the user Ujperform the action Pj, denoted as use(Pi, Uj) and defined as use(Pi, Uj) = (1,if Piis accessed by Uj, 0,Ohterwise. The usage vector is obtained by selecting the set of actions or events performed by the user, Ui, in the log database. If two users perform the same actions, they might have similar interests in the same task. The similar interest measure is defined by sim1(Ui, Uj) = Pk(use(Pk, Ui)∗use(Pk, Uj)) pPkuse(Pk, Ui)∗Pkuse(Pk, Uj) Where Pk(use(Pk, Ui)) is the total number of actions which were performed by user Ui. Pkuse(Pk, Ui)∗Pkuse(Pk, Uj) is the number of common events performed by user Uiand Uj. If two users share the exact sequence of actions, their similarity will be one; and zero if they don’t share anything. This similarity measure is called Usage based (UB) measure. The last formula presents users who perform the same sequence of actions. We can
CHAPTER 3. DESIGN AND IMPLEMENTATION 37 calculate the similarity between two users, Uiand Uj, by counting the number of times they perform common events at every action. In this case, the measure is defined by sim2(Ui, Uj) = PkPs(accs(Pk, Ui)∗accs(Pk, Uj)) pPkaccs(Pk, Ui)∗Pkaccs(Pk, Uj) Where accs(Pk, Ui) is the total number of times that user Uiperforms the action Pk. This measure is called Frequency Based (FB) measure. In previous formulas, the event order is irrelevant. Now, we are interested in knowing which users have the same interests and which users perform the same actions in the same order. Two users are considered to have the same interests only if they perform the sequence of events in the exact same order. Let Q={U1,U2,· · · ,Ur}be the actions path in a user session, or navigational path which represents the user’s behavior in order to accomplish a given task, where qi, 1 ≤i≤r, stands for the action performed in order. We denote Qas r-hop path. Define Qlas the set of all possible L-hop sub paths ( 1 ≤r) of Q, i.e. Ql={ qi, qi+1,· · · , qi+l−1|i= 1,2,· · · , r }. It is obvious that Qlcontains all events in Q. We call f(Q) = Ur l=1Qlthe feature space of the path Q. Notice that a cyclic path may include some of its sub paths more than once, and Q⊆f(Q). Let Qi and Qjbe the set of actions performed by user Uiand Uj, respectively. The similarities between users Uiand Ujcan be defined using the natural angle between paths Qiand Qj(i.e. cos(Qi,Qj)) which is defined as : sim3(Ui, Uj) = hQi, Qjil phQi, QiilhQj, Qjil Where l=min (length(Qi), length(Qj)) , and hQi,Qjilit’s the inner product over the feature spaces of paths Qiand Qj. Which is defined as hQi, Qjil=Pl k=1 Pq∈Qi kTQj k length(q)∗length(q). Like in the above equations the similarity between two users will equal one if they perform a sequence of actions in the exact same performed order, and will equal zero if they share no common actions at all. Notice hQi, Qjilis the same for all L≤ min (length(Qi), length(Qj)). We call the previous equation the visiting-order based (VOB) measure. An example representation of the results of the above equations can be viewed in the next Figure 3.4(Liu,2011). In this Figure 3.4 we can see the structure of the result of the above computations, a symmetric matrix where the all elements in the diagonal are the same, 1. Clustering Algorithm The resulting similarities of the previous section are presented into a matrix of users; Figure 3.4 (Liu,2011),where it is shown that each value is the similarity measure between users. Note that each of these matrices of similarities is a symmetric matrix and elements along the main diagonal are all the same, one. These matrices are used to do the clustering
CHAPTER 3. DESIGN AND IMPLEMENTATION 38 Figure 3.4: Similarity measures based on the similarity equations. analysis, by the K-means algorithm (Ray and Rose).Which provide assistance to analyze the relationships between users based on task similarities (user analysis). Figure 3.5 represents the other perspective from the clustering analysis using the usage vector for each user, which help to determine what are the patterns resulting from the clustering algorithm (task analysis). Figure 3.5: Clustering result with users and the usage vector. 3.4.2 Right Number of Clusters Clusters analysis is a helpful technique to relate elements in groups. But the major challenge is to determine the appropriate number of clusters. The correct solution is not obvious. Normally, it is a range of values, this range of values representing better the higher associations between users. Another problem is one might not know the number of clusters before the data analysis. The optimal number, k, has a direct effect in the cluster process. If it is too big or too small, the result may not be adequate and desirable. The main idea will be to
CHAPTER 3. DESIGN AND IMPLEMENTATION 39 always reduce the amount of errors in the resulting clustering (minimize the sum-of-squares error). The desirable objectives between clusters are: •the objects inside a cluster are as similar as possible; •objects from different clusters are as dissimilar as possible. Determining the optimal number of clusters is one important task to clustering algorithms. Many researches around the problem propose a series of solutions as (Ray and Rose;Yan,2005;Bies et al.,2009). The Elbow method, rule of thumb, estimations with Silhouette, CURE (Guha et al.,1998) and Chameleon (Karypis et al.,1999) or K-Fold Cross Validation (Kohavi,1995) are some approaches to solve the problem. In this dissertation K-Fold Cross Validation was used to determine the optimal number of clusters because it is a solution already present in the Weka library source. 3.5 Finding User Access Patterns via LDA The LDA model from (Blei et al.,2003) describes a probabilistic document-topic model for Text Mining. With the LDA approach from (Xu et al.,2010) and (Heinrich,2004), the latent associations between user and tasks (sessions), and associations between task and actions (widgets used) were exposed and estimated via a inference algorithm, which provide a Usage Mining context. The Usage Mining LDA reveals two aspects of the underlying associations: •the hidden task space, •the task mixture distribution of each user session, which reflects the hidden correlations between performed actions as well as user sessions. With a discovered task space is possible modelling the user access patterns in weighted actions vectors to predict users interested actions. LDA Data Structure Model The original LDA approach from (Blei et al.,2003) uses a predefined structure organization to represent the data and compute the algorithm. With the requirements to compute the inference (Heinrich,2004), (Xu et al.,2010) and Task Analysis approach, the structures were adapted and were summarized in the Table 3.5, besides the parameters αand βwere the Dirichlet Parameters (predefined values).
CHAPTER 3. DESIGN AND IMPLEMENTATION 40 Variable LDA Meaning V Number of widgets on the application M Number of user sessions N Total number of widgets in all sessions Nw=1,··· ,m Number of widgets in session s : Vector M αk=1,··· ,k Prior weight of topic k in a session : Vector K βw=1,··· ,V Prior weight of widget w in the topic : Vector V φk=1,··· ,k;w=1,··· ,V Probability of the widget w occurring in topic k :Matrix KxV φk=1,··· ,k Distribution of the widgets in topic k : Vector K θd=1,··· ,M;k=1,··· ,K Probability topic k occurring in session d for a widget : Matrix MxK θd=1,··· ,M Distribution of topics in session d : Vector M Zd=1,··· ,M;N=1,··· ,Nd Identity of topic of a widget w in session d : Matrix MxN Table 3.5: LDA Variables Definition 3.5.1 Compute LDA Inference via Gibbs Sampling Like mentioned above, the LDA model presents a limitation in the generative process. To deal with this issue a method called Gibbs sampling, which is a special case of Markov Chain Monte Carlo (MCMC), described in (Heinrich,2004) was applied. Using (Heinrich, 2004) the deduction process to efficient approximates the inference is described, the resulted equations were used in this dissertation to compute the inference. In the process (Heinrich, 2004)φand θwere marginalized out, and only the latent variables Zwere sampled. After the sampler has burned-in we could estimate φand θgiven Z(Heinrich,2004). When the algorithm reaches the burn-in stage, stop, because the samples has converged. To calculate the probabilities of the Dirichlet distributions the values of αand βas determined by flowing some samples of the LDA usages base on (Heinrich,2004). The next equations present the equations to solve our implementation model of the LDA (Heinrich,2004;Porteous et al., 2008). Full Conditional p(Zi=K|Z¬i, W) = nt k,¬i+βt PV t=1 nt k,¬i+βt ∗nt m,¬i+αk [Pk k=1 nk m+α]−1(3.1) When: nt k,¬i+βt PV t=1 nt k,¬i+βt (3.2)
CHAPTER 3. DESIGN AND IMPLEMENTATION 41 is probability of term t under topic k and: nt m,¬i+αk [Pk k=1 nk m+α]−1(3.3) is the probability of topic k in session m. Multinomial Parameters θand φ Equation to compute φ(for each topic which indicates what words are important to a topic): φk,t =nt k+βt Pv t=1 nt k+βt (3.4) Equation to compute θ(for each document represents how this topic is important to the document): θm,k =nk m+αk Pk k=1 nk m+αk (3.5) 3.5.2 LDA implementation via Gibbs Sampling The previous section presents the equations to approximate the inference to compute the LDA. With the generative process described in Figure 2.5 it is possible to calculate the LDA algorithm by using the Gibbs sampling. Following the description in (Heinrich,2004) the LDA algorithm can be implemented as follows in Algorithm 1.
CHAPTER 4. RESULTS AND EVALUATION 48 Figure 4.5: Cluster result without framework interpretation (two topics). Figure 4.6: Cluster result with framework interpretation (two topics).
CHAPTER 4. RESULTS AND EVALUATION 49 4.3 User Access Patterns via LDA The LDA algorithm was used to identify the user task purpose (uses cases) and the widgets which better represent that task. Using the LDA implementation described in the Algorithm 1, we ran some tests. Running the LDA tests different parameters were used for αand βand a maximal number of iterations as 2000. The values of αand βare fixed in α= (2/Numberoftopics) and β= 0.01. These values were used as sample in other research (Porteous et al.,2008) and used in here as a starting point. To determine the relevance of the values choice, some tests were carried out; the choice of the values does not have a significant impact on the results of the algorithm, the results were 99 % closer. To validate our LDA implementation, the Mahout LDA algorithm was used. Furthermore, the Mahout LDA input has default syntax, the CSV file was converted, and this process was above described in Chapter 3. The Mahout LDA test results and our LDA results are 98 % closer (the widget set from a task, this is a probabilistic algorithm and it is expected the probability change, the changes were not too much to disapprove the results), which indicates the results are correct. As a start, the process presented in the Section 2.3.3, to determine the number of optimal topics, was used (Grant and Cordy,2010). The result of that computation concludes the optimal number of topics is the same as the number of clusters, two. We perform other tests to confront the results, from 1 to 100 topics. The task distribution with two topics presents the best probabilities distribution, which becomes the value two as a correct value for the research of the number of topics. The concluded number makes sense if we consider the two levels of gaming and the previous information in the cluster process. Using two as the optimal number of topics, the LDA result is displayed in Figure 4.7 without framework and Figure 4.8 with the framework. The algorithm returns a list of widgets with an associated probability, which represents the widget importance in that task. How much different and higher the widget probabilities in the task is, the much better the distribution is. If a task presents low and equal probability of widget distribution, this task does not represent a correct task very well, because for each task the sum of probabilities on each task is one, and it is expected that some widgets are more used than others( if the data is huge and distributed is expected low and closer probabilities). We want the task with higher probabilities and different probabilities results for our data. This was concluded, by increment the number of topics in LDA and analyzing the results of several tests with the same data, the probability in each task is low and the result probabilities closer, the widgets usage importance becomes more distributed, the game has at least one important widget “Start” which becomes the widget with a higher probability than the rest. Also, it is expected that a button like “Start” will be shared by the different task. Figure 4.8 presents the LDA results, the task purpose performed by the users (use cases). It is possible to conclude two different levels of usage, the beginner and the advanced
CHAPTER 4. RESULTS AND EVALUATION 50 use. The redder the widget is, the more it is used in that task. The clusters and the LDA results represent a similar distribution of the user usage, their purpose in the game, use cases. Figure 4.7: LDA result. Use case one, with two topics without the framework interpretation. Figure 4.8: LDA result, uses cases, two topics with the framework.
CHAPTER 4. RESULTS AND EVALUATION 51 One important issue on the LDA algorithm is that it does not provide a unique assignment between tasks and widgets, but provides a conditioned multinomial distribution and, therefore, a widget can be related to multiple tasks, such as the example of the “Start” button. This makes it impossible to apply evaluation coefficients like precision or accuracy in this research. To overcome this issue and to evaluate the task widget mixture, the purity measure was used. Traditionally the purity is used to evaluate the performance of clustering algorithms like K-Means Han et al. (2005) and requires that each element of the data set is labeled. The purity coefficient ranges between 1 for a perfect clustering and 0 for very heterogeneous clusters, meaning that the result of the clustering does not match the labeled data at all. Let Cbe the set of labels, and let cibe the class label of the i-th task. The purity of each cluster can be calculated as shown in the next equation. purity(T, C) = 1 NX k (max(|tk∩ci|)) (4.1) Due to the results of the LDA, the purity value ranges between 0 in the extreme minimum and 0.78 in the maximum. The relatively high score in the purity coefficient indicates that most of the widgets are assigned to the correct task. Figure 4.9 shows the purity coefficient if only the top kwidgets per tasks were taken into consideration. As it can be seen the purity is equal to 1 until k= 21, which means that the top 21 widgets per task were correctly identified. It is also of note that the coefficient decreases slowly until it stabilizes at k= 34 with a value of 0.78. With the LDA algorithm results, and the auxiliary information above presented, against the application assumptions and running several tests only with reference of this application results, the conclusions are correct and the research purpose is completed.
CHAPTER 4. RESULTS AND EVALUATION 52 Figure 4.9: Purity for top k widgets.
Chapter 5 Conclusion and Future Work With the increasing relevance of mobile devices, user interfaces have become an important field. Appellative design and a usable interface is key. Building software applications that will be easily used without mistakes, and in a friendly way, is the goal of this work. Creating applications to automatically discover important and real information on how the user interface has been used is an important issue. Furthermore, displaying that information in a suitable way to application designers or usability specialists to understand possible drawbacks on the design of their applications is also important. Typically, the designers do not have sufficient tools and information to help the design process, to launch the application and for the application to be well accepted by the users. The framework described in this dissertation is a prototype to help interface designers and usability engineers to automatically access the user interfaces of their applications. The framework provides a set of tools to measure important aspects on usage. And with recourse to the Web page the result was displayed on an enjoyable way and easily accessed. The better the visual information is, the better the analysis of the results is. One important aspect is that the framework was done as simple as possible. All the settings were developed to be easily understood and maintained. The implemented resources and visual analysis tools provide comprehensive knowledge of how users have interacted with the application. With the framework it is possible to see which screens and user interface components are more frequently used, in which screens users spend more time and when is the application more used. Using all users or a set of users who share some behavior or pattern, the framework offers a bit more advanced set of tools which allows viewing the most frequent sequences of actions, determining usage patterns through navigational tasks. The widgets transition map; the frequent widgets, etc. All this information is used to automatically assess user interface. One important consideration of this research resides in the fact we can, a priori, anticipate the results; this is a game and has two levels of dificulty, beginner and advanced, 53
CHAPTER 5. CONCLUSION AND FUTURE WORK 54 so two levels of usage are expected. This research was conducted in a generic way; it ignored the expected application context and did a generic approach. The work was conducted as expected and all the predefined requirements were accomplished. The most complicated part of the research was understand the mathematical issues from the LDA computation. Other important issue was determine how overcome the inference problems and determine the optimal number of topics. Translate the CSV file to Mahout LDA and Weka ARFF input. Determine the appropriate tests and methods to validate the LDA results in the application context was the hard part of the work. All the mentioned troubles in developing the framework were overcome and the resulting application exposes a valuable set of tools to analyze applications through real usage easily accessed and understanding. 5.1 Future Work To conduct this research, only one application was used. It is important to test the framework with other applications to verify the result’s accuracy. Also, it can be interesting to classify the result using gender or age, to provide a detailed usage using the current framework state. This framework provides a set of useful tools to measure user interactions to improve usability in the interfaces, but there is room for improvement in some of the already implemented features and room to implement new ones. For example, implementing decision trees, Naive Bayesian classifiers(Friedman et al.,1997) and k-nearest neighbour classifiers (Cunningham and Delany,2007) to predict and classify user transactions in the application, also Last Position induction (LAPIN) to determine sequential patterns (Mabroukeh and Ezeife,2010). Those algorithms are examples to discover or contrast information related to the research purpose to help designers improve their applications.
Appendix A Acronyms LDA Latent Dirichlet Allocation HCI Human Computer Interaction UCD User Centered Design NLP Natural Language Processing PLSA Probabilistic Latent Semantic Analysis AI Artificial Intelligence MCMC Markov Chain Monte Carlo HDP Hierarchical Dirichlet Process ARM Association Rules Mining CSV Comma-separated values JSON JavaScript Object Notation Web World Wide Web UCD User-Centered Design 55
References Beth Ellington Abe Crystal. Task analysis and human-computer interaction: approaches, techniques, and levels of analysis. Aug 2004. Rakesh Agrawal and Ramakrishnan Srikant. Fast algorithms for mining association rules. pages 487–499, 1994. Gregory D. Abowd Russell Beale Janet E. Finley Alan J. Dix, Janet E. Finlay. Humancomputer interaction, 1998. 2nd Edition. Rossi Peter E. Allenby, Greg M. and Robert E. McCulloch. Hierarchical bayes models: A practitioners guide. January 2005. R. Arun, V. Suresh, C. Veni Madhavan, and M. Narasimha Murthy. On finding the natural number of topics with latent dirichlet allocation: Some observations. In Mohammed Zaki, Jeffrey Yu, B. Ravindran, and Vikram Pudi, editors, Advances in Knowledge Discovery and Data Mining, volume 6118 of Lecture Notes in Computer Science, pages 391–402. Springer Berlin / Heidelberg, 2010. ISBN 978-3-642-13656-6. Brian Bies, Kathryn Dabbs, Hao Zou, Brian Bies, Kathryn Dabbs, and Hao Zou. On determining the number of clusters a comparative study by, 2009. David M. Blei, Andrew Y. Ng, and Michael I. Jordan. Latent dirichlet allocation. J. Mach. Learn. Res., 3:993–1022, March 2003. ISSN 1532-4435. URL http://dl.acm.org/ citation.cfm?id=944919.944937. Stefan Blomkvist. The user as a personality. Sep 2002. Robert Walker Cooley. Web usage mining: Discovery and application of interestin patterns from web data, 2000. B. Crandall, G. Klein, and R.R. Hoffman. Working Minds: A Practitioner’s Guide to Cognitive Task Analysis. Bradford Books. MIT Press, 2006. ISBN 9780262033510. URL http://books.google.pt/books?id=hUCoRwAACAAJ. Padraig Cunningham and Sarah Jane Delany. k-nearest neighbour classifiers, 2007. 56
REFERENCES 57 Jr. da Costa, M.G. and Zhiguo Gong. Web structure mining: an introduction. In Information Acquisition, 2005 IEEE International Conference on, page 6 pp., june-3 july 2005. doi: 10.1109/ICIA.2005.1635156. Usama M. Fayyad, Gregory Piatetsky-Shapiro, and Padhraic Smyth. Advances in knowledge discovery and data mining. chapter From data mining to knowledge discovery: an overview, pages 1–34. American Association for Artificial Intelligence, Menlo Park, CA, USA, 1996. ISBN 0-262-56097-6. URL http://dl.acm.org/citation.cfm?id=257938. 257942. Nir Friedman, Dan Geiger, Moises Goldszmidt, G. Provan, P. Langley, and P. Smyth. Bayesian network classifiers. In Machine Learning, pages 131–163, 1997. S. Grant and J.R. Cordy. Estimating the optimal number of latent concepts in source code analysis. In Source Code Analysis and Manipulation (SCAM), 2010 10th IEEE Working Conference on, pages 65 –74, sept. 2010. doi: 10.1109/SCAM.2010.22. T. L. Griffiths and M. Steyvers. Finding scientific topics. Proceedings of the National Academy of Sciences, 101(Suppl. 1):5228–5235, April 2004. Sudipto Guha, Rajeev Rastogi, and Kyuseok Shim. Cure: an efficient clustering algorithm for large databases. In Proceedings of the 1998 ACM SIGMOD international conference on Management of data, SIGMOD 98, pages 73–84, New York, NY, USA, 1998. ACM. ISBN 0-89791-995-5. doi: 10.1145/276304.276312. URL http://doi.acm.org/10.1145/ 276304.276312. Jiawei Han, Micheline Kamber, and Jian Pei. Data Mining: Concepts and Techniques, Second Edition (The Morgan Kaufmann Series in Data Management Systems). Morgan Kaufmann, 2005. ISBN 1558609016. URL http://www.amazon.com/ Data-Mining-Concepts-Techniques-Management/dp/1558609016. Gregor Heinrich. Parameter estimation for text analysis. Technical report, 2004. Grossnickle M. Henry, S.L. Accessibility in the user centered design process, 2004. Card Carey Gasen Mantei Perlman Strong Hewett, Baecker and Verplank. Acm sigchi. Curricula for Human Computer Interaction, 1996. T. Kanungo, D.M. Mount, N.S. Netanyahu, C.D. Piatko, R. Silverman, and A.Y. Wu. An efficient k-means clustering algorithm: analysis and implementation. Pattern Analysis and Machine Intelligence, IEEE Transactions on, 24(7):881 –892, jul 2002. ISSN 0162-8828. doi: 10.1109/TPAMI.2002.1017616. G. Karypis, Eui-Hong Han, and V. Kumar. Chameleon: hierarchical clustering using dynamic modeling. Computer, 32(8):68 –75, aug 1999. ISSN 0018-9162. doi: 10.1109/2. 781637.