File tree 3 files changed +22
-1
lines changed
3 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ body {
17
17
line-height : 60px ;
18
18
}
19
19
20
+ # versionStatus {
21
+ margin-right : 2px ;
22
+ }
23
+
20
24
body > .container {
21
25
padding : 40px 15px 0 ;
22
26
}
Original file line number Diff line number Diff line change @@ -224,10 +224,22 @@ class Dataspace {
224
224
225
225
return grid ;
226
226
}
227
+ }
227
228
229
+ function versionCheck ( ) {
230
+ $ . get ( "/status" ) . then ( ( data ) => {
231
+ console . log ( data ) ;
232
+ if ( data . status == 'ok' ) {
233
+ $ ( "#versionStatus" ) . removeClass ( "text-danger" ) . addClass ( "text-success" ) ;
234
+ $ ( "#versionInfo" ) . text ( data . version ) ;
235
+ }
236
+ } ) ;
228
237
}
229
238
230
239
$ ( document ) . ready ( function ( ) {
240
+ // Perform version check
241
+ versionCheck ( ) ;
242
+
231
243
// Create the dataspace app
232
244
app = new Dataspace ( "#dataspace" ) ;
233
245
Original file line number Diff line number Diff line change 425
425
Made with ♠ by < a href ="https://github.com/bbengfort "> @bbengfort</ a >
426
426
for the Georgetown Data Science Certificate
427
427
</ span >
428
- < span class ="text-muted pull-right "> For Demonstration Purposes Only. </ span >
428
+ < span class ="text-muted pull-right "> < span id =" versionStatus " class =" text-danger " > ● </ span > < span id =" versionInfo " > </ span > </ span >
429
429
</ div >
430
430
</ footer >
431
431
@@ -447,10 +447,15 @@ <h5 class="modal-title" id="aboutModalLabel">About Data Space</h5>
447
447
selecting a dataset or by creating one of your own, you can fit a model to the data
448
448
and see how the model would make decisions based on the data it has been trained on.
449
449
The fitted contours display the highest likelihoods of the class the model would select.
450
+ </ p >
451
+ < p >
450
452
Although this is a toy example, hopefully it helps give you the intuition that the
451
453
machine learning process is a model selection search for the best combination of features,
452
454
algorithm, and hyperparameter that generalize well in a bounded feature space.
453
455
</ p >
456
+ < p >
457
+ This application is for demonstration purposes only.
458
+ </ p >
454
459
</ div >
455
460
< div class ="modal-footer ">
456
461
< button type ="button " class ="btn btn-secondary " data-dismiss ="modal "> Close</ button >
You can’t perform that action at this time.
0 commit comments