Abstract
After decades of development, Internet has become the worlds largest repository, which the vast majority of the information is in the form of Web text exists. To take advantage of these resources, allowing users to find exactly the information required, saving search time, enhance the value of the emergence of Web data mining technology. Use classification, clustering, association analysis, trend forecasting technology to discover and extract useful patterns of interest to the user and concealed information from Web text.
Web Document Clustering Web text mining is an important research branch, as an unsupervised learning method, without the training process, do not need to manually mark the document in advance, with a certain degree of flexibility and high automation capability can effectively organize documents, obtain summary and navigation. You can solve the information clutter and information overload problem to a certain extent. As information retrieval, information filtering, search engine technology infrastructure, digital libraries and other areas, Web document clustering has broad application prospects.
In this work, I investigated the effectiveness of the smallest position value (SPV) technique in mapping the continuous version of the PSO algorithm to the task matching problem in a heterogeneous computing environment. The experimental evaluation demonstrated that the task matching generated by this technique will result in an unbalanced load distribution. In this work, I have therefore also designed a load rebalance PSO heuristic (BMO-LR) that results in minimization of make span and balanced utilization of the available compute nodes even in heterogeneous computing environments.
Word Key: BMO algorithm; document clustering; Web Document Clustering
Contents
A BMO algorithm on document clustering. 1
Abstract 1
Contents. 2
Introduction. 4
1.1 Research background. 4
1.2 Current research. 5
1.3 Research methods to be adopted. 8
1.4 Anticipated research results and innovations. 8
Literature Review.. 10
2 .1 Conventional Heuristics for Task-Matching. 10
2.2 Evolutionary Computing Heuristics. 11
Bird mating optimizer 16
3.1 Introduction Bird mating optimizer 16
3.1 Bird mating optimizer 19
Web document clustering theory and technology. 25
4.1 document representation model 25
4.1.1 Vector Space Model 25
4.1.2 Suffix tree document model 27
4.2 feature item weight calculation. 33
4.3 similarity measure. 34
4.4 Clustering Algorithm.. 34
4.4.1 Hierarchical clustering. 35
4.4.2 Divisions. 39
4.4.3 Density-Based Methods. 42
4.4.4 Grid-based method. 42
4.4.5 Model-based approach. 42
4.4.6 Fuzzy clustering method. 43
4.4.7 Incremental Clustering. 44
Weighted suffix tree Web document clustering method. 46
5.1introdution. 46
5.2Suffix tree clustering algorithm.. 48
5.2.1 Text analysis and preprocessing. 48
5.2.2 Suffix Tree. 48
5.2.3 The basic class cluster identification. 51
5.3Weighted suffix tree clustering algorithm.. 53
5.3.1Web Document Analysis. 54
5.3.2 Weighted suffix tree is defined and constructed. 55
5.3.3Document preprocessing. 58
Experimental Results. 60
6 .1 Performance Metrics. 61
6.1.1Makespan. 61
6.1.2 Average Resource Utilization (ARU) 61
6 .2 Evaluation. 62
6.2.1 Performance in Homogeneous Environment 62
6.2.2 Performance in Heterogeneous Environment 62
6.2.3 ARU comparison. 63
6.2.4 Reliability Analysis. 63
References. 67
Acknowledgments. 71
Introduction
1.1 Research background
With the application of computer networks and database systems, data contained in the database of rapid expansion, a large amount of data hidden many important information, which information is often hidden data can provide a more detailed theoretical analysis and decision-making people, so how to quickly find the relationship between these data in order to add the shortcut to use these data is imminent. However, the traditional method of statistical analysis, data processing and analysis in terms of the effect of the deep is not very clear, present in the data implicit information and internal relations are often ignored, the trend cannot be based on existing information to predict future data. This requires a new technology to intelligently analyze massive raw data, it can be fully utilized a large number of effective resources, unified optimization. Data mining theory and technology research is to meet this requirement and to generate new research directions and rapid development.
Data mining is to extract knowledge from people interested in a large database or data warehouse, this knowledge is implicit, potentially useful information previously unknown. It is one of the most cutting-edge international research on decision-making in the field of database information, is under deeper and more fully utilize the information resources of the urgent needs of the background produced and developed rapidly, causing the academia and industry attention.
With the rapid development of information and data technology, the rapid expansion of the Internet, how to quickly and efficiently get people to the potential value of the value of useful information has become increasingly important from a number of information. XML (extensible Markup Language, to mark the extension language) as a common data representation on a network and exchange format, has been more and more applications. Compared with ordinary text documents,} [3] self-descriptive, semi-structured, hierarchical, scalable, flexible and simple features, itself with a certain structure and semantic information. These features make XML machine-independent platform, providers and programming languages, and make it in a different system, different databases, set up a bridge of communication between different languages, therefore, XML-based data network to Mining Technology gives power and flexibility, it is easy to implement integrated, easy to transport and exchange of data and other characteristics of heterogeneous data makes heterogeneous database queries and search easier, so that the XML document data mining cents No doubt that is an important part of the data mining research. Data mining algorithm major classification mode, the clustering pattern analysis, association rules, neural network algorithms, decision trees, sequence mode, and wherein the clustering algorithm is an effective unsupervised machine learning algorithms, data mining a very important research topic [[4]. Therefore, as the carrier XML data exchange is widely used in various fields of application today, an efficient and fast XML clustering mechanism will greatly shorten the information retrieval time and improve the efficiency of data query, dig out the potential value of information, to provide better data to support decision-making, and therefore has a huge research and application.
1.2 Current research
In recent years, researches on XML document clustering mainly around two aspects to expand: the structure and content of XML documents. XML is a semi-structured data markup elements and their nesting shows the structure of XML documents, excavated from the carrier in a semi-structured XML, the structural part of the analysis to understand XML document has great significance. Here at home and abroad in recent years, in a structured XML document based on its analysis of the situation clustering applications.
(1) Based on the edit distance method: literature Tai first proposed the use edit distance to measure the difference between two trees. On the basis of this work, the literature suggests that the calculation method edit distance between two trees based on such calculation algorithm on the edit distance between two trees to be further enriched. In the literature on the basis of the concept of edit distance used to describe the structure of XML documents, to calculate a picture switch to another chart minimal cost by pattern matching, and thus to make the calculation XMI. Document similarity information. But the high computational complexity of the method is O (N3), so the large-scale document applications is not very suitable. And on the basis of literature, literature proposes a method of sub-optimal solution can be obtained within approximately linear time. However, the above two ways to record the structural changes between the two documents, and XML document structure similar information for comparison and not calculated directly, it has some limitations. Tree path model proposed in the literature more tree edit distance simple complexity also much lower, but when you are using an exact match for the path to match, that is only the path length and the corresponding node content is exactly the same path that the similarity path. This matching method is simple and practical, but also is widely used in many other related studies.
(2) Based on the method functions: document proposes a method based on Fourier transform, which the XML document into a time series, each label corresponds to a pulse signal. This approach will convert the entire XML document into a mathematical model, the mathematical model by calling to compare the differences between two different sequences, in order to get similarity different XML documents. Based on the similarity of method of calculation of the Fourier transform more in line with the actual demand, get better test results, but it cannot be excluded tag appears repeatedly calculate the impact on structural similarity, which is ignored in the same structure frequency information for the impact of structural similarity.
(3) Based on Vector Space Model: Literature] vector space model VSM to represent an XML document, an XML document will be represented by a vector, and based on the distance to measure the similarity of feature vectors and by dividing approach to clustering. Vector space model currently used to quantify the XML document clustering methods are further classified most widely used, but this method is too high because the vector dimension represents a huge amount of calculation, and therefore large documents more unbearable. Document first XML document to quantify, and then extract the path sequence, and XML description for VSM in the set of vectors, using particles of Clustering method for clustering XML documents. In the subsequent part of the algorithm, in order to accelerate convergence, using C-means for space-point fast local tuning. This method has the advantage in dealing with large-scale document collections, but this is bound to affect the operation efficiency of the algorithm, so in practice the results will need further practice and validation.
(4) Method Structure Diagram: Citations chart to measure the similarity between XML documents, the purpose of a similar cluster structure of XML documents by graph matching. It measures the similarity is not high precision, may result in large differences in the two documents have the same structure diagram. Document proposed based on similarity calculation have to map XML document structures, the method is based on the structure of the XML document structure information of a directed graph, and chart all the nodes to the endpoint of the distance, and wherein Empowering each node weight, and then calculating the weight of the product and semantic level and, through this value and all the weight ratio to finalize the structure of the two documents similarity. However, this method has some limitations in the cluster, since it ignores the equal sides have to question the sequential relationship between the sides and edges.
(5) The method based on the model tree structure: document proposes XML document similarity calculation method based on BFS tree graph structure, the method according to the breadth-first search algorithm to find the minimum code tree edit distance and the concept gives new definitions, and give full consideration to the right side and the junction between the weight and operating cost as a basis for comparison of XML documents showing the structure of similar information. However, this method is not too high in terms of efficiency, and only for the aspects of the structure of XML documents, and did not relate to the content and semantics of the document. In terms of literature characterization XML document to maximal frequent path and maximal frequent subtrees based, and made on the basis of a hierarchical clustering algorithm cohesion XML Cluster: an XML document clustering. However, this method step after the completion of an algorithm, it cannot be rolled back, which in a certain sense to increase the risk of the whole cluster, if there is a step wrong, and the correctness of the final clustering result is problematic.
(6) The tree path model-based approach: [17] The text clustering and XML document clustering comparative studies to improve the division clustering method, clustering method to dividing an application into the XML document through a path mining algorithm. However, this method requires prior regulations before the initial clustering center and the number of clusters, this will lead to volatility and random clustering results is relatively large. Documents XML document structure when performing similarity matching, frequent use is intensive path tree, but its use is entirely match the path, doing so on the missing node letter J,, part of the path of self-similarity and drawn The actual gap is relatively large. Although the literature on the basis of improved exact match path, called PCXSS proposed method of calculation of the similarity XML document structure based on the path, but the method does not consider the leaf node contains a different path and not mutually similarity also lost a similar message.
Focuses on the clustering method above to XML, a document based on structural characteristics, in addition to XML documents and some content-based clustering methods, but these methods are most simply seen as an ordinary XML document text using traditional clustering methods, ignoring its own structural features semi-structured, hierarchical, etc., and cannot take advantage of XML documents the characteristics of the data fully, completely clusters. The clustering research for XML, document, whether it is based on the structure or content-based clustering most studies are based on the similarity of XML-based, XML documents because the study can be applied not only to the similarity of the cluster XML document, it can also apply to all aspects of the many to the similarity-based XML data mining. This article is based on this point, focusing on XMI, the similarity of the document were studied.
1.3 Research methods to be adopted
This article uses the following methods in the research process:
(1) Literature study. In this paper, the full use of the library, periodicals room and Internet resources to collect relevant literature on A BMO based Bird mating optimizer for document clustering. Then, we conducted a consolidation and induction sys
tems. The work of this writing has laid a good theoretical basis.
(2) Specification and empirical analysis method of combining. This article first summarizes and discusses the theoretical system at home and abroad about the genetic algorithm? Taking these theories, combined with the actual situation of the system, analyzed the genetic algorithm for document clustering.
1.4 Anticipated research results and innovations
Innovation and innovation of this paper is as follows:
In class Open parallel programs for the study, combined with heterogeneous systems parallel loop scheduling and dynamic voltage scaling processor technology to optimize system power consumption under conditions to meet the performance constraints. First, the establishment of a parallel loop scheduling problem basic model of heterogeneous system power-aware, and then gives the lower bound of heterogeneous systems parallel loop scheduling energy consumption by the assay method, the lower bound can be used to evaluate the efficiency of power optimization methods. Furthermore, the heterogeneous systems parallel loop scheduling problem summed up the general integer programming problem, given the problem solving method. Due to the current processor only supports a limited number of discrete operating frequency; it makes a recycling method for scheduling within the processor to further reduce power consumption. Finally, in order to CPU-GPU heterogeneous systems as a platform to review the 10 typical scientific computing core program, the experimental results show that this method can effectively reduce system power consumption and improve system performance.
Because of restrictions on the programming model or architecture, the current acceleration components based on heterogeneous parallel programs mostly using general-purpose microprocessors and acceleration components perform different computing segments alternating manner. This article will be calculated by the same type of processor only segment called isomorphic complete computing segment; accordingly, calculated by the number of different types of processors to complete segment is called heterogeneous computing segment. According to the above definition, this article will only be isomorphic parallel program by computing segment is called a homogeneous computing section of the program; accordingly, will include parallel programming of heterogeneous computing segment called heterogeneous computing segment program. This article is divided against said heterogeneous parallel programs, namely the establishment of a heterogeneous parallel system energy optimization model and the corresponding energy consumption optimization.
Literature Review
In this chapter, I will discuss both conventional techniques and evolutionary computing based strategies that have been extensively applied to solve the task-matching problem in the large scale distributed systems.
2 .1 Conventional Heuristics for Task-Matching
Min-Min Heuristic: The Min-Min concept based on the D-schedule heuristics presented in was first implemented for the scheduling layer in Smart Net ET. Al. presented this concept as the Min-Min heuristic for matching independent tasks to heterogeneous computing systems.
The Min-Min heuristic is a batch mode heuristic (Algorithm 1).The set of tasks to be matched to available machines is created from tasks waiting in the task-queue after fixed intervals. The completion time of each task in the set over all the machines is estimated (dine-3, Algorithm 1).For each task, the machine which can complete the task in the minimum possible time is determined(dine-4, Algorithm 1).The task with the overall minimum expected completion time is selected and assigned to the respect-five machine. Then this task is removed from the set and the machine available time is updated for the assigned machine(dine-7, Algorithm?.These steps are repeated iteratively until all the tasks in the set are matched for execution to at least one processing element.
Algorithm
1 Min-Min Heuristic
1
calculate ETC(Expected Time to Complete)matrix
2
while all tasks in T are matched do
3
determine earliest completion time for each task
4
determine task with minimum overall earliest completion tune
5
assign task to corresponding machine
6
remove task from T
7
update machine available time of corresponding machine
8
end while
The Min-Min heuristic assigns shorter tasks first so that the assigned machine becomes available at the earliest possible time for executing the next task. This undying principle is responsible for the performance of the Min-Min heuristic. However, this heuristic does not work well when one of the tasks in the set is significantly longer in comparison to other tasks. The Min-Min heuristic will assign the longest task in the end instead of assigning it to run in parallel with the execution of shorter tasks.
Max-Min Heuristic: The Max-Min heuristic was also first implemented for task assignment in Smart Net. The steps in the Max-Min heuristic are similar to the Min-Min heuristic but with one significant difference. In the Max-Min heuristic the task with the maximum completion time is given priority in the assignment for execution. That is, instead of minimum (Line-4, Algorithm 1) the task with maximum overall earliest completion time will be assigned first for execution. The Max-Min heuristic performs better than Min-Min heuristic when the number of small tasks to be executed is comparatively greater than the number of long tasks. The long tasks will be assigned for execution in the start and it will be possible to execute the shorter tasks in parallel.
FCFS Heuristic: In First-Come-First-Serve heuristic, the arrival time of the submitted task is the sole criteria for task matching. The task with an earlier arrival time in the task queue is selected first and assigned for execution when the required resources for task execution are available. The primary advantage of this heuristic is its low computational overhead of O (1). Also, it does not require any prior estimation of run-time of the submitted tasks. However, this heuristic results in higher average waiting time submitted tasks as the tasks cannot be executed as long as the required resources in use for the execution of tasks ahead of them in the queue. The FCFS heuristic is also expected to result in an unbalanced load distribution as the selection of a machine for executing a task is not done based on the length of the task. The performance of the FCFS heuristic can be improved if it is coupled with backfilling techniques. Backfilling techniques allow the assignment of other tasks which are behind in the task-queue to begin execution if the task ahead in the queue is waiting due to lack of required resources. This increases the overall efficiency of the system by eliminating the idle time to a large extent.
2.2 Evolutionary Computing Heuristics
To overcome the issues observed in conventional scheduling strategies, researchers were motivated to explore the application of evolutionary computing heuristics. This section describes the evolutionary computing heuristics used in the literature to solve the task-matching problem.
Simulated Annealing: The Simulated Annealing (SA) heuristic is a probabilistic method based on the emulation of the phenomenon of slow decrease in temperature of a substance till it reaches a low energy state like crystallization. The mathematical model of SA can be used to solve optimization problems which involve minimization of a problem related objective function. The SA heuristic has been applied to solve the task-matching problem. The SA based heuristic designed by Lin ET. Al. Is one such example. It has also been used for task matching in distributed computing environments. The results presented by Kasen ET. Al. demonstrate that SA based heuristic is able to generate better task-matching solutions than Min-Min or Min-Max heuristic.
To begin, a starting temperature is initialized along with a random solution vector T, where the value of T (i) represents the machine to which the ith task is matched. Figure 2.1 represents a solution vector for 7 tasks to be matched to 3 available machines. The vector can be perturbed by either updating the value at any randomly selected index i or by randomly selecting two indices i and, and then exchanging their values. The vector generated after perturbation is known as neighborhood vector.
If the make span resulting from the neighborhood vector is less than best previously
Algorithm
2 Simulated Annealing Heuristic
1
Termp=termp
2
T=T0
3
bestcost=Makespan(T0)
4
bestsoL=T0
5
while temp>templow do
6
T=perturb_T()
7
if rnakespan(T)itrtotal do
5
crossover()
6
mutation()
7
evaluate_tress()
8
selection()
end while
Determine its fitness value or goodness. For the task-matching problem, make span value is determined and used to calculate the fitness value of each chromosome.
The successive iterations in a GA are known as generations. During each generation, a portion of the more fit chromosomes representing better solutions are selected to move to the next generation. The selection is commonly done using the roulette-wheel mechanism by assigning greater probability of selection to the solutions with smaller make span values. In each generation, individual chromosomes are evolved using crossover and mutation operations as described below. To control both the operations, a crossover probability PC and a mutation probability PM are selected a-priori.
From among the chromosomes selected for the next generation, pairs of chromo-comes are randomly selected for crossover. By using a stochastic random number generator, a random number(R) is generated between 0 and 1 for each pair. In a basic GA, for each pair, if R is less than PC then a random crossover index is selected and part of the strings of the two chromosome strings are exchanged (i.e. Crossed over).Figure 2.2 demonstrates the crossover operation between two chromosomes. In this example, the chromosome string represents a mapping of seven tasks onto three machines.
After the crossover operation, strings are evolved with the mutation operation. Again, a random number (R) is generated between 0 and 1 for each chromosome. For each chromosome, if R is greater than PM then a mutation index is selected randomly and the value at that index is randomly changed. The updated value is selected to be between one and the total number of machines available for task completion.
Figure 2.2: Crossover operation
After both the operations, selection of chromosomes is done again for the next generation. The chromosomes are evolved iteratively in each generation to create chromosomes representing better task-matching solutions. The algorithm is executed until the set number of total generations are completed and the best solution thus far is returned .The pseudo code for GA is shown in Algorithm 3
Figure 2.3: Mutation operation
Generally, a batch with high number of tasks has to be matched onto machines in the case of large scale systems. Therefore, the length of the chromosome would have to be long to represent a candidate task-matching solution. This would result in increased computational cost for completing the evolution operations (selection, crossover and mutation).As the computational cost increases significantly with in-crease in the number of tasks, GA algorithm does not scale well in terms of the computational cost relative to the problem size of the task-matching problem. The performance of the search performed by the GA is also significantly affected by the two control parameters: PC and PM. It is difficult to fine-tune the values of these probability based parameters to make the GA suitable to the problem being solved.
Bird mating optimizer
3.1 Introduction Bird mating optimizer
As a fertile source of concepts, principles, and mechanisms, nature can be an inspiration to design artificial computation systems for solving complex computational problems. Evolutionary algorithms (EAs), inspired by biological evolution, and swarm intelligence (SI) algorithms, inspired by collective animal behavior, are two main classes of nature-inspired computations which have attracted more and more attentions during recent years.
Owing to their simplicity and flexibility, EAs have been widely applied to solve scientific and engineering problems and have been the most successful artificial computation systems to tackle complex computational problems. An evolutionary algorithm is a generic population-based metaheuristic optimization approach, trying to simulate some mechanisms of biological evolution. There are different variants of evolutionary algorithms, but the common underlying idea behind all these problem-solving techniques is the same [2]. Candidate solutions to the optimization problem play the role of individuals in a population, and fitness function specifies the environment within which the solutions live. Evolution of the population then happens to improve the quality of the individuals by applying recombination (crossover) and mutation operators. Recombination is applied to the selected solutions (parents) to generate new ones (offspring). They are also mutated by making a small change to the solution. Such operators are employed to discover regions of space for which good solutions have already been acquired.
Success of an optimization algorithm depends mostly on its ability to establish good balance between exploration and exploitation. Exploration refers to generation of new solutions in as yet untested regions of search space and exploitation means the concentration of the algorithms search at the vicinity of current good solutions. The inability of the algorithm to make a good balance between exploration and exploitation results in premature convergence, getting trapped in a local optima, and stagnation. In EAs, selection tries to provide exploitation while crossover and mutation operators provide exploration.
The various dialects of EAs follow some general outlines, and differ only in technical details. EAs process a whole collection of candidate solutions simultaneously, use recombination to mix information of more candidate solutions into a new one, employ mutation to maintain the diversity of the population, and are stochastic. Four major EA paradigms are genetic algorithm (GA), genetic programming (GP) , evolutionary programming (EP) and evolution strategy (ES) . EP and ES borrow ideas from each other and also from GA. Though they work in a different way to GA, the broad principles are in many respects, similar. The most popular method among EAs which is mostly used in optimization problems is GA. GA is a search technique used in computer science and engineering to obtain the approximate solutions of optimization problems. One reason behind the GAs success is the fact that its advocates are very good at descri