Next Article in Journal
Strong Authentication Scheme Based on Hand Geometry and Smart Card Factors
Previous Article in Journal
Prediction of Dermoscopy Patterns for Recognition of both Melanocytic and Non-Melanocytic Skin Lesions
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A New Scalable, Distributed, Fuzzy C-Means Algorithm-Based Mobile Agents Scheme for HPC: SPMD Application

Laboratory SSDIA, ENSET Mohammedia, Hassan II University of Casablanca, Mohammedia 28999, Morocco
*
Author to whom correspondence should be addressed.
Computers 2016, 5(3), 14; https://doi.org/10.3390/computers5030014
Submission received: 4 May 2016 / Revised: 29 June 2016 / Accepted: 1 July 2016 / Published: 11 July 2016
(This article belongs to the Special Issue High Performance Computing for Big Data)

Abstract

:
The aim of this paper is to present a mobile agents model for distributed classification of Big Data. The great challenge is to optimize the communication costs between the processing elements (PEs) in the parallel and distributed computational models by the way to ensure the scalability and the efficiency of this method. Additionally, the proposed distributed method integrates a new communication mechanism to ensure HPC (High Performance Computing) of parallel programs as distributed one, by means of cooperative mobile agents team that uses its asynchronous communication ability to achieve that. This mobile agents team implements the distributed method of the Fuzzy C-Means Algorithm (DFCM) and performs the Big Data classification in the distributed system. The paper shows the proposed scheme and its assigned DFCM algorithm and presents some experimental results that illustrate the scalability and the efficiency of this distributed method.

1. Introduction

Computer science technologies have introduced several intensive data application-based complex tasks in different domains (Internet of Things (IoT), cloud computing, data mining, Big Data analysis), etc., in order to improve HPC (High Performance Computing).
Consider the large amount of data and the complex tasks that these applications have to process. Their scalability and efficiency depends on their abilities to manage these considerations. They also depend on the processing environment where they are deployed. For example, in the medical domain, performing an application for MRI (magnetic resonance imaging) image cerebral analysis-based clustering algorithms. It involves a wide number of data to be processed by this application and that requires great processing power to achieve HPC.
Clustering algorithms are widely used in the medical field to analyze, and diagnose and detect abnormal regions based on MRI image classification. However, these features require using high performance computational models that grant the efficiency and the flexibility with the most complex clustering algorithms such as the Fuzzy C-Means Algorithm. So, how can we implement these requirements in parallel and distributed computational model-based distributed system? Consider the great challenge of optimizing the communication cost in distributed computational models. We will present a cooperative computational processing model that achieves these computational requirements. This paper is organized as follows:
  • We provide the model of parallel and distributed computing where the distributed DFCM method is assigned to be implemented (Section 3).
  • We demonstrate that the DFCM method implementation-based mobile agents is promising for Big Data classification (Section 4); and by implementing single program, multiple data (SPMD) clustering applications (Section 5) as a distributed one, we ensure HPC.

2. Background

To highlight the aim of this paper, we start with a brief overview about the parallel and distributed computational models [1] and their ability to perform clustering tasks on a large image D(w,h) where w represents the width of the image and h the height of the image. We suppose that this image is split into a set of (me × ne) elementary images Dj{j = 1, …, (me × ne)}. Performing a task T based on intensive data Dj using a single machine can be a difficulttask and unreachable. So, in the classification case the task T needed to be performed is split into two global tasks, one executed by the host node and the second executed by all of the slave nodes in the computing grid. The data Dj will be distributed to the nodes in order to perform a collaborative parallel and distributed classification. However, we need to take into account the integrated computational model that ensures the classification management and optimizes the communication cost between the nodes.
The multi-agent system (MAS) [2] is a distributed technology system composed of a set of distributed agents which live, and cooperate, between each other using their intelligence and skills indifferent environments in order to overcome complex challenges. There are several interesting proposed models and methods based on this technology such as: in [3] the authors proposed a method that parallelizes the procedure for detection of illegal consumers of electricity which can be improved by the use of a distributed architecture based on multi-agent systems; and in [4] the authors proposed a new model for automatic construction of business processes based also on this technology. Additionally, in [5], the authors proposed a platform to facilitate the provision of home-care services based on agent three layered architecture. In the HPC domain, the authors in [6] proposed the use of this technology to improve the management, the flexibility, and the reusability of grid-like parallel computing architecture, and in [7] the authors presented the improvement of the time efficiency of a medical reasoning system based on a multi-agent architecture. Thus, how can the mobile agents be both the promising solution for distributed clustering methods and ensure HPC?
Mobile agents have interesting skills, such as autonomy, mobility, and asynchronous communication ability. They can communicate by sending asynchronous ACL (agent communication language) messages between each other, which significantly reduces the communication cost in the computational model. Thus, the mobile agents grant efficient communication mechanisms for HPC.

