Skip to content

Commit

Permalink
updated the UI
Browse files Browse the repository at this point in the history
  • Loading branch information
Danushka2 committed Oct 7, 2020
1 parent e9ede9e commit b91b071
Show file tree
Hide file tree
Showing 11 changed files with 66 additions and 7 deletions.
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions .idea/Video_Games_DM.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .spyproject/config/workspace.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ save_non_project_files = False

[main]
version = 0.2.0
recent_files = ['app.py', 'request.py', 'models\\graphs.py', 'dataset\\cleanDs.py', 'templates\\sale-prediction.html']
recent_files = ['app.py', 'request.py', 'dataset\\cleanDs.py', 'models\\PricePredictionDecisionTreeModel.py', 'models\\User_Score_Prediction_Clustering.py']

1 change: 1 addition & 0 deletions models/User_Score_Prediction_Clustering.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@

# Find Optimal Clusters
from sklearn.cluster import KMeans
from mpl_toolkits.mplot3d import Axes3D

# within cluster sum of squared
wcss = []
Expand Down
6 changes: 4 additions & 2 deletions static/assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2635,9 +2635,11 @@ iframe {

.ml-form-pic img {
max-width: 50%;
margin: 25%;
margin: 0% 25% 0% 25%;
}
.ml-form-pic .ml-result{
margin: auto;
}


/*------------------------------------------------------------------
[ ]*/
Expand Down
Binary file modified static/images/line_plot.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 6 additions & 4 deletions templates/sale-prediction.html
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,11 @@ <h2 style="text-align: center;">Predict the sales</h2>
</span>
</button>
</div>
<div class="col-md-8 mt-3">
</form>
<div class="ml-form-pic js-tilt col-md-6" data-tilt>
<img src="static/images/ml-model.png" alt="IMG">
<div class="col-md-2"></div>
<div class="col-md-8 mt-3 ml-result">
<div class="card">
<div class="card-body">
<div class="stat-widget-one">
Expand All @@ -261,9 +265,7 @@ <h2 style="text-align: center;">Predict the sales</h2>
</div>
</div>
</div>
</form>
<div class="ml-form-pic js-tilt col-md-6" data-tilt>
<img src="static/images/ml-model.png" alt="IMG">
<div class="col-md-2"></div>
</div>

<!-- Main Input For Receiving Query to our ML -->
Expand Down

0 comments on commit b91b071

Please sign in to comment.