Study on Early Warning of Building Safety Based on SVM
                        
                        
                        
                        
                        
                            Li-Jun Feng
                            Shu-Quan Li
                         
                        
                        
                        Keywords
                        
                            building safety, 
                            early warning, 
                            generality capability, 
                            Support Vector Machine
                        
                        
                        Table of Contents
                        
                            Introduction
                            Support vector machine
                            Early warning of building safety based on SVM
                            Experiments
                            Conclusions
                            References
                            Appendix
                        
                        
                
                        Abstract
                        
                              The building is important strut industry of our national economy. But the safety accidents in building domain occur frequently every year. 
                              The safety problem of building directly influences or even restricts the development of building industry. Support Vector Machine (SVM) is a kind of new machine learning method developed on the basis of statistical learning theory. 
                              This method based on the principle of structural risk minimization can solve the problem of overfitting effectively and has good generality capability and better classification accuracy. 
                              In this paper, the author applied this method in safety management of building and carried on the study of early warning system of building safety based on SVM. 
                              At last, we carried on the data experiment to this problem and proved that the method of SVM has good generality capability.                            
                        
                        
                
                        Introduction
                        
        At present, the building industry has already become the important strut industry
        with the development of our national economy. The safety problem of building domain
        relates to the people life and nation property safety. Its direct aftereffect harms
        the people’s vital interest and influences the situation of social stability. Because
        the building industry has these characteristics of singleness and complexity and
        open-air work and upper-air work and labor-intensiveness, the safety accidents in
        building domain occur frequently. According to the incomplete statistics, the annual
        number of casualties is about thousands of people and direct economic losses are
        over ten billion Yuan. So the safety problem in building domain has aroused the
        universal attention of society. In view of this situation, the government has promulgated
        a series of laws and regulations to strengthen the safety production of building
        domain. Some management personnel and technical personnel of building enterprise
        and some experts have also carried through various studies and discussions to safety
        production of building, including having made some achievements in building safety
        evaluation and early warning. In allusion to the current situation of building safety
        management of our country, we carried on the study of early warning of building
        safety based on Support Vector Machine (SVM) in this paper. We hope that to develop
        this study can reduces casualty and property losses. In addition, it has certain
        model significance for the building safety management way of our country.
                        
                        
                
                        Support vector machine
                        
    
        Support Vector Machine is a kind of new machine learning method developed on the
        basis of statistical learning theory. This method based on the principle of structural
        risk minimization can solve the problem of overfitting effectively and has good
        generality capability and better classification accuracy. It is becoming a new research
        focus of machine learning field after pattern-recognition and neural network.
    
        SVM is used to find the optimal separating hyperplane of linear classification problem
        first. The so-called optimal separating hyperplane not only can be used to separate
        the data, but also can maximize the margin. So, the problem of constructing the
        optimal separating hyperplane can be turned into the following optimization problem:
    
        
             (1)
                         (1)
    
        s.t.  
             ,
        i=1,2,…,
,
        i=1,2,…,
    
        The above problem can be transformed to the following dual problem by using Lagrange
        optimization method:
    
        
            
    
        s.t.    
            
    
        
             ≥0,
        i=1,2,…,
≥0,
        i=1,2,…, (2)
                         (2)
    
        where 
             are the Lagrange multipliers.
        are the Lagrange multipliers.
    
        Solving Equation (2) with constraints Equation determines the Lagrange multipliers,
        and the optimal separating hyperplane is given by,
    
          (3)
 
        (3)
    
        where sgn ()denotes the sign function.
    
        So far the discussion has been restricted to the case where the training data is
        linearly separable. However, in general this will not be the case. In the case where
        it is misclassification, alternatively a more complex function can be used to describe
        the boundary. To enable the optimal separating hyperplane method to be generalized,
        Cortes and Vapnik (1995) introduced non-negative variables, ≥0. The
≥0. The 
                 are a measure of the misclassification errors. The optimization problem is now posed
        so as to minimize the classification error as well as minimizing the bound on the
        VC dimension of the classifier.  The generalized optimal separating hyperplane
        is determined by the vector
        are a measure of the misclassification errors. The optimization problem is now posed
        so as to minimize the classification error as well as minimizing the bound on the
        VC dimension of the classifier.  The generalized optimal separating hyperplane
        is determined by the vector 
            
    
        
             (4)
                   (4)
    
        where 
             is a given viable. The generalized optimal separating hyperplane is nearly the same
        as to linearly separable problem, just the constraints Equation turns into:
        is a given viable. The generalized optimal separating hyperplane is nearly the same
        as to linearly separable problem, just the constraints Equation turns into:
    
    
        0≤ ≤C
            , i=1,2…l.