3. Parallel and Distributed Computational Model

3.1. Model Overview

The cooperative computational model where the proposed (DFCM) method is assigned to be implemented is a parallel and distributed virtual machine based on mobile agents. This machine is built over a distributed computing grid of size (me × ne) of mobile agents. In this grid (Figure 1), the mobile agents are arranged on a 2D matrix (me × ne) as agent virtual processing elements (AVPEs) according to SPMD (Single Program Multiple Data) architecture. Each AVPE (i,j) is localized in row i and column j and has an identifier AID (agent identifier) defined by AID = me × i + j. These AVPEs emulate the PEs (processing elements) in a parallel computing grid. In this model we consider that the asynchronous communication between the AVPEs by exchanging ACL messages have a great benefit on reducing the communication cost involved by the PEs.

3.2. Cooperative Mobile Agent Virtual Element (AVPE) Model

The distributed classification is performed by the implementation of the proposed DFCM method on a cooperative mobile agents team works model as illustrated in Figure 2. This model is composed of the Team Leader agent and the team worker agents (AVPEs). When the DFCM program is implemented in the model, the mobile Team Leader agent receives the MRI input image and splits it into (me × ne) elementary images, as shown in Figure 2a. Then it deploys a set of AVPEs of size (me × ne), and encapsulates the classification tasks and the elementary image per AVPE (Figure 2b). The AVPEs in Figure 2c perform the distributed classification on their assigned elementary image and send the results to their mobile Team Leader agent who, later in Figure 2d, computes the final results and assembles all elementary segmented images in order to display the output image results of the classification.

4. Distributed Clustering Algorithm

4.1. Standard Fuzzy C-Means Algorithm

