{"id":3471,"date":"2023-08-31T11:12:59","date_gmt":"2023-08-31T11:12:59","guid":{"rendered":"https:\/\/neuraldesigner.com\/learning\/car-co2-emissions\/"},"modified":"2025-09-15T16:37:07","modified_gmt":"2025-09-15T14:37:07","slug":"car-co2-emissions","status":"publish","type":"learning","link":"https:\/\/www.neuraldesigner.com\/learning\/examples\/car-co2-emissions\/","title":{"rendered":"Estimate car emissions using machine learning"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"3471\" class=\"elementor elementor-3471\" data-elementor-post-type=\"learning\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ee783e3 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ee783e3\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-72df6ae0\" data-id=\"72df6ae0\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5bb693c7 elementor-widget elementor-widget-text-editor\" data-id=\"5bb693c7\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<section>\n<p>In this example, we will build machine learning to estimate car emissions, a topical issue that should raise awareness in the reader.<\/p>\n<\/section>\n<section>\n<p>Nowadays, it is essential to reduce CO2 emissions in the atmosphere to fight against climate change. Indeed, many laws forbid cars whose CO2 emissions are above a specific limit; they must be below it to be approved to drive through the roads. We will predict CO2 emissions with certain independent variables.<\/p>\n<\/section>\n<section>\n<p>Any car company could adjust this value by modifying parameters like the engine&#8217;s size and many other engine features.For this study, we have gathered an extensive data set of different types of cars that could exist anywhere in the world.<\/p>\n<\/section>\n<section>\n<p>This example is solved with&nbsp;<a href=\"https:\/\/www.neuraldesigner.com\/\">Neural Designer<\/a>. To follow it step by step, you can use the&nbsp;<a href=\"https:\/\/www.neuraldesigner.com\/free-trial\">free trial<\/a>.<\/p>\n<\/section>\n<h3>Contents<\/h3>\n<ol>\n<li style=\"list-style-type: none;\">\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<\/li>\n<\/ol>\n<p><!--<\/p>\n<li><a href=\"#TutorialVideo\">Tutorial Video<\/a>.<\/li>\n<p>--><\/p>\n<p>1. Application type<\/p>\n<section>This is an <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-networks-applications#Approximation\">approximation<\/a> project since the variable to be predicted is continuous (CO2 emissions). The fundamental goal here is to model the CO2 emissions as a function of several car engine features.<\/section>\n<section>\n<h2>2. Data set<\/h2>\n<p>The first step is to prepare the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set\">data set<\/a>, which is the source of information for the approximation problem. It is composed of:<\/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 file <a href=\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/10\/co2_emissions.csv\">co2_emissions.csv<\/a> contains the data for this example. Here, the number of variables (columns) is 12, and the number of instances (rows) is 7385.<\/p>\n<h3>Variables<\/h3>\n<p>In that way, this problem has the 12 following <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set#Variables\">variables<\/a>:<\/p>\n<ul>\n<li><b>make,<\/b>&nbsp;car brand under study.<\/li>\n<li><b>model<\/b>, the specific model of the car.<\/li>\n<li><b>vehicle_class<\/b>, the car body type of the car.<\/li>\n<li><b>engine_size<\/b>, size of the car engine, in Litres.<\/li>\n<li><b>cylinders<\/b>, number of cylinders.<\/li>\n<li><b>transmission<\/b>, &#8220;A&#8221; for &#8216;Automatic&#8217;, &#8220;AM&#8221; for &#8216;Automated manual&#8217;, &#8220;AS&#8221; for &#8216;Automatic with select shift&#8217;, &#8220;AV&#8221; for &#8216;Continuously variable&#8217;, and &#8220;M&#8221; for &#8216;Manual&#8217;.<\/li>\n<li><b>fuel_type<\/b>, &#8220;X&#8221; for &#8216;Regular gasoline&#8217;, &#8220;Z&#8221; for &#8216;Premium gasoline&#8217;, &#8220;D&#8221; for &#8216;Diesel&#8217;, &#8220;E&#8221; for &#8216;Ethanol (E85)&#8217;, and &#8220;N&#8221; for &#8216;Natural gas&#8217;.<\/li>\n<li><b>fuel_consumption_city<\/b>, City fuel consumption ratings, in liters per 100 kilometers.<\/li>\n<li><b>fuel_consumption_hwy<\/b>, Highway fuel consumption ratings, in liters per 100 kilometers.<\/li>\n<li><b>fuel_consumption_comb(l\/100km)<\/b>, the combined fuel consumption rating (55% city, 45% highway), in L\/100 km.<\/li>\n<li><b>fuel_consumption_comb(mpg)<\/b>, the combined fuel consumption rating (55% city, 45% highway), in miles per gallon (mpg).<\/li>\n<li><b>co2_emissions<\/b>, the tailpipe carbon dioxide emissions for combined city and highway driving, in grams per kilometer.<\/li>\n<\/ul>\n<p>All the variables that appear in the study are inputs, except for &#8216;make&#8217; and &#8216;model&#8217;, which have to stay &#8220;unused&#8221;, and &#8216;co2_emissions&#8217;, which is the output that we want to extract from this machine learning study.<\/p>\n<p>Also, we realized that the instance &#8216;vehicle_class&#8217; could be problematic to analyze because it contains many categorical variables inside. Still, in a further study, we can see that the final selection error is higher without this variable than including it.<br>Therefore, as one of the main goals of a Neural Network study is to minimize the Selection Error as much as possible, we can add &#8216;vehicle_class&#8217; as an input.<\/p>\n<p>As we can see, certain variables should stay &#8220;unused&#8221;, too. That is the case of &#8216;fuel_consumption&#8217; (in city, highway, or combined). These instances could be targets of the study (CO2 and fuel consumption depend on each other), but it is more visual to see the CO2 emissions as the final output.<\/p>\n<h3>Instances<\/h3>\n<p>Instances are divided randomly into <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set#TrainingInstances\">training<\/a>,&nbsp;<a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set#SelectionInstances\">selection<\/a>, and&nbsp;<a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set#TestingInstances\">testing<\/a> subsets containing 60%, 20%, and 20% of the instances. More specifically, 4431 samples are used here for training, 1477 for validation, and 1477 for testing.<\/p>\n<h3>Variables distribution<\/h3>\n<p>Once all the data set information has been set, we will perform some analytics to check the quality of the data.<\/p>\n<p>For instance, we can calculate the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set#Distributions\">data distribution<\/a>. The next figure depicts the histogram for the target variable.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.neuraldesigner.com\/images\/co2-emissions-distribution.webp\"><\/p>\n<p>As we can see in the diagram, the CO2 emissions have a normal distribution. In fact, there are a lot of cars that have median CO2 emissions that stay below the limit we were talking about before. But, on the other hand, exactly 0.108 percent of the total cars in this study have very high CO2 emissions that nowadays would not be able to drive.<\/p>\n<h3>Inputs-targets correlations<\/h3>\n<p>The next figure depicts <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set#InputsTargetsCorrelations\">inputs-targets correlations<\/a>. This might help us see the different inputs&#8217; influence on the final car emissions.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.neuraldesigner.com\/images\/co2-emissions-input-target-correlation.webp\"><\/p>\n<p>The above chart shows that a few instances depend on CO2 emissions. As we can see, &#8220;engine_size&#8221; and &#8220;cylinders&#8221; depend positively on CO2 emissions; the bigger the engine size, the more CO2 the car emits, for example. On the other hand, some instances have a negative dependency on the emissions.<\/p>\n<h3>Scatter charts<\/h3>\n<p>We can also plot a <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set#ScatterCharts\">scatter chart<\/a> with the CO2 emissions versus the engine size.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.neuraldesigner.com\/images\/co2-emissions-vs-scatter-chart.webp\"><\/p>\n<p>In general, the larger the engine size, the more emissions. However, CO2 emissions depend on all the inputs at the same time.<\/p>\n<\/section>\n<section>\n<h2>3. Neural network<\/h2>\n<p>The <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-network\">neural network<\/a> will output the CO2 emissions as a function of consumption, transmission, and other car engine features.<\/p>\n<p>In this approximation example, the neural network comprises:<\/p>\n<ul>\n<li>Scaling layer.<\/li>\n<li>Perceptron layers.<\/li>\n<li>Unscaling layer.<\/li>\n<\/ul>\n<h3>Scaling layer<\/h3>\n<p>The <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-network#ScalingLayer\">scaling layer<\/a> transforms the original inputs to normalized values. Here, the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-network#MeanStandardDeviationScalingMethod\">mean and standard deviation scaling method<\/a> is set so that the input values have a mean of 0 and a standard deviation of 1.<\/p>\n<h3>Perceptron layers<\/h3>\n<p>Here, two perceptron layers are added to the neural network. Subsequently, this number of layers is deemed sufficient for most applications. Specifically, the first layer comprises 28 inputs and 3 neurons, while the second layer consists of 3 inputs and 1 neuron.<\/p>\n<h3>Unscaling layer<\/h3>\n<p>The <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-network#UnscalingLayer\">unscaling layer<\/a> transforms the normalized values from the neural network into the original outputs. Here, the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-network#MeanStandardDeviationUnscalingMethod\">mean and standard deviation unscaling method<\/a> will also be used.<\/p>\n<h3>Network architecture<\/h3>\n<p>The next figure shows the resulting network architecture.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.neuraldesigner.com\/images\/co2-neuron-layer.webp\"><\/p>\n<\/section>\n<section>\n<h2>4. Training strategy<\/h2>\n<p>The next step is selecting an appropriate <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/training-strategy\">training strategy<\/a> to define&nbsp;what the neural network will learn. A general training strategy is composed of two concepts:<\/p>\n<ul>\n<li>A loss index.<\/li>\n<li>An 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 is the&nbsp;<a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/training-strategy#NormalizedSquaredError\">normalized squared error<\/a> with&nbsp;<a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/training-strategy#L2Regularization\">L2 regularization<\/a>. This loss index is the default in approximation applications.<\/p>\n<h3>Optimization algorithm<\/h3>\n<p>The <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/training-strategy#OptimizationAlgorithm\">optimization algorithm<\/a> chosen is the&nbsp;<a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/training-strategy#QuasiNewtonMethod\">quasi-Newton method<\/a>. This optimization algorithm is the default for medium-sized applications like this one.<\/p>\n<h3>Training process<\/h3>\n<p>Once we have set the strategy, we can train the neural network. The following chart shows how the training (blue) and selection (orange) errors decrease with the training epoch during the training process.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.neuraldesigner.com\/images\/co2-emissions-training-strategy.webp\"><\/p>\n<p>The most important training result is the final selection error. Indeed, this is a measure of the generalization capabilities of the neural network. Here, the final selection error is <b>selection error = 0.145 NSE<\/b>.<\/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. We want to improve the final selection error obtained before (0.145 NSE).<\/p>\n<p>The best selection error is achieved using a model whose complexity is the most appropriate to produce an adequate data fit. Order<a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/model-selection#OrderSelection\">&nbsp;selection<\/a> algorithms are responsible for finding the optimal number of perceptrons in the neural network.<\/p>\n<p>The final selection error takes a minimum value at some point. Here, the optimal number of neurons is 10, corresponding to a selection error of <b>0.131<\/b>.<\/p>\n<\/section>\n<section>\n<h2>6. Testing analysis<\/h2>\n<p>The objective of the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/testing-analysis\">testing analysis<\/a> is to validate the generalization performance of the trained neural network. The testing compares the values provided by this technique to the observed values.<\/p>\n<p>A standard testing technique in approximation problems involves performing a linear regression analysis between the predicted and the real values using an independent testing set. Consequently, the next figure illustrates a graphical output provided by this testing analysis.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.neuraldesigner.com\/images\/co2-emissions-linear-regression-chart.webp\"><\/p>\n<p>From the above chart, we can see that the neural network is predicting well the entire range of the CO2 emissions data. The correlation value is <b>R2 = 0.924<\/b>, which is close to 1.<\/p>\n<\/section>\n<section>\n<h2>7. Model deployment<\/h2>\n<p>The model is now ready to estimate the CO2 emissions of a certain car with satisfactory quality over the same data range.<\/p>\n<h3>Directional output<\/h3>\n<p>We can plot a <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/model-deployment#DirectionalOutputs\">directional output<\/a> of the neural network to see how the emissions vary with a given input for all other fixed inputs. The next plot shows the CO2 emissions as a function of the number of cylinders through the following point:<\/p>\n<ul>\n<li><b>vehicle_class<\/b>: COMPACT.<\/li>\n<li><b>engine_size<\/b>: 3.16 L.<\/li>\n<li><b>cylinders<\/b>: 5.<\/li>\n<li><b>transmission<\/b>: AS.<\/li>\n<li><b>fuel_type<\/b>: Z.<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/www.neuraldesigner.com\/images\/co2-emissions-cylinders-directional-output.webp\"><\/p>\n<h3>Mathematical expression<\/h3>\n<p>The <a href=\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/10\/co2-emissions.zip\">co2-emissions.py<\/a> contains the Python code for the CO2 emissions.<\/p>\n<\/section>\n<p><!--<\/p>\n<section id=\"TutorialVideo\">\n<h2>8. Tutorial video<\/h2>\n<p>You can watch the step-by-step tutorial video below to help you complete this Machine Learning example<br \/>for free using the easy-to-use machine learning software <a href=\"https:\/\/www.neuraldesigner.com\/free-trial\">Neural Designer<\/a>.<\/p>\n<p><iframe width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/GwZ0Ko70eHA\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n<\/section>\n<p>        --><\/p>\n<section>\n<h2>References<\/h2>\n<ul>\n<li>Kaggle Machine Learning Repository. <a href=\"https:\/\/www.kaggle.com\/debajyotipodder\/co2-emission-by-vehicles\">CO2 Emissions by Vehicles Data Set<\/a>.<\/li>\n<\/ul>\n<\/section>\n<section>\n<h2>Related posts<\/h2>\n<\/section>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"author":11,"featured_media":2475,"template":"","categories":[29],"tags":[41,46],"class_list":["post-3471","learning","type-learning","status-publish","has-post-thumbnail","hentry","category-examples","tag-automotive","tag-environment"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Estimate car emissions using machine learning<\/title>\n<meta name=\"description\" content=\"Build a machine learning model to predict CO2 emissions from car features such as engine size, transmission type, etc.\" \/>\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\/car-co2-emissions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Car CO2 emissions machine learning example\" \/>\n<meta property=\"og:description\" content=\"Nowadays, it is very important to reduce CO2 emissions in the atmosphere in order to fight against climate change. Use Neural Designer to estimate CO2 emissions from cars.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.neuraldesigner.com\/learning\/examples\/car-co2-emissions\/\" \/>\n<meta property=\"og:site_name\" content=\"Neural Designer\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-15T14:37:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/car-road-co2-emissions.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=\"Car CO2 emissions machine learning example\" \/>\n<meta name=\"twitter:description\" content=\"Nowadays, it is very important to reduce CO2 emissions in the atmosphere in order to fight against climate change. Use Neural Designer to estimate CO2 emissions from cars.\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/car-road-co2-emissions.webp\" \/>\n<meta name=\"twitter:site\" content=\"@NeuralDesigner\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"8 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\/car-co2-emissions\/\",\"url\":\"https:\/\/www.neuraldesigner.com\/learning\/examples\/car-co2-emissions\/\",\"name\":\"Estimate car emissions using machine learning\",\"isPartOf\":{\"@id\":\"https:\/\/www.neuraldesigner.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.neuraldesigner.com\/learning\/examples\/car-co2-emissions\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.neuraldesigner.com\/learning\/examples\/car-co2-emissions\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/car-road-co2-emissions.webp\",\"datePublished\":\"2023-08-31T11:12:59+00:00\",\"dateModified\":\"2025-09-15T14:37:07+00:00\",\"description\":\"Build a machine learning model to predict CO2 emissions from car features such as engine size, transmission type, etc.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.neuraldesigner.com\/learning\/examples\/car-co2-emissions\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.neuraldesigner.com\/learning\/examples\/car-co2-emissions\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.neuraldesigner.com\/learning\/examples\/car-co2-emissions\/#primaryimage\",\"url\":\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/car-road-co2-emissions.webp\",\"contentUrl\":\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/car-road-co2-emissions.webp\",\"width\":1200,\"height\":628},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.neuraldesigner.com\/learning\/examples\/car-co2-emissions\/#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\":\"Estimate car emissions 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":"Estimate car emissions using machine learning","description":"Build a machine learning model to predict CO2 emissions from car features such as engine size, transmission type, etc.","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\/car-co2-emissions\/","og_locale":"en_US","og_type":"article","og_title":"Car CO2 emissions machine learning example","og_description":"Nowadays, it is very important to reduce CO2 emissions in the atmosphere in order to fight against climate change. Use Neural Designer to estimate CO2 emissions from cars.","og_url":"https:\/\/www.neuraldesigner.com\/learning\/examples\/car-co2-emissions\/","og_site_name":"Neural Designer","article_modified_time":"2025-09-15T14:37:07+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/car-road-co2-emissions.webp","type":"image\/webp"}],"twitter_card":"summary_large_image","twitter_title":"Car CO2 emissions machine learning example","twitter_description":"Nowadays, it is very important to reduce CO2 emissions in the atmosphere in order to fight against climate change. Use Neural Designer to estimate CO2 emissions from cars.","twitter_image":"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/car-road-co2-emissions.webp","twitter_site":"@NeuralDesigner","twitter_misc":{"Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.neuraldesigner.com\/learning\/examples\/car-co2-emissions\/","url":"https:\/\/www.neuraldesigner.com\/learning\/examples\/car-co2-emissions\/","name":"Estimate car emissions using machine learning","isPartOf":{"@id":"https:\/\/www.neuraldesigner.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.neuraldesigner.com\/learning\/examples\/car-co2-emissions\/#primaryimage"},"image":{"@id":"https:\/\/www.neuraldesigner.com\/learning\/examples\/car-co2-emissions\/#primaryimage"},"thumbnailUrl":"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/car-road-co2-emissions.webp","datePublished":"2023-08-31T11:12:59+00:00","dateModified":"2025-09-15T14:37:07+00:00","description":"Build a machine learning model to predict CO2 emissions from car features such as engine size, transmission type, etc.","breadcrumb":{"@id":"https:\/\/www.neuraldesigner.com\/learning\/examples\/car-co2-emissions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.neuraldesigner.com\/learning\/examples\/car-co2-emissions\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.neuraldesigner.com\/learning\/examples\/car-co2-emissions\/#primaryimage","url":"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/car-road-co2-emissions.webp","contentUrl":"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/car-road-co2-emissions.webp","width":1200,"height":628},{"@type":"BreadcrumbList","@id":"https:\/\/www.neuraldesigner.com\/learning\/examples\/car-co2-emissions\/#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":"Estimate car emissions 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\/3471","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\/11"}],"version-history":[{"count":1,"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/learning\/3471\/revisions"}],"predecessor-version":[{"id":21947,"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/learning\/3471\/revisions\/21947"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/media\/2475"}],"wp:attachment":[{"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/media?parent=3471"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/categories?post=3471"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/tags?post=3471"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}