forked from NEU-Khoury-DoC/hugo-blog-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added in photos, added in CS side of deliverable 4, edited my blog 3 …
…to add in contributions
- Loading branch information
1 parent
c15e712
commit a6eaece
Showing
17 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
title: "Project - Deliverable 4" | ||
date: 2024-05-27 | ||
draft: false | ||
description: "Final Project!" | ||
tags: ["authors", "config", "docs"] | ||
authors: | ||
- "nalika_palayoor" | ||
- "erica_indman" | ||
- "frani_pendus" | ||
showAuthorsBadges : false | ||
--- | ||
|
||
# Project update 4 | ||
|
||
## **Machine Learning Models:** | ||
|
||
## **Software Architecture:** | ||
![](arch.png) | ||
|
||
Our database, RoundTrip, has 19 tables and more than 3000 data entries. Our middleware, the REST API built with Flask, has 4 main sections: machine learning model, travelers, advertisers, and deal administrators. The machine learning model contains the ML model routes, as well as the functions for each linear regression prediction (including the functions to train the models). The ML model routes are used in the front end by both the System Admin who trains the models and the travelers who use the models to predict the flight and hotel costs. The travelers middleware section contains the routes that execute the actions the travelers want to perform (aside from cost predictions). The advertisers middleware section contains the routes that execute the actions the advertisers want to perform. The deal administrators middleware section contains the routes that execute the actions the deal administrators want to perform. | ||
|
||
## **Database Model:** | ||
*The initial database model* : | ||
![](global.png) | ||
|
||
*The final database model*: | ||
![](finaldbmodel.png) | ||
|
||
As I began to implement the app’s functionality, the model had to change. The exchange rates attribute became its own table but was later deleted since it was no longer used for machine learning predictions. The favorite flights (’favFlights’) table was also deleted for lack of impact on the UI experience since, as a frequent traveler myself, I’ve never had a favorite flight. Finally, 3 new tables were added: | ||
- the main data frame (‘main_df’) | ||
- hotel parameters (‘hotel_params’) | ||
- flight parameters (‘flight_params’) | ||
These tables are necessary for the machine learning models. The main data frame was needed for model training as it allows us to get the data needed to perform the linear regression and come up with the line of best fit for predictions. The parameters tables store the coefficients from both lines of best fit (1 table per prediction type, ie. flight prediction has its linear regression parameters stored in ‘flight_params’) and during the prediction allow us to retrieve these coefficients to apply to a new set of inputs provided by the user. | ||
|
||
|
||
### Presentation Link: | ||
https://docs.google.com/presentation/d/19QlnvmbjLDo0bogDgHAWGeKj8quzH5o8jgYfyQWjT7g/edit?usp=sharing | ||
|
Binary file added
BIN
+215 KB
...n/images/arch_hu7957ff4405d95ac0b9a237c4cecf74f8_278314_1024x0_resize_box_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+266 KB
...n/images/arch_hu7957ff4405d95ac0b9a237c4cecf74f8_278314_1320x0_resize_box_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+27.7 KB
...en/images/arch_hu7957ff4405d95ac0b9a237c4cecf74f8_278314_330x0_resize_box_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+105 KB
...en/images/arch_hu7957ff4405d95ac0b9a237c4cecf74f8_278314_660x0_resize_box_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+167 KB
.../finaldbmodel_hu404826ef5178cf1bb627a52270009b91_450723_1024x0_resize_box_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+225 KB
.../finaldbmodel_hu404826ef5178cf1bb627a52270009b91_450723_1320x0_resize_box_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+34.4 KB
...s/finaldbmodel_hu404826ef5178cf1bb627a52270009b91_450723_330x0_resize_box_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+98.5 KB
...s/finaldbmodel_hu404826ef5178cf1bb627a52270009b91_450723_660x0_resize_box_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+221 KB
...mages/lux_hu7aa8098cb05d8657d9fb0274d1b5bfa5_5658677_1024x0_resize_q75_box.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+365 KB
...mages/lux_hu7aa8098cb05d8657d9fb0274d1b5bfa5_5658677_1320x0_resize_q75_box.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+24.8 KB
...images/lux_hu7aa8098cb05d8657d9fb0274d1b5bfa5_5658677_330x0_resize_q75_box.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+94.2 KB
...images/lux_hu7aa8098cb05d8657d9fb0274d1b5bfa5_5658677_660x0_resize_q75_box.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.