≤C
            , i=1,2…l.
    
        To non-linear problem, we can transform it to the problem of a high dimensional
        feature space by the use of reproducing kernels. The idea of the kernel function
        is to enable operations to be performed in the input space rather than the potentially
        high dimensional feature space. Hence the inner product does not need to be evaluated
        in the feature space. This provides a way of addressing the curse of dimensionality.
        So the optimal separating hyperplane is transformed to:
    
        
             (5)
                   (5)
    
        where 
            
    
        Hence, if we select different kernel function, we can acquire different support
        vector machines.
                        
                        
                
                        Early warning of building safety based on SVM
                        
    
        The early warning problem can be regarded as classification problem. Considering
        the simplest situation, we can classify it into having warning and no having warning.
        Then we regard the early warning problem as classification problem of two classes
        by integrating the history data and the present data. Hence, we can solve it by
        SVM. If we hope to infer different warning degree, we may regard early warning problem
        as classification problem of multiclasses.
    
    
        The SVM learning algorithms include SVMlight, SMO, Chunking, Decomposing and so
        on. We select SVMlight when constructing the early warning system. The systematic
        design idea is to design the effective algorithm and choose working set of including
        q non-0 weight and decompose the original optimal problem.
    
        The process of early warning of building safety can be regarded as a process of
        pattern recognition. Comparing the new early warning sample of unknown warning degree
        with standard sample of known warning degree, we can determine mode category of
        early warning which new early warning sample should belong to.
    
        According to the above analysis, we constructed the framework of deal with early
        warning problem by computer as Figure1:
    
        In Figure 1, the man-machine interface is the program interface which users use
        the early warning system. The original data trained and relevant parameters are
        inputted through the man-machine interface and the alarm signal is also displayed
        through the man-machine interface. The knowledge acquisition subsystem formed by
        SVM classification algorithm is a core of the early warning system. The knowledge
        base subsystem is a carrier of the early warning knowledge, and is also a guide
        part of the warning subsystem. Warning subsystem is equivalent to the wrong inspection
        system in the pattern recognition system. Under the drive of the new early warning
        data, it received the warning result by the calculation of decision-making function.
    
    
    
        
        In Figure 1, the man-machine interface is the program interface which users use
        the early warning system. The original data trained and relevant parameters are
        inputted through the man-machine interface and the alarm signal is also displayed
        through the man-machine interface. The knowledge acquisition subsystem formed by
        SVM classification algorithm is a core of the early warning system. The knowledge
        base subsystem is a carrier of the early warning knowledge, and is also a guide
        part of the warning subsystem. Warning subsystem is equivalent to the wrong inspection
        system in the pattern recognition system. Under the drive of the new early warning
        data, it received the warning result by the calculation of decision-making function.
                        
                                        
                        Experiments
                        
    
        We validated the capability of early warning system by the data of some construction
        group. This data was collected from 1984 year to 2003 year, altogether 20 years.
    
        We regarded the data from 1984 year to 1998 year as training samples. We chose 32
        influence features of building safety about each training sample, as in Table 1(appendix).
    
        Thus, each sample vector
    
    
        Table 2. Test results and original results
    
        According to table 2, we can know the test results are completely consistent with
        original results. This also indicates SVM has good generality capability and better
        classification accuracy.
                        
                                        
                        References
                        
    
        1.      Nai-yang Deng, Ying-jie Tian, The new method of data mining:
            support vector machine, Science press,
        China
        , 2004
    
        2.      Hui Zhang, Application of support vector machine in data mining,
        Computer Engineering, vol 30(6), p. 7-8, March 2004
    
        3.      Cristianini N., Shawe-Taylor J., Introduction to Support Vector
            Machines, Cambridge, Cambridge University Press, 2000, 52~767
    
        4.      http://support.vector.net
    
                        
                          
                        
                
                        
    
        | 1. Whether the safety equipment is perfect or not. | 17. The construction field is good or bad. | 
    
        | 2. The climate is bad or good. | 18. The machine device runs over load. | 
    
        | 3. The worker’s physical quality is bad or good. | 19. Hoisting equipment and human overlapping work. | 
    
        | 4. The special protective measure is bad or good. | 20. The machine device is manufactured or fixed perfectly or not. | 
    
        | 5. Whether the workers work in dangerous area or not. | 21. The construction surroundings is moist or not. | 
    
        | 6. The geological data is detailed or not. | 22. The timbering system is good or bad. | 
    
        | 7. The soil of foundation is liquefied or not. | 23. The construction equipment is aging or short of servicing of not. | 
    
        | 8. The methane give off from underground or not. | 24. The materials body is big and difficult to transport or not. | 
    
        | 9. The water on earth’s surface or in pipe erode the ground or not. | 25. The worker’s manipulation is proper or not. | 
    
        | 10. Construction disturbs the ground or not. | 26. The worker understands the situation of construction field or not. | 
    
        | 11. The chemical matter pollutes the soil or not. | 27. The workers are short of specialty technique knowledge or not. | 
    
        | 12. There is underground barrier or not. | 28. The workers are trained or not. | 
    
        | 13. The construction result in neighboring pipeline fracture and the dehiscence
                or not. | 29. The inspection persons do their work well or not. | 
    
        | 14. The power supply is steady or not. | 30. The construction arrangement is good or not. | 
    
        | 15. The ray in night is bright or not. | 31.There are safety regulations or not. | 
    
        | 16. There is dirt, noise, solarization and drench or not. | 32. There are technique mistakes or not. |