선정목록으로
Fuel Consumption Prediction Of Cars Using Machine Learning: A Comparative Study
패션 · (24) 패션(코오롱FnC)
기본 정보
- 저자
- DOI
- 10.5281/zenodo.6785537
- 저널
- Zenodo (CERN European Organization for Nuclear Research)
- 발행년도
- 2022
- 발행기관
- European Organization for Nuclear Research
- 피인용수
- 0
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.5281/zenodo.6785537
- 토픽
- Electric and Hybrid Vehicle Technologies
- OpenAlex ID
- W6912877340
평가 내용
- 관련도
- 사업분야
- 패션 · (24) 패션(코오롱FnC)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '패션 > 패션(코오롱FnC)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
Abstract— Improving vehicle fuel economy necessitates the capacity to model and predict fuel efficiency. In this paper, the three Machine Learning models are used to compare fuel efficiency of cars for a large dataset. Linear regression, decision tree and random forest models have been used for the purpose and performance of the cars compared. The model could also help road managers better understand how much road vehicles utilize fuel and how road geometry affects their performance. The study also reveals that all three methods allow for the development of high-performing models, with the decision tree model marginally outperforming linear regression and random forest in terms of R2 and lower MSE value.
본문 11,285자
본문 펼치기
_Proceedings of the National Conference on Emerging Computer Applications (NCECA)-2022_
_Vol.4, Issue._
# Fuel Consumption Prediction Of Cars Using Machine Learning: A Comparitive Study
348
Swathy Krishna P R
_Department of Computer Applications_
_Amal Jyothi College Of Engineering_
Kanjirappally, India
swathykrishnapr2022b@mca.ajce.in
_Abstract_ — Improving vehicle fuel economy necessitates the
capacity to model and predict fuel efficiency. In this paper, the
three Machine Learning models are used to compare fuel
efficiency of cars for a large dataset. Linear regression, decision
tree and random forest models have been used for the purpose
and performance of the cars compared. The model could also
help road managers better understand how much road vehicles
utilize fuel and how road geometry affects their performance.
The study also reveals that all three methods allow for the
development of high-performing models, with the decision tree
model marginally outperforming linear regression and random
forest in terms of R2 and lower MSE value.
_Keywords—Machine Learning, Linear Regression, Decision_
_Tree, Random Forest._
I. INTRODUCTION
Predicting the fuel efficiency of cars is an important and
interesting problem. This paper's major goal is to predict a
car's performance based on fuel consumption in order to
optimise a specific vehicle behaviour. This has the potential
to dramatically improve the vehicle's efficiency. The car's
performance is evaluated based on the engine type, number
of cylinders, fuel type, and horsepower, among other factors.
These are the features on which the efficiency of the car can
be predicted. It is a continuous process of gathering, studying,
analysing, and recording information about car’s efficiency
based on the characteristics listed above. Mileage,
dependability, flexibility, and affordability are all
performance objectives that can be paired together to help the
prediction engine and engine management system. This
method is crucial for understanding the vehicle's
performance.
II. LITERATURE REVIEW
Hlasny et al. [1] looked into how driver behaviour, road
conditions, weather, and traffic affect heavy-duty vehicle fuel
usage. They discovered that altering driving behaviour before
and during driving based on these parameters can minimise
fuel usage. Following a review of the literature, it was
discovered that few research have been published that
describe the factors that influence truck fuel usage. As a
result, other models' important research was also discussed in
this section.
Rini Kurian
_Asst.Professor in Computer Applications_
_Amal Jyothi College Of Engineering_
Kanjirappally, India
rinikurian@amaljyothi.ac.in
Li et al. [2] investigated the association between fuel
consumption efficiency and driver characteristics using 10
month long-term data gathered by Toyota private cars. They
discovered that some factors have a large impact on car fuel
usage, while others have a minimal impact.
Chen et al. [3] built a fuel consumption forecast model
that took into account previously unconsidered elements
including the number of lanes and free-flow speed. The
study's findings revealed that these factors takes an important
role on motor vehicle fuel usage.
Ericsson et al.[4] developed independent measurements
to define the characteristics of driving patterns and to
determine which features have the greatest impact on
emissions and fuel consumption. For each of the 19 230
driving patterns gathered in traffic, 62 driving pattern
parameters were determined.
J. Wang and Rakha [5] developed a heavy-duty truck fuel
prediction model based on a certain fuel consuming mmodel
and calibrated it using field test data. The findings revealed
that this model's prediction accuracy was superior to that of
CMEM.
III. METHODOLOGY
Machine learning is an evolving technology that helps
computers to automatically learn from past data. A machine
learning system learns from previous data, builds prediction
models, and predicts the outcome when new data is received.
The amount of data aids in the construction of a better model
that more precisely predicts the output; thus, the accuracy of
anticipated output is influenced by the amount of data.
In this system, we area using three machine learning
algorithms.
_1._ _a. Decision Tree_
The Decision Tree is a supervised learning technique that
may be used in both classification and regression problems,
however it is most commonly employed to address
classification issues. Internal nodes represent dataset
attributes, branches represent decision rules, and each leaf
node offers the conclusion in this tree-structured classifier.
To make judgements or execute tests, the features of the
given dataset are utilised.
_DOI:_
_ISBN: 978-93-5607-317-3@2022 MCA, Amal Jyothi College of Engineering Kanjirappally, Kottayam_
_Proceedings of the National Conference on Emerging Computer Applications (NCECA)-2022_
_Vol.4, Issue._
_2._ _b. Linear Regression_
Linear regression is one of the most basic and extensively
used Machine Learning algorithm. It's a statistical technique
for performing predictive analysis. A linear relationship
between a dependent (y) variable and one or more
independent (y) variables is shown by the linear regression
technique. It indicates a linear relationship and shows how
the dependent variable's value changes as the independent
variable's value changes.
_3._ _c. Random Forest_
A supervised learning method is used by Random Forest,
a well-known machine learning algorithm. Random Forest is
a classifier that averages the results of numerous decision
trees applied to different subsets of a dataset to increase the
projected accuracy of the dataset. The random forest, rather
than depending on a single decision tree, uses the projections
of each tree to anticipate the final output based on the
majority of votes.
IV. DATASET
The prediction of fuel efficiency is based on a set of data.
The dataset includes 398 variables in all. Among the vehicle
dataset in the study which contain 7 features. The features of
the cars given in the dataset is cylinders, displacement,
horsepower, weight, acceleration, model year, origin. The
dataset is divided into two training and testing data sets. The
amount of data aims the construction of a better model that
more precisely predicts the output; thus, the accuracy of
anticipated output is influenced by the amount of data.
Fig.1. Dataset for fuel efficiency prediction
V. IMPLEMENTAION
In this prediction system, we use the platform- jupyter
that makes it easy to set up, access.
Initially, open jupyter notebook by using jupyter
notebook command in cmd. Then create a new python file.
After that, perform the following steps.
Step 1: Import Necessary Packages.
Fig.2.Package importing
349
Step 2: Add data in the Dataframe
Fig.3. Imported dataset
Step 3: Then find the pairwise correlation of all columns
in the dataframe and visualize the data
Fig.4.Correlation of data
Fig.5. Data Visualization
Step 5: After that splitting the dataset into training and
testing data.
Fig.6. Splitting data
_DOI: 10.5281/zenodo.6785538_
_ISBN:_ _978-93-5607-317-3@2022 MCA, Amal Jyothi College of Engineering Kanjirappally, Kottayam_
_Proceedings of the National Conference on Emerging Computer Applications (NCECA)-2022_
_Vol.4, Issue._
Step 6: Then 3 machine learning models have been
developed to compare and predict fuel consumption of a
vehicle. A statistical measure of how near the data are to the
fitted regression line is R-squared.
R-squared = Explained variation / Total variation
350
The average of the squares of errors, which means the
difference between the actual value (y) and the estimated
value () is measured by the Mean Squared Error(MSE).
Based on higher R-squared and smallest MSE, we will
decide which algorithm is best to predict fuel efficiency from
the given dataset.
_A._ _Decision Tree Regressor_
Fig.7. Importing Packages
Fig.8. R-squared and MSE
_B._ _Random Forest Regressor_
Fig.9.Importing Packages
Fig.10. R-squared and MSE
_C._ _Linear Regression_
Fig.11. Importing Packages
Fig.12. R-squared and MSE
VI. RESULT
Three machine learning techniques were studied, three
models were created, and their results were compared. These
are Decision Tree Regressor, a Random Forest (RF), and
Linear Regression.
The model with the higher R-squared value is a better fit
for the data when comparing models. The model with the
lower MSE value is a better fit for the data when comparing
models.
Results of the analysis showed that in the view of
predictions, from the comparison of the RMSE, MSE, and
R2, DT is the model that gives the best performance, and is
true for both cross-validation and testing sets.
EFFICIENCY FOR THE RF, LR, DT MODELS.
Model RMSE MSE R2
<u>Decision Tree</u> <u>2.45</u> <u>6.04</u> <u>0.91</u>
<u>Random Forest</u> <u>2.61</u> <u>6.81</u> <u>0.90</u>
_DOI: 10.5281/zenodo.6785538_
_ISBN:_ _978-93-5607-317-3@2022 MCA, Amal Jyothi College of Engineering Kanjirappally, Kottayam_
_Proceedings of the National Conference on Emerging Computer Applications (NCECA)-2022_
_Vol.4, Issue._
<u>Linear Regression</u> <u>3.26</u> <u>10.64</u> <u>0.84</u>
Fig.13.Fuel Efficiency Form
Fig.14.Fuel Prediction
351
VII. CONCLUSION
Three machine learning prediction models are evaluated
in terms of their ability to predict a car's fuel consumption.
Model which has higher R-squared and smallest error value
is best to predict efficiency. We are a building a model to
predict the fuel efficiency. To improve the forecasting
abilities even more, we want to incorporate more factors
influencing fuel use such as traffic, weather in future work.
We're also working on a module that will walk you through
the process of reengineering your processes to save money on
gas by improving fleet scheduling and driving patterns.
2. VIII. REFERENCE
[1] Hlasny, T.; Fanti, M.P.; Mangini, A.M.; Rotunno, G.; Turchiano, B.
Optimal fuel consumption for heavy trucks: A review. In Proceedings
of the 2017 IEEE International Conference on Service Operations and
Logistics, and Informatics (SOLI 2017), Bari, Italy, 18–20 September
2017; pp. 80–85.
[2] Li, D.; Li, C.; Miwa, T.; Morikawa, T. An exploration of factors
affecting drivers’ daily fuel consumption efficiencies considering
multi-level random effects. Sustainability 2019, 11, 393.
[3] Chen, Y.; Zhu, L.; Gonder, J.; Young, S.; Walkowicz, K. Data-driven
fuel consumption estimation: A multivariate adaptive regression spline
approach. Transp. Res. Part C Emerg. Technol. 2017, 83, 134–145.
[4] Ericsson, E. Independent driving pattern factors and their influence on
fuel-use and exhaust emission factors. Transp. Res. Part D Transp.
Environ. 2001, 6, 325–345.
[5] Wang, J.; Rakha, H.A. Fuel consumption model for heavy duty diesel
trucks: Model development and testing. Transp. Res. Part D Transp.
Environ. 2017, 55, 127–141.
[6] Gong, J.; Shang, J.; Li, L.; Zhang, C.; He, J.; Ma, J. A Comparative
Study on Fuel Consumption Prediction Methods of Heavy-Duty Diesel
Trucks Considering 21 Influencing Factors. Energies 2
_DOI: 10.5281/zenodo.6785538_
_ISBN:_ _978-93-5607-317-3@2022 MCA, Amal Jyothi College of Engineering Kanjirappally, Kottayam_
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.