1+ < html >
2+
3+ < head >
4+ < meta charset ="UTF-8 ">
5+ < title > Machine learning data visualization</ title >
6+ < link rel ="stylesheet " href ="css.css ">
7+ < script src ="https://unpkg.com/ml5@0.4.3/dist/ml5.min.js "> </ script >
8+ < script src ="https://canvasjs.com/assets/script/canvasjs.min.js "> </ script >
9+
10+ < style >
11+ html {
12+ font-family : Arial, Helvetica, sans-serif;
13+ }
14+ </ style >
15+ </ head >
16+ < body >
17+
18+ < div style ="margin:-25px 0px -50px 0px ">
19+ < button onclick ="StartTraining() " style ="border-radius: 33px; font-size: 18px; padding: 16px 16px 16px 16px;
20+ background-color:rgb(0, 180, 0);outline: none; color: rgb(255, 255, 255);margin: 45px 5px 15px 10px; "> Start training</ button >
21+ < button onclick ="window.location.reload() " style ="border-radius: 33px; font-size: 18px; padding: 16px 16px 16px 16px;
22+ background-color:rgb(226, 0, 0);outline: none; color: rgb(255, 255, 255); "> Start over</ button >
23+ < button onclick ="bt() " style ="margin: 45px 15px 15px 55px; border-radius: 33px; font-size: 18px; padding: 16px 16px 16px 16px;
24+ background-color:rgb(0, 180, 0);outline: none; color: rgb(255, 255, 255); "> Dowload the model</ button >  
25+ < button onclick ="dataBt() " style ="border-radius: 33px; font-size: 18px; padding: 16px 16px 16px 16px;
26+ background-color:royalblue;outline: none; color: rgb(255, 255, 255); "> Download the data</ button > < br > < br >
27+ < label for ="epochs " style ="margin-left:25px;font-size: 26px "> Number of epochs </ label > < input id ="ep " style ="font-size: 26px "
28+ name ="epochs " type ="number "> < p style ="margin-left:250px "> If no number was chosen, 32 will be set as default</ p >
29+ </ div >
30+ < br > < br > < br >
31+ < div style ="background-color:rgb(248, 248, 248); border: 1px solid gainsboro; padding: 35px 20px 300px 35px; ">
32+ < div id ="chart_div " style ="width:800px; float:right; "> </ div >
33+ < div id ="show " style ="font-size: 22px;width: 300px; "> </ div >
34+ < br > < br > < br > < br > < br > < br >
35+ < div id ="show_results " style ="width: 400px;font-size:22px; "> </ div >
36+ </ div >
37+
38+ < script >
39+
40+ </ script >
41+ < script src ="Machine-learning-data-visualization.js "> </ script >
42+
43+
44+ </ body >
45+
46+ </ html >
0 commit comments