VideoHisto
Esse commit está contido em:
@@ -77,8 +77,11 @@ def video_1() :
|
||||
except :
|
||||
return None
|
||||
|
||||
# Dashboard
|
||||
@app.route('/video_dash', methods=("POST", "GET"))
|
||||
def video_dash():
|
||||
|
||||
# Load personal history
|
||||
df_2 = pd.read_csv('static/js/db/histo_perso.txt')
|
||||
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
EMOTION,VALUE
|
||||
Angry,13
|
||||
Disgust,0
|
||||
Fear,4
|
||||
Happy,85
|
||||
Sad,50
|
||||
Surprise,12
|
||||
Neutral,176
|
||||
Angry,17
|
||||
Disgust,5
|
||||
Fear,6
|
||||
Happy,103
|
||||
Sad,71
|
||||
Surprise,17
|
||||
Neutral,208
|
||||
|
||||
@@ -206,4 +206,6 @@ Agreeableness,Conscientiousness,Extraversion,Neuroticism,Openness
|
||||
0.2451882064342499,0.22297443449497226,0.22819821536540985,0.010884138755500315,0.29275497794151306
|
||||
0.2451882064342499,0.22297443449497226,0.22819821536540985,0.010884138755500315,0.29275497794151306
|
||||
0.2451882064342499,0.22297443449497226,0.22819821536540985,0.010884138755500315,0.29275497794151306
|
||||
0.2451882064342499,0.22297443449497226,0.22819821536540985,0.010884138755500315,0.29275497794151306
|
||||
0.2451882064342499,0.22297443449497226,0.22819821536540985,0.010884138755500315,0.29275497794151306
|
||||
0.24518820643424988,0.22297443449497223,0.22819821536540985,0.010884138755500317,0.29275497794151306
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Trait,Value
|
||||
Extraversion,0.21669295920918769
|
||||
Neuroticism,0.08737938614257683
|
||||
Agreeableness,0.22687642512699732
|
||||
Conscientiousness,0.1997753412489636
|
||||
Openness,0.2692758682846593
|
||||
Extraversion,0.21680253307734218
|
||||
Neuroticism,0.08665085997698563
|
||||
Agreeableness,0.22705082304420926
|
||||
Conscientiousness,0.1999962849941637
|
||||
Openness,0.26949947885281983
|
||||
|
||||
@@ -275,7 +275,7 @@ happy,14
|
||||
hard,6
|
||||
hear,2
|
||||
hec,2
|
||||
hello,31
|
||||
hello,33
|
||||
help,2
|
||||
hesitate,2
|
||||
high,6
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" type="text/css" href="/static/CSS/style.css">
|
||||
<script type="text/javascript" src="/js/d3/d3.js"></script>
|
||||
<script type="text/javascript" src="/static/js/d3/d3.js"></script>
|
||||
<script src="//d3js.org/d3-scale-chromatic.v0.3.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3-tip/0.7.1/d3-tip.min.js"></script>
|
||||
<title>Dashboard</title>
|
||||
@@ -30,7 +30,7 @@
|
||||
<div class="legend1"> <p class="country-name"><span class="key-dot you"></span>You</p> </div>
|
||||
<div class="legend1"> <p class="country-name"><span class="key-dot others"></span>Other candidates</p> </div>
|
||||
</div>
|
||||
<div id="hist_density"></div>
|
||||
<div id="hist_density_perso"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column" id="left-col" align="center">
|
||||
@@ -68,7 +68,7 @@
|
||||
<br>
|
||||
<br>
|
||||
<div class="column" id="left-col" align="center">
|
||||
<div id="hist_density_perso"></div>
|
||||
<div id="hist_density"></div>
|
||||
</div>
|
||||
<div class="column" id="left-col" align="center">
|
||||
<br>
|
||||
@@ -96,8 +96,8 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" src="dynamic/js/hist_vid_perso.js"></script>
|
||||
<script type="text/javascript" src="dynamics/js/hist_vid_glob.js"></script>
|
||||
<script type="text/javascript" src="static/js/hist_vid_perso.js"></script>
|
||||
<script type="text/javascript" src="static/js/hist_vid_glob.js"></script>
|
||||
|
||||
<!--<img src='newplot.png'>-->
|
||||
|
||||
|
||||
Arquivo binário não exibido.
|
Antes Largura: | Altura: | Tamanho: 242 KiB Depois Largura: | Altura: | Tamanho: 228 KiB |
Referência em uma Nova Issue
Bloquear um usuário