1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
3
+ < head >
4
+ < meta charset ="utf-8 ">
5
+ < meta http-equiv ="X-UA-Compatible " content ="chrome=1 ">
6
+ < meta name ="viewport " content ="width=device-width, initial-scale=1, shrink-to-fit=no ">
7
+
8
+ < title > Data Space</ title >
9
+
10
+ < meta name ="author " content ="Georgetown Data Science ">
11
+ < meta name ="keywords " content ="machine learning, scikit-learn, data space ">
12
+ < meta name ="description " content ="Machine learning in data space web demo. ">
13
+
14
+ <!-- shortcut icon -->
15
+
16
+ <!-- stylesheets -->
17
+ < link href ="https://stackpath.bootstrapcdn.com/bootswatch/4.3.1/flatly/bootstrap.min.css " rel ="stylesheet "
18
+ integrity ="sha384-T5jhQKMh96HMkXwqVMSjF3CmLcL1nT9//tCqu9By5XSdj7CwR0r+F3LTzUdfkkQf " crossorigin ="anonymous ">
19
+ < link href ="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css " rel ="stylesheet "
20
+ integrity ="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN " crossorigin ="anonymous ">
21
+ < link href ="{{ url_for('static', filename='css/dataspace.css') }} " rel ="stylesheet ">
22
+ </ head >
23
+ < body >
24
+ < header >
25
+ < nav class ="navbar navbar-expand-lg navbar-dark bg-primary ">
26
+ < a class ="navbar-brand " href ="/ "> Data Space</ a >
27
+ < button class ="navbar-toggler " type ="button " data-toggle ="collapse " data-target ="#navbarSupportedContent "
28
+ aria-controls ="navbarSupportedContent " aria-expanded ="false " aria-label ="Toggle navigation ">
29
+ < span class ="navbar-toggler-icon "> </ span >
30
+ </ button >
31
+
32
+ < div class ="collapse navbar-collapse " id ="navbarSupportedContent ">
33
+ < ul class ="navbar-nav mr-auto ">
34
+ < li class ="nav-item active ">
35
+ < a class ="nav-link " href ="# "> Home < span class ="sr-only "> (current)</ span > </ a >
36
+ </ li >
37
+ < li class ="nav-item ">
38
+ < a class ="nav-link " href ="# " data-toggle ="modal " data-target ="#aboutModal ">
39
+ About
40
+ </ a >
41
+ </ li >
42
+ </ ul >
43
+ </ div >
44
+ </ nav >
45
+ </ header >
46
+
47
+ < main role ="main " class ="container ">
48
+ <!-- dataspace -->
49
+ < div class ="row ">
50
+ < div class ="col-md-12 ">
51
+ < div class ="border border-primary ">
52
+ <!-- the data visualization canvas -->
53
+ < svg id ="dataspace "> </ svg >
54
+ </ div >
55
+ </ div >
56
+ </ div > <!-- dataspace ends -->
57
+
58
+ <!-- controls -->
59
+ < div class ="row mt-2 ">
60
+ < div class ="col-md-6 ">
61
+ < form class ="form-inline " id ="dataEntryForm ">
62
+ < label class ="my-1 mr-2 " for ="classSelect "> Add Points to Class</ label >
63
+ < select class ="custom-select my-1 mr-sm-2 " id ="classSelect ">
64
+ < option value ="0 " selected > 0</ option >
65
+ < option value ="1 "> 1</ option >
66
+ < option value ="2 "> 2</ option >
67
+ < option value ="3 "> 3</ option >
68
+ </ select >
69
+ </ form >
70
+ </ div >
71
+ < div class ="col-md-6 ">
72
+
73
+ </ div >
74
+ </ div > <!-- controls ends -->
75
+ </ main >
76
+
77
+ < footer class ="footer bg-light ">
78
+ < div class ="container ">
79
+ < span class ="text-muted ">
80
+ Made with ♠ by < a href ="https://github.com/bbengfort "> @bbengfort</ a >
81
+ for the Georgetown Data Science Certificate
82
+ </ span >
83
+ < span class ="text-muted pull-right "> For Demonstration Purposes Only.</ span >
84
+ </ div >
85
+ </ footer >
86
+
87
+ <!-- modals -->
88
+ < div class ="modal fade " id ="aboutModal " tabindex ="-1 " role ="dialog "
89
+ aria-labelledby ="aboutModalLabel " aria-hidden ="true ">
90
+ < div class ="modal-dialog modal-dialog-centered " role ="document ">
91
+ < div class ="modal-content ">
92
+ < div class ="modal-header ">
93
+ < h5 class ="modal-title " id ="aboutModalLabel "> About Data Space</ h5 >
94
+ < button type ="button " class ="close " data-dismiss ="modal " aria-label ="Close ">
95
+ < span aria-hidden ="true "> ×</ span >
96
+ </ button >
97
+ </ div >
98
+ < div class ="modal-body ">
99
+ < p >
100
+ In the tradition of Tkinter SVM GUI, the purpose of this website is to demonstrate how
101
+ machine learning model forms are affected by the shape of the underlying dataset. By
102
+ selecting a dataset or by creating one of your own, you can fit a model to the data
103
+ and see how the model would make decisions based on the data it has been trained on.
104
+ Although this is a toy example, hopefully it helps give you the intuition that the
105
+ machine learning process is a model selection search for the best combination of features,
106
+ algorithm, and hyperparameter that generalize well in a bounded feature space.
107
+ </ p >
108
+ </ div >
109
+ < div class ="modal-footer ">
110
+ < button type ="button " class ="btn btn-secondary " data-dismiss ="modal "> Close</ button >
111
+ </ div >
112
+ </ div >
113
+ </ div >
114
+ </ div >
115
+
116
+ <!-- javascript at the bottom of the page for faster loading -->
117
+ < script src ="https://code.jquery.com/jquery-3.3.1.min.js "
118
+ integrity ="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8= " crossorigin ="anonymous "> </ script >
119
+ < script src ="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.9.1/underscore-min.js "
120
+ integrity ="sha256-G7A4JrJjJlFqP0yamznwPjAApIKPkadeHfyIwiaa9e0= " crossorigin ="anonymous "> </ script >
121
+ < script src ="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js "
122
+ integrity ="sha384-uefMccjFJAIv6A+rW+L4AHf99KvxDjWSu1z9VI8SKNVmz4sk7buKt/6v9KI65qnm " crossorigin ="anonymous "> </ script >
123
+ < script src ="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.12/d3.min.js " charset ="utf-8 "> </ script >
124
+ < script src ="{{ url_for('static', filename='js/dataspace.js') }} "> </ script >
125
+
126
+ <!-- google analytics -->
127
+ </ body >
128
+ </ html >
0 commit comments