{"id":3521,"date":"2023-08-31T11:12:58","date_gmt":"2023-08-31T11:12:58","guid":{"rendered":"https:\/\/neuraldesigner.com\/learning\/star-type\/"},"modified":"2025-10-06T10:36:45","modified_gmt":"2025-10-06T08:36:45","slug":"star-type","status":"publish","type":"learning","link":"https:\/\/www.neuraldesigner.com\/learning\/examples\/star-type\/","title":{"rendered":"Star types classification using machine learning"},"content":{"rendered":"<p>The main goal is to design a classification machine learning model that classifies different star types.<\/p>\n<p>The categories are Red Dwarf, Brown Dwarf, White Dwarf, Main Sequence, Supergiants, or Hypergiants.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/www.neuraldesigner.com\/images\/HRdiagram.webp\" alt=\"classification of star types according to temperature and luminosity\" width=\"567\" height=\"600\" \/><\/p>\n<p>The classification is given according to luminosity, radius, color, and other star characteristics.<\/p>\n<section>This example is solved with the data science and machine learning platform <a href=\"https:\/\/www.neuraldesigner.com\/\">Neural Designer<\/a>.To follow it step by step, you can use the <a style=\"font-family: var( --e-global-typography-text-font-family ), Sans-serif; font-weight: var( --e-global-typography-text-font-weight ); background-color: #ffffff;\" href=\"https:\/\/www.neuraldesigner.com\/free-trial\">free trial<\/a>.<\/section>\n<section>\n<h3>Contents<\/h3>\n<ol>\n<li><a href=\"#ApplicationType\">Application type<\/a>.<\/li>\n<li><a href=\"#DataSet\">Data set<\/a>.<\/li>\n<li><a href=\"#NeuralNetwork\">Neural network<\/a>.<\/li>\n<li><a href=\"#TrainingStrategy\">Training strategy<\/a>.<\/li>\n<li><a href=\"#ModelSelection\">Model selection<\/a>.<\/li>\n<li><a href=\"#TestingAnalysis\">Testing analysis<\/a>.<\/li>\n<li><a href=\"#ModelDeployment\">Model deployment<\/a>.<\/li>\n<\/ol>\n<\/section>\n<section>\n<h2>1. Application type<\/h2>\n<p>This is a <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-networks-applications#Classification\">classification<\/a> project. Indeed, the variable to be predicted is categorical.<\/p>\n<p>These variables are detailed in the following section.<\/p>\n<\/section>\n<section>\n<h2>2. Data set<\/h2>\n<p>The first step is to prepare the <a style=\"font-family: var( --e-global-typography-text-font-family ), Sans-serif; font-size: var( --e-global-typography-text-font-size ); font-weight: var( --e-global-typography-text-font-weight ); background-color: #ffffff;\" href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set\">data set<\/a>. This is the source of information for the classification problem.<\/p>\n<p>For that, we need to configure the following concepts:<\/p>\n<ul>\n<li>Data source.<\/li>\n<li>Variables.<\/li>\n<li>Instances.<\/li>\n<\/ul>\n<h3>Data source<\/h3>\n<p>The\u00a0<a style=\"background-color: #ffffff; font-family: var( --e-global-typography-text-font-family ), Sans-serif; font-size: var( --e-global-typography-text-font-size ); font-weight: var( --e-global-typography-text-font-weight );\" href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set#DataSource\">data source<\/a> is the CSV file <a style=\"background-color: #ffffff; font-family: var( --e-global-typography-text-font-family ), Sans-serif; font-size: var( --e-global-typography-text-font-size ); font-weight: var( --e-global-typography-text-font-weight );\" href=\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/10\/Stars.csv\">Stars.csv<\/a>.<\/p>\n<p>The number of columns is 7, and the number of rows is 240.<\/p>\n<h3>Variables<\/h3>\n<p>The <a style=\"font-family: var( --e-global-typography-text-font-family ), Sans-serif; font-weight: var( --e-global-typography-text-font-weight ); background-color: #ffffff;\" href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set#Variables\">variables are:<\/a><\/p>\n<\/section>\n<h4 data-start=\"86\" data-end=\"115\"><strong data-start=\"90\" data-end=\"113\">Physical Properties<\/strong><\/h4>\n<ul>\n<li data-start=\"118\" data-end=\"193\"><strong data-start=\"118\" data-end=\"133\">Temperature<\/strong>: Surface temperature of the star, measured in Kelvin (K).<\/li>\n<li data-start=\"196\" data-end=\"269\"><strong data-start=\"196\" data-end=\"210\">Luminosity<\/strong>: Brightness of the star relative to the Sun (<span class=\"katex\"><span class=\"katex-mathml\">L\/L0L\/L_0<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"base\"><span class=\"mord mathnormal\">L<\/span><span class=\"mord\">\/<\/span><span class=\"mord\"><span class=\"mord mathnormal\">L<\/span><span class=\"msupsub\"><span class=\"vlist-t vlist-t2\"><span class=\"vlist-r\"><span class=\"vlist\"><span class=\"sizing reset-size6 size3 mtight\"><span class=\"mord mtight\">0<\/span><\/span><\/span><span class=\"vlist-s\">\u200b<\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span>).<\/li>\n<li data-start=\"272\" data-end=\"346\"><strong data-start=\"272\" data-end=\"291\">Relative radius<\/strong>: Radius of the star compared to the Sun (<span class=\"katex\"><span class=\"katex-mathml\">R\/R0R\/R_0<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"base\"><span class=\"mord mathnormal\">R<\/span><span class=\"mord\">\/<\/span><span class=\"mord\"><span class=\"mord mathnormal\">R<\/span><span class=\"msupsub\"><span class=\"vlist-t vlist-t2\"><span class=\"vlist-r\"><span class=\"vlist\"><span class=\"sizing reset-size6 size3 mtight\"><span class=\"mord mtight\">0<\/span><\/span><\/span><span class=\"vlist-s\">\u200b<\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span>).<\/li>\n<li data-start=\"349\" data-end=\"441\"><strong data-start=\"349\" data-end=\"371\">Absolute magnitude<\/strong>: Intrinsic brightness of the star as seen from a standard distance.<\/li>\n<\/ul>\n<h4 data-start=\"443\" data-end=\"472\"><strong data-start=\"447\" data-end=\"470\">Spectral Properties<\/strong><\/h4>\n<ul>\n<li data-start=\"475\" data-end=\"558\"><strong data-start=\"475\" data-end=\"484\">Color<\/strong>: General color of the star\u2019s spectrum (e.g., blue, white, yellow, red).<\/li>\n<li data-start=\"561\" data-end=\"637\"><strong data-start=\"561\" data-end=\"579\">Spectral class<\/strong>: Classification by spectral type (O, B, A, F, G, K, M).<\/li>\n<\/ul>\n<h4 data-start=\"639\" data-end=\"664\"><strong data-start=\"643\" data-end=\"662\">Target Variable<\/strong><\/h4>\n<ul data-start=\"665\" data-end=\"778\">\n<li data-start=\"665\" data-end=\"778\">\n<p data-start=\"667\" data-end=\"778\"><strong data-start=\"667\" data-end=\"680\">Star type<\/strong>: Stellar category (red dwarf, brown dwarf, white dwarf, main sequence, supergiant, hypergiant).<\/p>\n<\/li>\n<\/ul>\n<section>Note that neural networks work with numbers.\u00a0In this regard, the categorical variable &#8220;class&#8221; is transformed into a numerical variable as follows:<\/p>\n<ul>\n<li>Red Dwarf: 1 0 0 0 0 0.<\/li>\n<li>Brown Dwarf: 0 1 0 0 0 0.<\/li>\n<li>White Dwarf: 0 0 1 0 0 0.<\/li>\n<li>Main Sequence: 0 0 0 1 0 0.<\/li>\n<li>Supergiants: 0 0 0 0 1 0.<\/li>\n<li>Hypergiants: 0 0 0 0 0 1.<\/li>\n<\/ul>\n<h3>\u00a0Instances<\/h3>\n<article class=\"text-token-text-primary w-full focus:outline-none scroll-mt-[calc(var(--header-height)+min(200px,max(70px,20svh)))]\" dir=\"auto\" tabindex=\"-1\" data-turn-id=\"request-68c14edc-00d8-832b-af79-36da58cd2575-22\" data-testid=\"conversation-turn-68\" data-scroll-anchor=\"true\" data-turn=\"assistant\">\n<div class=\"text-base my-auto mx-auto pb-10 [--thread-content-margin:--spacing(4)] thread-sm:[--thread-content-margin:--spacing(6)] thread-lg:[--thread-content-margin:--spacing(16)] px-(--thread-content-margin)\">\n<div class=\"[--thread-content-max-width:40rem] thread-sm:[--thread-content-max-width:40rem] thread-lg:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group\/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn\" tabindex=\"-1\">\n<div class=\"flex max-w-full flex-col grow\">\n<div class=\"min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal [.text-message+&amp;]:mt-5\" dir=\"auto\" data-message-author-role=\"assistant\" data-message-id=\"8478288b-c6d8-4e2a-80c7-28da8d0a7c13\" data-message-model-slug=\"gpt-5\">\n<div class=\"flex w-full flex-col gap-1 empty:hidden first:pt-[3px]\">\n<div class=\"markdown prose dark:prose-invert w-full break-words light markdown-new-styling\">\n<p data-start=\"0\" data-end=\"94\" data-is-last-node=\"\" data-is-only-node=\"\">The <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set#Instances\">instances<\/a> are randomly split into 60% training (144), 20% validation (48), and 20% testing (48).<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/article>\n<h3 style=\"font-family: Outfit, sans-serif; color: #242424;\">Variables distributions<\/h3>\n<p>We can calculate the <a style=\"font-family: var( --e-global-typography-text-font-family ), Sans-serif; font-weight: var( --e-global-typography-text-font-weight ); background-color: #ffffff;\" href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set#Distributions\">distributions<\/a> of all variables.<\/p>\n<p>The following figure is the pie chart for the star types.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.neuraldesigner.com\/images\/star-type-pie-chart.webp\" alt=\"The pie chart shows a uniform distribution of star types, since all variables have a value of 16.6%.\" width=\"610\" height=\"352\" \/><\/p>\n<p>As we can see, the target is well-distributed.<\/p>\n<\/section>\n<section>\n<h2>3. Neural network<\/h2>\n<p>The second step is to choose a <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-network\">neural network<\/a>.<\/p>\n<p>For classification problems, it is usually composed of:<\/p>\n<ul>\n<li>A scaling layer.<\/li>\n<li>A perceptron layer.<\/li>\n<li>A probabilistic layer.<\/li>\n<\/ul>\n<p>The <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-network#ScalingLayer\">scaling layer<\/a> contains the statistics on the inputs calculated from the data file and the method for scaling the input variables.<\/p>\n<p>The number of <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-network#PerceptronLayers\">perceptron layers<\/a> is 1. This perceptron layer has 22 inputs and 6 neurons.<\/p>\n<p>The <a style=\"font-family: var( --e-global-typography-text-font-family ), Sans-serif; font-weight: var( --e-global-typography-text-font-weight ); background-color: #ffffff;\" href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-network#ProbabilisticLayer\">probabilistic layer<\/a> allows the outputs to be interpreted as probabilities. This means that all the outputs are between 0 and 1, and their sum is 1.<\/p>\n<p>The <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-network#SoftmaxProbabilisticMethod\">softmax probabilistic method<\/a> is used here. The neural network has six outputs since the target variable contains six classes (Red Dwarf, Brown Dwarf, White Dwarf, Main Sequence, Supergiants, and Hypergiants).<\/p>\n<\/section>\n<section>\n<h2>4. Training strategy<\/h2>\n<p>The fourth step is to set the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/training-strategy\">training strategy<\/a>.<\/p>\n<p>It is composed of:<\/p>\n<ul>\n<li>Loss index.<\/li>\n<li>Optimization algorithm.<\/li>\n<\/ul>\n<h3>Loss index<\/h3>\n<p>The <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/training-strategy#LossIndex\">loss index<\/a> chosen for this application is the\u00a0<a style=\"font-family: var( --e-global-typography-text-font-family ), Sans-serif; font-weight: var( --e-global-typography-text-font-weight ); background-color: #ffffff;\" href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/training-strategy#NormalizedSquaredError\">normalized squared error<\/a>\u00a0with <a style=\"font-family: var( --e-global-typography-text-font-family ), Sans-serif; font-weight: var( --e-global-typography-text-font-weight ); background-color: #ffffff;\" href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/training-strategy#L1Regularization\">L1 regularization<\/a>.<\/p>\n<p>The <a style=\"font-family: var( --e-global-typography-text-font-family ), Sans-serif; font-weight: var( --e-global-typography-text-font-weight ); background-color: #ffffff;\" href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/training-strategy#ErrorTerm\">error term<\/a> fits the neural network to the <a style=\"font-family: var( --e-global-typography-text-font-family ), Sans-serif; font-weight: var( --e-global-typography-text-font-weight ); background-color: #ffffff;\" href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/training-strategy#TrainingInstances\">training instances<\/a> of the data set.<\/p>\n<p>The <a style=\"font-family: var( --e-global-typography-text-font-family ), Sans-serif; font-weight: var( --e-global-typography-text-font-weight ); background-color: #ffffff;\" href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/training-strategy#RegularizationTerm\">regularization term<\/a> makes the model more stable and improves generalization.<\/p>\n<h3>Optimization algorithm<\/h3>\n<p>The <a style=\"font-family: var( --e-global-typography-text-font-family ), Sans-serif; font-weight: var( --e-global-typography-text-font-weight ); background-color: #ffffff;\" href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/training-strategy#OptimizationAlgorithm\">optimization algorithm<\/a> searches for the neural network parameters that minimize the loss index.<\/p>\n<p>The <a style=\"font-family: var( --e-global-typography-text-font-family ), Sans-serif; font-weight: var( --e-global-typography-text-font-weight ); background-color: #ffffff;\" href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/training-strategy#QuasiNewtonMethod\">quasi-Newton method<\/a> is chosen here.<\/p>\n<h3>Training<\/h3>\n<p>The following chart shows how training and selection errors decrease with the epochs during training.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.neuraldesigner.com\/images\/star-type-quasi-newton.webp\" \/><\/p>\n<p>The final values are <b>training error = 0.091 NSE<\/b> (blue) and <b>selection error = 0.073 NSE<\/b> (orange).<\/p>\n<\/section>\n<section>\n<h2>5. Model selection<\/h2>\n<p>The objective of <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/model-selection\">model selection<\/a> is to find the network architecture with the best generalization properties.<\/p>\n<p>That is the model that minimizes the error on the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set#SelectionInstances\">selected instances<\/a> of the data set.<\/p>\n<p><a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/model-selection#OrderSelection\">Order selection<\/a> algorithms train several network architectures with a different number of neurons and select the one with the smallest selection error.<\/p>\n<p>The <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/model-selection#IncrementalOrder\">incremental order<\/a> method starts with a few neurons and increases the complexity at each iteration.<\/p>\n<\/section>\n<section>\n<h2>6. Testing analysis<\/h2>\n<p>The purpose of the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/testing-analysis\">testing analysis<\/a> is to validate the generalization performance of the model.<\/p>\n<p>Here, we compare the neural network outputs to the corresponding targets in the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set#TestingInstances\">testing instances<\/a> of the data set.<\/p>\n<h3>Confusion matrix<\/h3>\n<p>In the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/testing-analysis#ConfusionMatrix\">confusion matrix<\/a>, the rows represent the targets (or real values), and the columns represent the corresponding outputs (or predicted values).<\/p>\n<p>The diagonal cells show the correctly classified cases, and the off-diagonal cells show the misclassified cases.<\/p>\n<table>\n<tbody>\n<tr>\n<th><\/th>\n<th>Predicted<br \/>\nRed Dwarf<\/th>\n<th>Predicted<br \/>\nBrown Dwarf<\/th>\n<th>Predicted<br \/>\nWhite Dwarf<\/th>\n<th>Predicted<br \/>\nMain Sequence<\/th>\n<th>Predicted<br \/>\nSupergiants<\/th>\n<th>Predicted<br \/>\nHypergiants<\/th>\n<\/tr>\n<tr>\n<th>Real Red Dwarf<\/th>\n<td style=\"text-align: right;\">7(14.6%)<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<\/tr>\n<tr>\n<th>Real Brown Dwarf<\/th>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">10 (20.8%)<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<\/tr>\n<tr>\n<th>Real White Dwarf<\/th>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">7 (14.6%)<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<\/tr>\n<tr>\n<th>Real Main Sequence<\/th>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">10 (20.8%)<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<\/tr>\n<tr>\n<th>Real Supergiants<\/th>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">6 (12.5%)<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<\/tr>\n<tr>\n<th>Real Hypergiants<\/th>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">0<\/td>\n<td style=\"text-align: right;\">8 (16.7%)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>As we can see, the model correctly predicts 48 instances (100%). Therefore, there are no misclassified cases.<\/p>\n<p>This shows that our predictive model has excellent accuracy.<\/p>\n<\/section>\n<section>\n<h2>7. Model deployment<\/h2>\n<p>The neural network is now ready to predict outputs for inputs it has never seen.\u00a0This process is called <a style=\"font-family: var( --e-global-typography-text-font-family ), Sans-serif; font-size: var( --e-global-typography-text-font-size ); font-weight: var( --e-global-typography-text-font-weight ); background-color: #ffffff;\" href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/model-deployment\">model deployment<\/a>.<\/p>\n<p>To classify any given star, we calculate the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/model-deployment#NeuralNetworkOutputs\">neural network outputs<\/a> from the different variables: temperature, luminosity, relative radius, absolute magnitude, color, and spectral class.<\/p>\n<p>For example, if we introduce the following values for each input:<\/p>\n<ul>\n<li>Temperature: 10497.5 K.<\/li>\n<li>L (L\/L_0): 107188.<\/li>\n<li>R (R\/R_0): 237.2.<\/li>\n<li>A_M: 4.4.<\/li>\n<li>Color: Red.<\/li>\n<li>Spectral_Class: M.<\/li>\n<\/ul>\n<p>The model predicts that the star belongs to each category with these probabilities.<\/p>\n<ul>\n<li><b>Probability of Red Dwarf: 1.3 %.<\/b><\/li>\n<li><b>Probability of Brown Dwarf: 81.1 %.<\/b><\/li>\n<li><b>Probability of White Dwarf: 0.2 %.<\/b><\/li>\n<li><b>Probability of Main Sequence: 7.3 %.<\/b><\/li>\n<li><b>Probability of Supergiants: 8.2 %.<\/b><\/li>\n<li><b>Probability of Hypergiants: 1.9 %.<\/b><\/li>\n<\/ul>\n<p>The neural network would classify the star as a Brown Dwarf in this case, since it has the highest probability.<\/p>\n<h2>Conclusions<\/h2>\n<p>In conclusion, we have built a predictive model from which to determine the category of a star.<\/p>\n<\/section>\n<section>\n<h2>References<\/h2>\n<ul>\n<li>Kaggle. <a href=\"https:\/\/www.kaggle.com\/deepu1109\/star-dataset\">Star dataset to predict star types<\/a>.<\/li>\n<\/ul>\n<\/section>\n<section>\n<h2>Related posts<\/h2>\n<\/section>\n","protected":false},"author":13,"featured_media":1490,"template":"","categories":[29],"tags":[],"class_list":["post-3521","learning","type-learning","status-publish","has-post-thumbnail","hentry","category-examples"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Star types classification using machine learning - Neural Designer<\/title>\n<meta name=\"description\" content=\"Build a machine learning model for star classification based on luminosity, radius, color, and other stellar characteristics.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.neuraldesigner.com\/learning\/examples\/star-type\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Star types machine learning example\" \/>\n<meta property=\"og:description\" content=\"The main goal here is to design a model that makes proper classifications for the different star types.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.neuraldesigner.com\/learning\/examples\/star-type\/\" \/>\n<meta property=\"og:site_name\" content=\"Neural Designer\" \/>\n<meta property=\"article:modified_time\" content=\"2025-10-06T08:36:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/star-types.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Star types machine learning example\" \/>\n<meta name=\"twitter:description\" content=\"The main goal here is to design a model that makes proper classifications for the different star types.\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/star-types.webp\" \/>\n<meta name=\"twitter:site\" content=\"@NeuralDesigner\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.neuraldesigner.com\/learning\/examples\/star-type\/\",\"url\":\"https:\/\/www.neuraldesigner.com\/learning\/examples\/star-type\/\",\"name\":\"Star types classification using machine learning - Neural Designer\",\"isPartOf\":{\"@id\":\"https:\/\/www.neuraldesigner.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.neuraldesigner.com\/learning\/examples\/star-type\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.neuraldesigner.com\/learning\/examples\/star-type\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/star-types.webp\",\"datePublished\":\"2023-08-31T11:12:58+00:00\",\"dateModified\":\"2025-10-06T08:36:45+00:00\",\"description\":\"Build a machine learning model for star classification based on luminosity, radius, color, and other stellar characteristics.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.neuraldesigner.com\/learning\/examples\/star-type\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.neuraldesigner.com\/learning\/examples\/star-type\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.neuraldesigner.com\/learning\/examples\/star-type\/#primaryimage\",\"url\":\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/star-types.webp\",\"contentUrl\":\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/star-types.webp\",\"width\":1200,\"height\":628},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.neuraldesigner.com\/learning\/examples\/star-type\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.neuraldesigner.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Learning\",\"item\":\"https:\/\/www.neuraldesigner.com\/learning\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Star types classification using machine learning\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.neuraldesigner.com\/#website\",\"url\":\"https:\/\/www.neuraldesigner.com\/\",\"name\":\"Neural Designer\",\"description\":\"Explanable AI Platform\",\"publisher\":{\"@id\":\"https:\/\/www.neuraldesigner.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.neuraldesigner.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.neuraldesigner.com\/#organization\",\"name\":\"Neural Designer\",\"url\":\"https:\/\/www.neuraldesigner.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.neuraldesigner.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/05\/logo-neural-1.png\",\"contentUrl\":\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/05\/logo-neural-1.png\",\"width\":1024,\"height\":223,\"caption\":\"Neural Designer\"},\"image\":{\"@id\":\"https:\/\/www.neuraldesigner.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/NeuralDesigner\",\"https:\/\/es.linkedin.com\/showcase\/neuraldesigner\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Star types classification using machine learning - Neural Designer","description":"Build a machine learning model for star classification based on luminosity, radius, color, and other stellar characteristics.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.neuraldesigner.com\/learning\/examples\/star-type\/","og_locale":"en_US","og_type":"article","og_title":"Star types machine learning example","og_description":"The main goal here is to design a model that makes proper classifications for the different star types.","og_url":"https:\/\/www.neuraldesigner.com\/learning\/examples\/star-type\/","og_site_name":"Neural Designer","article_modified_time":"2025-10-06T08:36:45+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/star-types.webp","type":"image\/webp"}],"twitter_card":"summary_large_image","twitter_title":"Star types machine learning example","twitter_description":"The main goal here is to design a model that makes proper classifications for the different star types.","twitter_image":"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/star-types.webp","twitter_site":"@NeuralDesigner","twitter_misc":{"Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.neuraldesigner.com\/learning\/examples\/star-type\/","url":"https:\/\/www.neuraldesigner.com\/learning\/examples\/star-type\/","name":"Star types classification using machine learning - Neural Designer","isPartOf":{"@id":"https:\/\/www.neuraldesigner.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.neuraldesigner.com\/learning\/examples\/star-type\/#primaryimage"},"image":{"@id":"https:\/\/www.neuraldesigner.com\/learning\/examples\/star-type\/#primaryimage"},"thumbnailUrl":"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/star-types.webp","datePublished":"2023-08-31T11:12:58+00:00","dateModified":"2025-10-06T08:36:45+00:00","description":"Build a machine learning model for star classification based on luminosity, radius, color, and other stellar characteristics.","breadcrumb":{"@id":"https:\/\/www.neuraldesigner.com\/learning\/examples\/star-type\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.neuraldesigner.com\/learning\/examples\/star-type\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.neuraldesigner.com\/learning\/examples\/star-type\/#primaryimage","url":"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/star-types.webp","contentUrl":"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/star-types.webp","width":1200,"height":628},{"@type":"BreadcrumbList","@id":"https:\/\/www.neuraldesigner.com\/learning\/examples\/star-type\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.neuraldesigner.com\/"},{"@type":"ListItem","position":2,"name":"Learning","item":"https:\/\/www.neuraldesigner.com\/learning\/"},{"@type":"ListItem","position":3,"name":"Star types classification using machine learning"}]},{"@type":"WebSite","@id":"https:\/\/www.neuraldesigner.com\/#website","url":"https:\/\/www.neuraldesigner.com\/","name":"Neural Designer","description":"Explanable AI Platform","publisher":{"@id":"https:\/\/www.neuraldesigner.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.neuraldesigner.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.neuraldesigner.com\/#organization","name":"Neural Designer","url":"https:\/\/www.neuraldesigner.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.neuraldesigner.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/05\/logo-neural-1.png","contentUrl":"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/05\/logo-neural-1.png","width":1024,"height":223,"caption":"Neural Designer"},"image":{"@id":"https:\/\/www.neuraldesigner.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/NeuralDesigner","https:\/\/es.linkedin.com\/showcase\/neuraldesigner\/"]}]}},"_links":{"self":[{"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/learning\/3521","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/learning"}],"about":[{"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/types\/learning"}],"author":[{"embeddable":true,"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/users\/13"}],"version-history":[{"count":0,"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/learning\/3521\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/media\/1490"}],"wp:attachment":[{"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/media?parent=3521"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/categories?post=3521"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/tags?post=3521"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}