Cardiovascular disease remains the biggest cause of deaths worldwide and the heart disease prediction at the early stage is very important. The classification problem of assigning several observations into different disjoint groups plays an important role in business decision making and many other areas. A heart disease dataset is analysed using neural network approach. The main aim of data mining is to find relationships in data and to predict outcomes. Classification is one of the important data mining techniques for classifying given set of input data. Many real world problems in various fields such as business, science, industry and medicine, can be solved by using classification approach. For the better classification and improve the accuracy, optimisation technique is used. To optimise the weight of the ANN structure, GSO technique is used. From the classification results process, the maximum accuracy is 82.23% in heart diseases database classification process. Copyright © 2017 Inderscience Enterprises Ltd.