The well-known clustering algorithm named the fuzzy c-means (FCM) is proposed by Dunn [8] and extended by Bezdek [9]. It is a clustering method that allows one pixel of the segmented image to belong to two or more clusters, each one with a different membership degree between 0 and 1. The main goal of the FCM algorithm is to find the c-cluster centers (centroids) in the data set X = {x1, x2, …, xN} that minimizes the objective function given by the following equation:
J ( U ,   V 1 ,   V 2 ,   ,   V c )   =   i = 1 c J i = i = 1 c j = 1 N u i j m d ² ( v i , x j )
The membership matrix U has the properties:
u i j [ 0 , 1 ] ,   i , j
i = 1 c u i j = 1 ,   j = 1 , ,   N
0 < j = 1 N u i j < N ,   i = 1 , , c
where
  • u i j      Membership of data xj in the cluster Vi.
  • Vi       Centroid of the cluster i.
  • d ( v i , x j )    Euclidian distance between centroid (Vi) and data point xj.
  • m [ 1 , [ Fuzzification parameter generally equals 2.
  • N     Number of data.
  • c      Number of clusters 2 ≤ c < N.
To reach a minimum of dissimilarity function there are two conditions:
V i = j = 1 N u i j m x j j = 1 N u i j m
u i j = 1 k = 1 c ( d i j d k j ) 2 / ( m 1 )
The standard FCM classification is achieved according to the following algorithm stages, which are summarized in Figure 3.

4.2. Distributed Fuzzy C-Means Algorithm

The distributed algorithm described in Figure 4 is implemented in the proposed model based on a multi-agent system. The fuzzy c-means program is implemented according to SPMD architecture over a 2D Mesh of size (me × ne). In this model each AVPE(a) ((a = 1 to NA), where NA = (me × ne) is the number of AVPEs), is asked to perform the fuzzy c-means program using its assigned elementary image and return its elementary results to the mobile Team Leader agent. This later computes the current global class centers and newly distributes them. This process is repeated until the convergence of the distributed algorithm. This DFCM program is performed according to the three global distributed method steps:
Step 1.  
Mobile Team Leader Agent Initialization
In this step the Team Leader agent is initialized by the input MRI image and the values of me and ne, to define the AVPE grid size (me, ne).
Step 2.  
Grid Construction
The Team leader agent splits the input image into (me × ne) elementary images and deploys (me × ne) AVPEs. Then, each AVPE(a) is initialized and migrates to its appropriate node to perform the classification task on its elementary image.
Step 3.  
Fuzzy C-Means Classification
Each AVPE(a) encapsulates the task and load its elementary image.
For each iteration t
{
 
  • The Team Leader agent sends the class centers to all the AVPEs.
  • Each AVPE(a) gets the class centers from the message and executes the local class determination task.
  • Each AVPE(a) returns its classification elementary results, which consist of the following terms: TE1(a,i), TE2(a,i), TE3(a), and Cardinal(a,i).
    where:
    TE1(a,i) contains the result of the sum of (Um × data) computed for each class center i. This term is computed by:
    T E 1 ( a , i ) = j = 1 p i u i j m x j
    TE2(a,i) contains the result of the sum of (Um) computed for each class center i computed by:
    T E 2 ( a , i ) = j = 1 p i u i j m
    TE3(a) contains the result of the sum of (Um × distance²) computed for all classes. This term is computed by:
    T E 3 ( a ) = j = 1 p i i = 1 c u i j m d ² ( v i , x j )
    Cardinal(a,i) contains the result of the sum of pixel membership for each class center i. This term is computed by:
    C a r d i n a l ( a , i ) = j = 1 p i u i j
    pi: Number of pixels of the elementary image of the AVPE(a).
  • The Team Leader agent performs these three sub tasks: assembling the elementary results, computing the new class centers, and computing the objective function Jt.
    Assembling the elementary results
    The Team Leader agent receives the elementary results (TE1(a,i), TE2(a,i), TE3(a), Cardinal(a,i)) from each AVPE(a) and assembles them in order to compute the global values (GTE1(i), GTE2(i), GTE3(i), GC(i)), respectively, by the given equations:
    G T E 1 ( i ) = a = 1 N A T E 1 ( a , i )
    G T E 2 ( i ) = a = 1 N A T E 2 ( a , i )
    G T E 3 ( i ) = a = 1 N A T E 3 ( a )
    G C ( i ) = a = 1 N A C a r d i n a l ( a , i )
    where:
    GTE1(i) is the global value of TE1(a,i) over the AVPEs of the grid.
    GTE2(i) is the global value of TE2(a,i) over the AVPEs of the grid.
    GTE3(i) is the global value of TE3(a) over the AVPEs of the grid.
    GC(i) is the global value of Cardinal(a,i) over the AVPEs of the grid.
    Computing the global class centers
    The Team Leader agent gets the computed global values (GTE1(i), GTE2(i)) to compute the new class centers Vi by the following equation:
    V i = G T E 1 ( i ) G T E 2 ( i )
    Computing the objective function Jt:
    The Team leader agentgets the global value of GTE3(i) to compute the objective function given by the following equation:
    J t = i = 1 c G T E 3 ( i )
  • The Team Leader agent tests the condition of the algorithm convergence (|Jt − J(t−1)|<Eth).
}
// End of iteration t
The Team Leader agent requests to each AVPE(a) the segmented elementary image.
Each AVPE(a) sends the segmented elementary image result to the Team Leader agent.
The Team Leader agent assembles the segmented elementary images and displays the segmented output image.

5. Distributed Environment and Results

5.1. Distributed Environment Communication Mechanisms

A distributed computing environment, as illustrated in Figure 5, presents how the proposed method can perform the distributed programs thanks to the several mobile agent skills: mobility, autonomy, adaptability, and asynchronous communication. To illustrate the main idea of this contribution we present in Figure 6 an example of 2D mesh of size (4 × 4). Each AVPE in the grid computing has an agent message queue. When the Team Leader agent sends the computing data to their AVPEs team, the messages are stored in their queues. Thus, the AVPEs and the Team Leader agent can perform their assigned tasks and communicate between each other without the need of acknowledgments. Assume that each AVPE(a) needs to check the data in its queue and manage the computing time and the communication time. In [10], the authors implemented a distributed c-means method DCM in a distributed environment that includes an excellent agent communication management mechanism. This mechanism ensures asynchronous communication between the agents, which significantly reduces the communication cost and improves HPC. Thus, this mechanism is integrated in the proposed DFCM model to implement a scalable and efficient DFCM method.

5.2. Cooperative Multi-Agent Middleware

JADE (Java Agent DEvelopment) [1] is a middleware for developing the distributed multi-agent system (MAS), which is based on JAVA. It supports the agent asynchronous communication mechanisms by using the ACL messages according to the FIPA-ACL message specifications [1]. The cooperative DFCM model is implemented on a parallel and distributed virtual machine based on mobile agents according to the architecture in Figure 7.
The classification of the MRI image is performed on this platform by applying this middleware. It creates the main components of this model, which are:
(1)
The host container: this is the second container which is started in the platform after the main container, where the mobile team leader agent is deployed in order to perform its tasks in the grid.
(2)
The agent containers: these are the containers that are started in the platform, where the mobile team worker agents will move to perform their tasks.

5.3. Implementation and Results

The proposed DFCM algorithm is implemented in this model for MRI medical image analysis. To do so, we choose two cerebral MRI images: brain MRI image (Img1) in Figure 8 and an abnormal brain MRI image (Img2) in Figure 9. Each image in Figure 8a is encapsulated on the team leader agent as an input image in order to be split into elementary images, as in Figure 8b. At the end of the classification process these images will be segmented into c output images (Figure 8c–e) that correspond, respectively, to the grey matter, the cerebrospinal fluid, and the white matter. The same algorithm is performed for the second image of Figure 9a to detect the abnormal region.
To illustrate the effectiveness features of the implementation of the FCM program in this model, we present the proposed five cases studies:
(1)
Dynamic convergence of this program for the MRI image (Img1) with two different class center initializations:
(a)
(c1, c2, c3) = (1.1, 2.5, 3.8): in Table 1 and in Figure 10, where we see clearly the dynamic convergence of the algorithm to the final class centers (c1, c2, c3) = (1.100, 97.667, 146.569). The convergence is achieved after 13 iterations.
(b)
(c1, c2, c3) = (140.5, 149.5, 150.5): the algorithm converges to the same final class centers (c1, c2, c3) = (1.100, 97.661, 146.566) after 20 iterations, as illustrated in Table 1 and Figure 11.
(2)
Dynamic convergence of this program for the MRI image (Img2) with two different class center initializations:
(a)
(c1, c2, c3, c4, c5) = (1.5, 2.2, 3.8, 5.2, 8.6): in Table 2 and in Figure 12 we see clearly the dynamic convergence of the algorithm to the final class centers (c1, c2, c3, c4, c5) = (1.742, 67.587, 101.709, 238.983, 170.040) after 35 iterations.
(b)
(c1, c2, c3, c4, c5) = (140.5, 149.5, 150.5, 220.2, 250.5): where the algorithm converges to the same final class centers (c1, c2, c3, c4, c5) = (1.764, 67.967, 101.858, 239.140, 170.560) after 26 iterations, as shown in Table 2 and Figure 13.
(3)
The DFCM classification time according to the number of agents involved in the classification for the initial class centers (c1, c2, c3, c4, c5) = (1.5, 2.2, 3.8, 5.2, 8.6) for Img1, and (c1, c2, c3, c4, c5) = (1.5, 2.2, 3.8, 5.2, 8.6) for Img2. In Figure 14 we see clearly that from 16 agents the classification time of the two images achieves minimum values of 108 ms for Img1 and of 278 ms for Img2. Thus, it is considered as the appropriate number of agents needed to classify these images.
A detailed comparison between the FCM and the DFCM methods is made in Table 3 for each image. Both methods converge to the same values of the class centers. We see clearly that the classification time of the DFCM method corresponds to the FCM for one agent and by adding the number of agents the DFCM method performs a reduced classification time which achieves its minimum values from 16 AVPEs for both images.
(4)
The DFCM classification time according to the number of nodes in the grid computing by considering 16 AVPEs for the two images (Img1) and (Img2). In Figure 15, we see clearly that for both images the classification time achieves a gain of time of about 78% using eight nodes, compared to using just one. The corresponding classification data size for each node is illustrated in Figure 16.
(5)
The speedup S(DFCM), its relative speedup SR(DFCM), and the efficiency of the DFCM classification method are presented, respectively, in Figure 17 and Figure 18, compared to the sequential FCM method. We perform interesting maximum relative speedups of 86.760% for Img1, which corresponds to again of 7.55, and of 82.372% for Img2, which corresponds to again of 5.67, by using 32 AVPEs. The speedup S(DFCM) and the relative speedup SR(DFCM) are illustrated in Table 4 and computed, respectively, by the following equations:
S ( DFCM ) NA = T ( FCM ) T ( DFCM ) NA
S R ( DFCM ) NA = T ( FCM ) T ( DFCM ) NA T ( FCM ) ×   100
where:
T(FCM)is the classification time of the FCM method which corresponds to one agent; and
T(DFCM) is the classification time of the DFCM method which corresponds to the number NA of agents.

6. Related Work

There are several inspiring parallel methods of the clustering algorithm on massively parallel computational models which have demonstrated interesting clustering results. In [1], the authors proposed a parallel FCM implementation on a parallel architecture, based on dividing the computation among the processors for image segmentation analysis. Their proposed method presents a great improvement of the performance and the efficiency of the image segmentation as compared to the sequential implementation. In [11], the authors proposed a parallel FCM implementation for clustering large datasets, which is designed to run on a parallel SPMD architecture using MPI tools. Their proposed implementation achieves ideal speedups as compared to an existing parallel c-means implementation. The classification becomes the main core of wide number of researchers in different fields: in [12], for decision tree induction, fuzzy rule-based classifiers [13,14], neural networks [15,16], and clustering [1,17].
The different parallel methods differ from each other by the computational models which are assigned to be implemented. Their implementations depend on the parallel computing strategies [18] used and that present some challenges: high cost of the machines, limitation on the test and validation of new algorithms, and they also involve a great number of computational resources that increases the communication cost between the processors in grid computing. The proposed distributed method within this contribution grants a scalable and efficient implementation on computational model-based mobile agents. In [10] the authors improved the parallel c-means method [19] by the use of the distributed one.
So, thanks to these several interesting works, the proposed DFCM method is implemented on a scalable and efficient mobile agents model. The JADE middleware-based mobile agents model is the easiest and the most suitable solution to implement this distributed method.

7. Conclusions

In this paper, we presented a distributed fuzzy c-means method (DFCM) and its application on MRI image classification. This method is implemented on an SPMD model based on cooperative mobile agents grid computing. This model implements the asynchronous communication mechanism, which is based on exchanging ACL messages between the AVPEs. The results obtained by implementing this program, related to the class centers convergence, the classification time, the speedup of the method, and the efficiency, demonstrate that the proposed DFCM method can reduce the complexity of the fuzzy clustering algorithms and, especially, the communication cost between the PEs. The mobile agents abilities ensure the distributed performance keys that ensure HPC.

Author Contributions

Fatéma Zahra Benchara proposed, implemented the distributed model, performed the experimental results and wrote the paper. Mohamed Youssfi proposed the idea, implemented the sequential model, analyzed and validated the experimental results. Omar Bouattane and Hassan Ouajji performed the review of the paper.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Rahimi, S.; Zargham, M.; Thakre, A.; Chillar, D. A Parrallel Fuzzy C-Mean Algorithm for Image Segmentation. In Proceedings of the IEEE Annual Meeting of the Fuzzy Information, Banff, AB, Canada, 27–30 June 2004; pp. 234–237.
  2. Bellifemine, F.L.; Caire, G.; Greenwood, D. Developing Multi-Agent Systems with JADE; Wiley: West Sussex, UK, 2007. [Google Scholar]
  3. Depuru, S.S.S.R.; Wang, L.; Devabhaktuni, V.; Green, R.C. High performance computing for detection of electricity theft. ELSEVIER Electr. Power Energy Syst. 2013, 147, 21–30. [Google Scholar] [CrossRef]
  4. Coria, J.A.G.; Castellanos-Garzón, J.A.; Corchado, J.M. Intelligent business processes composition based on multi-agent systems. ELSEVIER Expert Syst. Appl. 2014, 41, 1189–1205. [Google Scholar] [CrossRef]
  5. Isern, D.; Moreno, A.; Sánchez, D.; Hajnal, A.; Pedone, G.; Varga, L.Z. Agent-based execution of personalised home care treatments. Appl. Intell. 2011, 34, 155–180. [Google Scholar] [CrossRef]
  6. Sánchez, D.; Isern, D.; Rodríguez-Rozas, A.; Moreno, A. Agent-based platform to support the execution of parallel tasks. ELSEVIER Expert Syst. Appl. 2011, 38, 6644–6656. [Google Scholar] [CrossRef]
  7. Rodríguez-González, A.; Torres-Niño, J.; Hernández-Chan, G.; Jiménez-Domingo, E.; Alvarez-Rodríguez, J.M. Using agents to parallelize a medical reasoning system based on ontologies and description logics as an application case. ELSEVIER Expert Syst. Appl. 2012, 39, 13085–13092. [Google Scholar] [CrossRef]
  8. Dunn, J.C. A fuzzy relative of the ISODATA process and its use in detecting compact well-separated clusters. J. Cybern. 1973, 3, 32–57. [Google Scholar] [CrossRef]
  9. Bezdek, J.C. Pattern Recognition with Fuzzy Objective Function Algorithms; Plenum Press: New York, NY, USA, 1981. [Google Scholar]
  10. Benchara, F.Z.; Youssfi, M.; Bouattane, O.; Ouajji, H.; Bensalah, M.O. Distributed C-Means Algorithm for Big Data Image Segmentation on a Massively Parallel and Distributed Virtual Machine Based on Cooperative Mobile Agents. JSEA 2015, 8, 103–113. [Google Scholar] [CrossRef]
  11. Kwok, T.; Smith, K.; Lozano, S.; Taniar, D. Parallel Fuzzy C-means Clustering for Large Data Sets. In Euro-Par 2002 Parallel Processing, Proceedings of the 8th International Euro-Par Conference on Parallel Processing, Paderborn, Germany, 27–30 August 2002; Monien, B., Feldman, R., Eds.; Lecture Notes in Computer Science. Springer Verlag: Heidelberg, Germany, 2002; Volume 2400, pp. 365–374. [Google Scholar]
  12. Kubota, K.; Nakase, A.; Sakai, H.; Oyanagi, S. Parallelization of decision tree algorithm and its performance evaluation. In Proceedings of the Fourth International Conference on High Performance Computing in the Asia-Pacific Region, Beijing, China, 14–17 May 2000; Volume 2, pp. 574–579.
  13. Kim, M.W.; Lee, J.G.; Min, C. Efficient fuzzy rule generation based on fuzzy decision tree for data mining. In Proceedings of the IEEE International Fuzzy Systems Conference FUZZ-IEEE ’99, Seoul, Korea, 22–25 August 1999; pp. 1223–1228.
  14. Evsukoff, A.; Costa, M.C.A.; Ebecken, N.F.F. Parallel Implementation of Fuzzy Rule Based Classifier. In Proceedings of the VECPAR’2004, Valencia, Spain, 28–30 June 2004; Volume 2, pp. 443–452.
  15. Phua, P.K.H.; Ming, D. Parallel nonlinear optimization techniques for training neural networks. IEEE Trans. Neural Netw. 2003, 14, 1460–1468. [Google Scholar] [CrossRef] [PubMed]
  16. Costa, M.C.A.; Ebecken, N.F.F. A Neural Network Implementation for Data Mining High Performance Computing. In Proceedings of the V Brazilian Conference on Neural Networks, Granada, Spain, 13–15 June 2001; pp. 139–142.
  17. Boutsinas, B.; Gnardellis, T. On distributing the clustering process. Pattern Recognit. Lett. 2002, 23, 999–1008. [Google Scholar] [CrossRef]
  18. El-Rewini, H.; Abd-El-Barr, M. Advanced Computer Architecture and Parallel Processing; Wiley: Hoboken, NJ, USA, 2005. [Google Scholar]
  19. Bouattane, O.; Cherradi, B.; Youssfi, M.; Bensalah, M.O. Parallel c-means algorithm for image segmentation on a reconfigurable mesh computer. ELSEVIER Parallel Comput. 2011, 37, 230–243. [Google Scholar] [CrossRef]
Figure 1. A cooperative computational grid of size 4 × 4.
Figure 1. A cooperative computational grid of size 4 × 4.
Computers 05 00014 g001
Figure 2. Computational model for DFCM classification overview.
Figure 2. Computational model for DFCM classification overview.
Computers 05 00014 g002
Figure 3. Standard fuzzy c-means classification stages.
Figure 3. Standard fuzzy c-means classification stages.
Computers 05 00014 g003
Figure 4. Distributed FCM algorithm organization chart.
Figure 4. Distributed FCM algorithm organization chart.
Computers 05 00014 g004
Figure 5. Sequence diagram for DFCM on a cooperative multi-agent model.
Figure 5. Sequence diagram for DFCM on a cooperative multi-agent model.
Computers 05 00014 g005
Figure 6. Agent asynchronous communication mechanisms in a 2D mesh (4 × 4).
Figure 6. Agent asynchronous communication mechanisms in a 2D mesh (4 × 4).
Computers 05 00014 g006
Figure 7. Multi-agent middleware overview.
Figure 7. Multi-agent middleware overview.
Computers 05 00014 g007
Figure 8. Classification results by the elaborated DFCM model implementation for Img1.
Figure 8. Classification results by the elaborated DFCM model implementation for Img1.
Computers 05 00014 g008
Figure 9. Classification results by the elaborated DFCM Model implementation for Img2.
Figure 9. Classification results by the elaborated DFCM Model implementation for Img2.
Computers 05 00014 g009
Figure 10. Dynamic convergence of the class centers starting from class centers (c1, c2, c3) = (1.1, 2.5, 3.8). (a) Class centers; and (b) Error of the objective function.
Figure 10. Dynamic convergence of the class centers starting from class centers (c1, c2, c3) = (1.1, 2.5, 3.8). (a) Class centers; and (b) Error of the objective function.
Computers 05 00014 g010
Figure 11. Dynamic convergence of the class centers starting from class centers (c1, c2, c3) = (140.5, 149.5, 150.5). (a) Class centers; and (b) Error of the objective function.
Figure 11. Dynamic convergence of the class centers starting from class centers (c1, c2, c3) = (140.5, 149.5, 150.5). (a) Class centers; and (b) Error of the objective function.
Computers 05 00014 g011
Figure 12. Dynamic convergence of the class centers starting from class centers (c1, c2, c3, c4, c5) = (1.5, 2.2, 3.8, 5.2, 8.6). (a) Class centers; and (b) Error of the objective function.
Figure 12. Dynamic convergence of the class centers starting from class centers (c1, c2, c3, c4, c5) = (1.5, 2.2, 3.8, 5.2, 8.6). (a) Class centers; and (b) Error of the objective function.
Computers 05 00014 g012
Figure 13. Dynamic convergence of the class centers starting from class centers (c1, c2, c3, c4, c5) = (140.5, 149.5, 150.5, 220.2, 250.5). (a) Class centers, and (b) Error of the objective function.
Figure 13. Dynamic convergence of the class centers starting from class centers (c1, c2, c3, c4, c5) = (140.5, 149.5, 150.5, 220.2, 250.5). (a) Class centers, and (b) Error of the objective function.
Computers 05 00014 g013
Figure 14. Time of DFCM classification for each MRI image depending on the number of agents with initial class centers (c1, c2, c3) = (1.1, 2.5, 3.8) for Img1, and (c1, c2, c3, c4, c5) = (1.5, 2.2, 3.8, 5.2, 8.6) for Img2.
Figure 14. Time of DFCM classification for each MRI image depending on the number of agents with initial class centers (c1, c2, c3) = (1.1, 2.5, 3.8) for Img1, and (c1, c2, c3, c4, c5) = (1.5, 2.2, 3.8, 5.2, 8.6) for Img2.
Computers 05 00014 g014
Figure 15. DFCM Classification time depending on the number of nodes in the grid using 16 AVPEs for Img1 with initial class centers (c1, c2, c3) = (1.1, 2.5, 3.8), and with initial class centers (c1, c2, c3, c4, c5) = (1.5, 2.2, 3.8, 5.2, 8.6) for the Img2.
Figure 15. DFCM Classification time depending on the number of nodes in the grid using 16 AVPEs for Img1 with initial class centers (c1, c2, c3) = (1.1, 2.5, 3.8), and with initial class centers (c1, c2, c3, c4, c5) = (1.5, 2.2, 3.8, 5.2, 8.6) for the Img2.
Computers 05 00014 g015
Figure 16. DFCM classification data depending on the number of nodes in the grid using 16 AVPEs (a) for Img1; (b) for Img2.
Figure 16. DFCM classification data depending on the number of nodes in the grid using 16 AVPEs (a) for Img1; (b) for Img2.
Computers 05 00014 g016
Figure 17. Relative Speedup of DFCM Classification depending on the number of AVPEs and with initial class centers (c1, c2, c3) = (1.1, 2.5, 3.8) for Img1, and (c1, c2, c3, c4, c5) = (1.5, 2.2, 3.8, 5.2, 8.6) for Img2.
Figure 17. Relative Speedup of DFCM Classification depending on the number of AVPEs and with initial class centers (c1, c2, c3) = (1.1, 2.5, 3.8) for Img1, and (c1, c2, c3, c4, c5) = (1.5, 2.2, 3.8, 5.2, 8.6) for Img2.
Computers 05 00014 g017
Figure 18. Efficiency of DFCM classification depending on the number of AVPEs and with initial class centers (c1, c2, c3) = (1.1, 2.5, 3.8) for Img1, and (c1, c2, c3, c4, c5) = (1.5, 2.2, 3.8, 5.2, 8.6) for Img2.
Figure 18. Efficiency of DFCM classification depending on the number of AVPEs and with initial class centers (c1, c2, c3) = (1.1, 2.5, 3.8) for Img1, and (c1, c2, c3, c4, c5) = (1.5, 2.2, 3.8, 5.2, 8.6) for Img2.
Computers 05 00014 g018
Table 1. Different states of the distributed fuzzy c-means (DFCM) algorithm forImg1 classification starting from different class centers initialization.
Table 1. Different states of the distributed fuzzy c-means (DFCM) algorithm forImg1 classification starting from different class centers initialization.
CaseInitial Class CentersFinal Class CentersNumber of Iteration
C1C2C3C1C2C3
CASE 11.12.53.81.10097.667146.56913
CASE 2140.1149.5150.81.10097.661146.56620
Table 2. Different states of the distributed fuzzy c-means (DFCM) algorithm for Img2 classification starting from class centers initialization.
Table 2. Different states of the distributed fuzzy c-means (DFCM) algorithm for Img2 classification starting from class centers initialization.
Initial Class CentersFinal Class CentersNumber of Iteration
CaseC1C2C3C4C5C1C2C3C4C5
CASE 11.52.23.85.28.61.74267.587101.709238.983170.04035
CASE 2140.5149.5150.5220.5250.51.76467.967101.858239.140170.56026
Table 3. FCM and DFCM method comparison for classification of two images (Img1and Img2).
Table 3. FCM and DFCM method comparison for classification of two images (Img1and Img2).
FCM MethodDFCM Method
Classification Time (Img1) (ms)Classification Time (Img2) (ms)Number of AgentsClassification Time (Img1) (ms)Classification Time (Img2) (ms)
778150917781509
--2334860
--4200516
--8144371
--16108278
--32103266
Table 4. Speedup of the distributed fuzzy c-means (DFCM) method for Img1 and Img2.
Table 4. Speedup of the distributed fuzzy c-means (DFCM) method for Img1 and Img2.
Number of AgentsSR(DFCM) (Img1) (%)S(DFCM) (Img1)SR(DFCM) (Img2) (%)S(DFCM) (Img2)
10101
257.0692.3243.0081.75
474.2933.8965.8052.92
881.4915.475.4144.06
1686.1187.281.5775.42
3286.767.5582.3725.67

Share and Cite

MDPI and ACS Style

Benchara, F.Z.; Youssfi, M.; Bouattane, O.; Ouajji, H. A New Scalable, Distributed, Fuzzy C-Means Algorithm-Based Mobile Agents Scheme for HPC: SPMD Application. Computers 2016, 5, 14. https://doi.org/10.3390/computers5030014

AMA Style

Benchara FZ, Youssfi M, Bouattane O, Ouajji H. A New Scalable, Distributed, Fuzzy C-Means Algorithm-Based Mobile Agents Scheme for HPC: SPMD Application. Computers. 2016; 5(3):14. https://doi.org/10.3390/computers5030014

Chicago/Turabian Style

Benchara, Fatéma Zahra, Mohamed Youssfi, Omar Bouattane, and Hassan Ouajji. 2016. "A New Scalable, Distributed, Fuzzy C-Means Algorithm-Based Mobile Agents Scheme for HPC: SPMD Application" Computers 5, no. 3: 14. https://doi.org/10.3390/computers5030014

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop