1. Introduction
Several sky survey innovations, including the Sloan Digital Sky Survey(SDSS), have been finished and put into service thanks to advancements in science and engineering, making it simpler to acquire data as well as knowledge regarding numerous celestial objects. The vast amounts of data gathered via observation and collecting may now be efficiently classified thanks to advances in artificial intelligence technologies[1], [2].
We need to employ the lowest feasible resolution (while still giving the necessary categorization accuracy) to detect dim objects. Therefore, we can wonder what the best resolution is for various spectral categorization jobs[3], [4]. Investigations of the Galaxy that attempt to learn more about its structure and history need a high degree of categorization precision. However, in certain cases, just very rough spectral types are required for the categorization job at hand. Exact astrometric observations in broad CCD fields at high zenith angles are a nice illustration of such a challenge. Correcting star locations for color-dependent reflections from the atmosphere may be done using just a crude spectroscopic type[5]–[7].
Categorization accuracies have been shown to vary with wavelength resolution in a variety of spectral categorization investigations. Seitter, using the Hoher List Observatory's three target prisms, obtained the most outstanding data from observations by doing qualitative MK assessments[4], [8].
The importance of researching stellar characteristics and expanding our knowledge of the cosmos cannot be overstated. There have been numerous recent successes in this area of academic study. For instance, SVM, random forest, and other algorithms are used to create the basic classifier model in Stacking ensemble learning-based star or galaxy categorization study[9], [10].
The feed-forward NN is supplemented by the MLP. The input layer, the output layer, and the hidden layer make up its structure. The signal to be analyzed enters the network at the input layer. The output layer is responsible for completing the necessary action, such as forecasting or categorization. The real computing engine of the MLP is a finite number of hidden layers positioned across the input and output layers. Like a feed-forward network, an MLP has a single route of data flow, from the input to the output layer[11], [12]. The MLP uses the backpropagation learning technique to hone the abilities of its neuronal components. MLPs may estimate any continuous function and provide solutions to problems that cannot be separated into linear subproblems. Pattern categorization, acknowledgment, forecasting, and estimation are the main applications of MLP[13]–[16].
2. Steller Classification
Astronomers rely heavily on stellar classification because it gives them "systems" to use when comparing new sorts of stars. Cleverly separating "peculiar" items and learning more about the processes that produce "normal" objects may be accomplished with the help of a solid categorization system. There will come a time when the number of items in a certain "peculiar" class will be large enough to justify revising the definition of "normal" to include them. The long task of analysing all stars in detail may be shortened by isolating prototypes via categorization. As a result, astronomy relies heavily on the continual operations of star categorization and reference frame maintenance.
3. Multi-Layer Perceptron Neural Networks (MLP)
High skills in modeling the nonlinear behavior of complicated structures are found in MLP designs, which are built on the principles of the natural nervous system. In addition, these frameworks are well-suited for solving nonlinear forecasting issues. This approach gets its desired results by first learning the steps involved in addressing the issue and then discovering the underlying link between those steps. To do this, a large amount of data is employed during the training phase, and the resulting relationships are exploited to arrive at the correct output. There are several varieties of neural networks, but the back-propagation net is by far the most common. The neurons in each layer of the structure function in parallel with one another. Every successive layer is fully interconnected with its predecessor and successor[17]–[20].
The MLP is a supervised learning NN that uses the back-propagation algorithm. As can be seen in Figure 1, MLP functions best with a three-layer architecture consisting of an input layer, a hidden layer or layers, and an output layer or layers, where each neuron is linked to all the neurons in the layer that follows. The usefulness of MLP in non-linear issues has been widely discussed[21], [22].
The calculation of output, input, and bias variables as:
Where 𝐸𝑖𝑗, 𝐼𝑁𝑖, 𝑎𝑛𝑑 𝐵𝑖 refer to the weights, input variables and bias variable.
The sigmoid function is an activation function for two target classes can be computed as:
The ultimate of output variable can be computed as:
4. Application
The MLP is applied in the stellar classification dataset. This dataset has 18 features and 100000 observations. Table 1 shows the instance of first and last five records from this dataset. The first row shows the observations and first column shows the 18 features.
21.183 87 ..
4 23.878 82 24.777 59 25.263 07 22.136 82 19.437 18 ..
22.167 59 22.691 18 21.169 16 25.350 39 22.621 71 STC
5 22.275 3 22.831 88 22.663 89 23.776 56 17.580 28 ..
22.975 86 22.386 28 19.269 97 21.637 57 21.797 45 STC
6 20.395 01 22.584 44 20.609 76 21.611 62 16.497 47 ..
21.904 04 20.450 03 18.204 28 19.913 86 20.601 15 STC
7 19.165 73 21.168 12 19.348 57 20.504 54 15.977 11 ..
21.305 48 19.757 59 17.690 34 19.072 54 20.009 59 STC
8 18.793 71 21.614 27 18.948 27 19.250 1 15.544 61 ..
20.735 69 19.415 26 17.352 21 18.624 82 19.280 75 STC
9 3606 4518 3606 4192 8102 ..
10 301 301 301 301 301 ..
11 2 5 2 3 3 ..
12 79 119 120 214 137 ..
13 6.54E+ 18 1.18E+ 19 5.15E+ 18 1.03E+ 19 6.89E+ 18 ..
1.06E+ 19 8.59E+ 18 3.11E+ 18 7.60E+ 18 8.34E+ 18 STC
14 GALA
XY STC
15 0.6347 94 0.7791 36 0.6441 95 0.9323 46 0.1161 23 ..
. 0 0.4048 95 0.1433 66 0.4550 4 0.5429 44 STC
16 5812 10445 4576 9149 6121 ..
17 56354 58158 55592 58039 56187 ..
18 171 427 299 775 842 ..
This paper performed some descriptive statics on this dataset. These statistics are mean, standard deviation, minimum and maximum values in dataset. Table 2 shows these statistics.
STC
3 32.494 63 31.274 19 35.582 44
-0.4028 3
-2.5940 7
19.798 87 15.700 71 46.660 37 49.464 64
STC
. 7778 7917 5314 3650 3650
STC
. 301 301 301 301 301
STC
. 2 1 4 4 4
STC
. 581 289 308 131 60
STC
GALA
GALA
GALA
GALA
GALA
GALA
GALA
GALA
GALA
. 9374 7626 2764 6751 7410
STC
. 57749 56934 54535 56368 57104
STC
. 438 866 74 470 851
STC15 100000 5137.01 2952.303 266 2526 4987 7400.25 12547 STC16 100000 55588.65 1808.484 51608 54234 55868.5 56777 58932 STC17 100000 449.3127 272.4984 1 221 433 645 1000 Then performed some analysis on the dataset to show the distribution of the dataset. Figure 2 shows the distribution of plate feature. The target class in this paper named class feature. Figure 3 shows the distribution of the target class. From Figure 3 there are 3 categories. The galaxy has observation more than QSO, and STAR.
Then the heatmap is obtained from the dataset to show the correlation between 18 features as shown in Figure 4. If the value of correlation is greater than 0.5 this is strong correlation.
Then MLP model is applied on the stellar classification dataset. Figure 5 shows the steps of the proposed MLP model. First, we divide the dataset into an 80% train size and 20% test size. Then we built three layers of dense and added three softmax activation function in three layers. Then we used the Adam optimizer and added 10 epochs, and batch size 64. Table 3 shows the accuracy of validation and train by using Adan optimizer.
Then we changed the optimizer to show the accuracy of the model. We used six optimizers and get the results as shown in Table 3. In SGD optimizer the training loss is the lowest loss in all optimizer. The training accuracy in SGD optimizer is the greatest in all optimizers. The validation loss in Adagrad optimizer is the lowest loss. The greatest validation accuracy in all optimizer in a Adagrad optimizer. Figure 6 shows this comparison.
5. Conclusion
AI models have challenges, such as how to choose the best weights for each layer of a NN so that useful characteristics may be extracted from the input data and used to build a precise prediction. The best forecasting algorithm requires input data, which is an essential and helpful resource for estimating stellar classification. This paper applied the MLP model to a stellar classification dataset. This dataset has 18 features and 100000 samples. The MLP shows 97% with three layers. This paper compared the Adam optimizer with various optimizers to show the best optimizer in this dataset. From this comparison, the SGD is the best optimizer in training loss and training accuracy. The Adagrad optimizer is the best in the validation loss and validation accuracy.