ISSN: 2229-371X
Sanket Wadje*, Kajal Khatri
Department of CSE, MIT World Peace University, Pune, Maharashtra, India
Received Date: 26/08/2021; Accepted Date: 09/09/2021; Published Date: 16/09/2021
Visit for more related articles at Journal of Global Research in Computer Sciences
Abstract. One of the Machine Learning Projects which can promptly affect our lives is the Road Trip Analyzer. With our reliance on information and applications these days, going to new places has become the space of the excursion analyzer. A solid Trip-generation Forecasting Model is the most essential piece of the traffic determining model.
The undertaking has been based on the genetic algorithm which has extraordinary Worldwide Global search ability. It will permit the trip-generation forecasting model to improve the exactness of the expectation. Perhaps the greatest trouble in arranging an excursion is choosing where to stop en route. The proposed framework endeavors to coordinate with the drivers' requirement with the quickest course accessible so the clients have the smartest possible solution.
Trip-generation; Machine learning; Genetic algorithm; Global search; Forecasting model
Travel industry areas assume a significant part of the planet's economy. In 2016, the business volume worldwide of the travel industry outperformed that of oil trades, food items or autos. Asia and the Pacific drove the travel industry area development in 2016 with a 9% expansion in global appearances, trailed by Africa (8%) and the Americas (3%). Travelling has been a critical respectability in human life which they persistently like doing. Travels are the most broadly perceived and refreshing thing which people regularly keep on figuring out. The chiefs of the trips have reliably been seen as critical for real execution of the outing [1]. Today advancement has been causing us through various ways and delivering things around with no issue.
With the usage of Development, we develop a structure which helps in managing the outing by performing focus activities and giving impressive respect to customers and set up a course of action for them. Basically, our project can be divided into 3 modules which are finding the shortest route, recommending essential stops and preventing dizziness of the driver.
Shortest route
As we know the road trip has the source and the destined location. The main requirement is to calculate the distance between them for the user. As we know there can be multiple routes present but considering the expenditure and time factor, we can save ample amounts of it finding the most optimal route i.e. the SHORTEST ROUTE. So, we opted for Genetic Algorithms for this purpose.
Essential stops
Experiencing local food while making a trip has been considered to have a significant impact on tourist satisfaction level. Visiting restaurants has become an integral part of the tourist daily itinerary plan. However, planning an itinerary manually is a complex and time-consuming task.
Preventing dizziness
As we are aware of the road accidents and other kinds of harm caused due to lack of presence while driving, we thought of preventing it. This can be done using the sensor and provides an alert to the driver whenever he seems to be dizzy. This can be implemented using OPEN-CV and IOT.
The proposed system has been designed in such a way that it will be able to provide multiple functionalities such as finding the shortest route, calculating the vehicle expenditure and preventing dizziness of the driver. The following paper will help you understand about the working of genetic algorithms and its approach for finding shortest distance, IOT based dizziness prevention considering various aspects and lastly the vehicle expenditure component
We have decided to use various technical components for building our use case. For solving the issue in the management during trips (Figure 1) [2]. So, I propose the solution into 3 modules:
Genetic algorithm
Genetic Algorithm is a comprehensively changed process model, taking into account customary assurance and people genetic instruments, which was first proposed in 1975 by teacher John Holland of the School of Michigan, reflecting the ordinary decision communication of common determination. By applying a genetic movement to the general population to achieve the iterative association of individual hidden overhaul inside the general population, each accentuation gets a lot of game plans, all of which is surveyed by a health worker, which repeats until some kind of association.
Compared to the traditional search methods and general optimization search methods, genetic algorithms have the following technical characteristics:
• The genetic algorithm takes the encoding of the object to be processed as the operation object. • Genetic algorithms search for multiple solutions simultaneously in search space, which makes the genetic algorithm, have a good global search ability. • Genetic algorithm search information targeted the fitness function directly. • Genetic algorithms use probabilistic search technology to guide the search process.
Basic working
GA deals with a populace consisting of certain arrangements where the populace size (pop size) is the quantity of arrangements. Every arrangement is called a person. Every individual arrangement has a chromosome. The chromosome is addressed as a bunch of boundaries (includes) that characterizes the person. Every chromosome has a bunch of qualities. Every quality is addressed by some way or another, for example, being addressed as a line of 0s and 1s.
Additionally, every individual has a wellness esteem. To choose the best people, wellness work is utilized. The consequence of the wellness work is the wellness esteem addressing the nature of the arrangement. The higher the wellness esteems the higher the quality the arrangement. Choice of the best people dependent on their quality is applied to create what is known as a mating pool where the greater individual has a higher likelihood of being chosen in the mating pool.
The individuals in the mating pool are called guardians. Each two guardians chosen from the mating pool will produce two kids. Simply by mating top notch people, it is relied upon to improve quality posterity than its folks. This will execute the terrible people from producing all the more awful people. By continuing choosing and mating excellent people, there will be higher opportunities to simply keep great properties of the people and leave out awful ones. At long last, this will wind up with the ideal or worthy arrangement.
Basically, we keep the TSP approach using Genetic Algorithm for finding the optimal/shortest route for the trip. Let’s start with a few definitions, rephrased in the context of the TSP:
• Gene: A city (represented as (x, y) coordinates) Individual (aka “chromosome”): a single route satisfying the conditions above
• Population: A collection of possible routes (i.e., collection of individuals)
• Parents: Two routes that are combined to create a new route
• Mating pool: A collection of parents that are used to create our next population (thus creating the next generation of routes)
• Fitness: A function that tells us how good each route is (in our case, how short the distance is)
• Mutation: A way to introduce variation in our population by randomly swapping two cities in a route
• Reproduction: A way to carry the best individuals into the next generation approach.
Drowsiness detection
The expression "drowsy" is inseparable from sleepy, which basically implies a tendency to nod off. The phases of rest can be classified as conscious, non-rapid eye movement rest (NREM), and rapid eye movement sleep (REM) (Figure 2) [3]. The subsequent stage, NREM, can be partitioned into the accompanying three phases:
• Stage I: transition from awake to asleep (drowsy)
• Stage II: light sleep
• Stages III: deep sleep
In order to analyze driver drowsiness, researchers have mostly studied Stage I, which is the drowsiness phase. The crashes that occur due to driver drowsiness have a number of characteristics:
• Occur late at night (0:00 am–7:00 am) or during mid-afternoon (2:00 pm–4:00 pm)
• Involve a single vehicle running off the road
• Occur on high-speed roadways
• Driver is often alone
• Driver is often a young male, 16 to 25 years old
• No skid marks or indication of braking
The most commonly used drowsiness scale is the Karolinska Sleepiness Scale (KSS), a nine-point scale. The mean-shift is a method used to find the peak or center of gravity of data distribution, which indicates the algorithm is moving to a data-dense area and the center of the distribution [4].
Management of vehicle/transport expenditure is always treated as the crucial part for any kind of travelling. So as per our objectives we provide the expenditure to the user using simple mathematics. Users will be asked to enter or modify the vehicle information for letting the system in order to execute. Our algorithm may increase these expenditures up to 3% to 5% of total cost for security purposes so it would be helpful for unpredictable blunders during trips.
Our system provides following functionalities as shown in the below figure:
• Manages the expenditure
• Provides Shortest Route
• Preventing Dizziness
As our system will be interacting in the form of a website with the end users there would be two roles existing which are the User and Admin. The user would be any individual who can create their account and make their trip memorable. Users will be asked to fill in some information which is pretty much required for the system. User’s vehicle data will be important for calculating the transport expenditure for the trip. As it's a trip, users will be asked for the source and destination points which are very crucial. These points would then be feeded over to the Genetic Algorithm for calculating shortest distance. The admin module will be responsible for monitoring all the activities going on by the clients. They would be observing the data which has been provided by clients [5].
This project would definitely help for every individual’s refreshment by getting a full-fledged trip management. Road Trips are fun but more fun when they are properly planned and executed. As we know there have always been issues with management or trip planning. With the use of Technology, we can provide better management while having road trips and let them have memorable trips. This system provides effective planning, shortest route and amazing stops to execute the road trip successfully. Some of the features that can be incorporated in our system. Providing automatic online based hotel booking for stay depending on the user's expected cost range. Suggest users the appropriate destinations based on the weather and current situation of a certain place. Responsive Guide to the travelers whenever they visit new places and help them along their path.