Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2022-020
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2022-020
2022-020
Commits
130463ad
Commit
130463ad
authored
Oct 09, 2022
by
W.P.S.M wickramage
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TimePrediction - Implemented
parent
6e111f40
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
TravelTimePrediction/TravelTimePredictionNN.py
TravelTimePrediction/TravelTimePredictionNN.py
+7
-1
No files found.
TravelTimePrediction/TravelTimePredictionNN.py
View file @
130463ad
...
@@ -196,10 +196,16 @@ weather =testingWeather.weather(city) #Get weather in travel area
...
@@ -196,10 +196,16 @@ weather =testingWeather.weather(city) #Get weather in travel area
Distance
=
14.7
#Distance data come from seminas ----- data come from the Seminas data/member of route planning
Distance
=
14.7
#Distance data come from seminas ----- data come from the Seminas data/member of route planning
GetPrediction
(
time
,
date
,
special
,
Congestion
,
drivingspeedAVG
,
stops
,
weather
,
Distance
)
# Get Prediction USing this Method after Seminas Calling
def
CallTimePrediction
(
distance
,
BuStops
,
TodayDate
):
FnewDate
=
GetDateCode
(
TodayDate
)
GetPrediction
(
time
,
FnewDate
,
special
,
Congestion
,
drivingspeedAVG
,
BuStops
,
weather
,
distance
)
CallTimePrediction
(
14.7
,
8
,
'Sunday'
)
# Get Train Data
# Get Train Data
# import sys
# import sys
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment