Esse commit está contido em:
Maël
2019-06-01 12:08:10 +02:00
commit 1425ef6a87
10 arquivos alterados com 175 adições e 277 exclusões
BIN
Ver Arquivo
Arquivo binário não exibido.
Arquivo binário não exibido.
+2 -2
Ver Arquivo
@@ -294,13 +294,13 @@ def text_1():
d.write(line + "," + str(counts[line]) + '\n') d.write(line + "," + str(counts[line]) + '\n')
d.close() d.close()
df_words_co = pd.read_csv('static/js/words_common.txt', sep=',') df_words_co = pd.read_csv('static/js/words_common.txt', sep=',', error_bad_lines=False)
df_words_co.FREQ = df_words_co.FREQ.apply(pd.to_numeric) df_words_co.FREQ = df_words_co.FREQ.apply(pd.to_numeric)
df_words_co = df_words_co.groupby('WORDS').sum().reset_index() df_words_co = df_words_co.groupby('WORDS').sum().reset_index()
df_words_co.to_csv('static/js/words_common.txt', sep=",", index=False) df_words_co.to_csv('static/js/words_common.txt', sep=",", index=False)
common_words_others = df_words_co.sort_values(by=['FREQ'], ascending=False)['WORDS'][:15] common_words_others = df_words_co.sort_values(by=['FREQ'], ascending=False)['WORDS'][:15]
df_words_perso = pd.read_csv('static/js/words_perso.txt', sep=',') df_words_perso = pd.read_csv('static/js/words_perso.txt', sep=',', error_bad_lines=False)
common_words_perso = df_words_perso.sort_values(by=['FREQ'], ascending=False)['WORDS'][:15] common_words_perso = df_words_perso.sort_values(by=['FREQ'], ascending=False)['WORDS'][:15]
return render_template('result.html', traits = probas, trait = trait, trait_others = trait_others, probas_others = probas_others, num_words = num_words, common_words = common_words_perso, common_words_others=common_words_others) return render_template('result.html', traits = probas, trait = trait, trait_others = trait_others, probas_others = probas_others, num_words = num_words, common_words = common_words_perso, common_words_others=common_words_others)
+15
Ver Arquivo
@@ -19,4 +19,19 @@ scikit-learn
dill dill
keras keras
wordcloud wordcloud
Flask
Werkzeug
numpy
pandas
cv2
time
re
os
argparse
collections
scipy
dlib
tensorflow
imutils
+2 -1
Ver Arquivo
@@ -121,5 +121,6 @@ Agreeableness,Conscientiousness,Extraversion,Neuroticism,Openness
0.08302895724773407,0.26300185918807983,0.11152470856904984,0.28485196828842163,0.2575925290584564 0.08302895724773407,0.26300185918807983,0.11152470856904984,0.28485196828842163,0.2575925290584564
0.07330887019634247,0.2784692049026489,0.10437306016683576,0.2865116894245148,0.25733718276023865 0.07330887019634247,0.2784692049026489,0.10437306016683576,0.2865116894245148,0.25733718276023865
0.07330887019634247,0.2784692049026489,0.10437306016683576,0.2865116894245148,0.25733718276023865 0.07330887019634247,0.2784692049026489,0.10437306016683576,0.2865116894245148,0.25733718276023865
0.07330887019634247,0.2784692049026489,0.10437306016683576,0.2865116894245148,0.25733718276023865
0.07330887019634247,0.2784692049026489,0.10437306016683577,0.2865116894245148,0.25733718276023865 0.07330887019634247,0.2784692049026489,0.10437306016683577,0.2865116894245148,0.25733718276023865
0.07330887019634247,0.2784692049026489,0.10437306016683578,0.28651168942451477,0.25733718276023865 0.24532252550125122,0.22315292060375214,0.22857718169689178,0.010978440754115582,0.2919689416885376
+5 -5
Ver Arquivo
@@ -1,6 +1,6 @@
Trait,Value Trait,Value
Extraversion,0.2130939582543027 Extraversion,0.21321782404184342
Neuroticism,0.06730739799358192 Neuroticism,0.06685676633566617
Agreeableness,0.22359002681989823 Agreeableness,0.22376388680934906
Conscientiousness,0.2041861231273581 Conscientiousness,0.20433785750716923
Openness,0.2918224697932601 Openness,0.29182364156842233
+5 -5
Ver Arquivo
@@ -1,6 +1,6 @@
Trait,Value Trait,Value
Extraversion,0.10437306016683578 Extraversion,0.22857718169689178
Neuroticism,0.28651168942451477 Neuroticism,0.010978440754115582
Agreeableness,0.07330887019634247 Agreeableness,0.24532252550125122
Conscientiousness,0.2784692049026489 Conscientiousness,0.22315292060375214
Openness,0.25733718276023865 Openness,0.2919689416885376
+64
Ver Arquivo
@@ -291,3 +291,67 @@ zone,5
«,5 «,5
»,5 »,5
,10 ,10
The,1
road,1
to,6
your,2
dreams,1
isn,1
,4
t,4
always,1
easy,2
navigate,1
,,4
sometimes,1
dotted,1
with,1
mountains,1
climb,1
obstacles,1
overcome—and,1
hard,1
mind-numbing,1
times,1
that,1
will,1
make,1
you,3
feel,1
like,1
quitting,1
.,5
Just,1
remember,1
this,1
if,1
get,1
lost,1
along,1
the,1
way,1
:,1
Anything,1
worth,1
having,1
doesn,1
come,1
So,1
don,1
turn,1
back,1
around,1
Don,1
give,1
up,1
As,1
work,1
achieve,1
most,1
ambitious,1
goals,1
push,1
yourself,1
keep,1
moving,1
forward,1
+59 -264
Ver Arquivo
@@ -1,270 +1,65 @@
WORDS,FREQ WORDS,FREQ
Cover_Letter_apple,1
Dear,1
Madam,1
,,32
dear,1
Sir,1
My,1
name,1
is,2
Maël,2
Fabien,2
.,18
I,16
have,7
studied,1
in,13
Lausanne,2
Switzerland,2
for,8
the,12
past,2
5,1
years,2
and,15
graduated,1
earlier,1
this,3
year,1
from,3
a,15
Master,1
Actuarial,1
Science,1
Statistics,1
computer,2
science,3
always,1
been,2
my,6
main,1
interests,1
throughout,1
studies,2
Therefore,1
decided,1
to,12
join,1
one,2
of,8
France,1
,2
s,2
top,1
engineering,1
school,1
Telecom,2
Paris,2
Tech,1
an,2
MS,1
Big,1
Data,1
post-degree,1
program,1
focusing,1
on,3
both,1
quantitative,1
techniques,1
machine,1
learning,3
/,1
deep,2
am,2
currently,1
seeking,1
six,2
months,3
internship,3
position,1
starting,1
summer,1
2019,1
field,1
data,3
Parallel,1
worked,3
two,2
as,4
teaching,1
assistant,1
Professor,2
Boris,1
Nikolov,1
Corporate,1
Finance,2
Nils,1
Soguel,1
Public,1
had,2
opportunity,1
help,1
undergraduate,1
students,2
problem,1
sets,1
solving,1
other,2
course,1
related,1
tasks,1
These,1
opportunities,1
are,1
offered,1
scoring,1
maximal,1
grade,1
at,3
exam,1
Swiss,1
insurance,1
company,2
called,1
«,1
Vaudoise,1
Insurance,1
»,1
During,2
end-of-studies,1
non-life,1
actuary,1
intern,1
was,4
charge,1
product,1
review,2
including,2
extraction,1
handling,1
missing,1
values,1
building,1
customer,1
clusters,1
going,1
through,1
pricing,2
scenario,1
development,1
The,1 The,1
final,1 road,1
step,1 to,6
present,1 your,2
management,1 dreams,1
time,1 isn,1
given,1 ,4
chance,1 t,4
work,3 always,1
daily,1 easy,2
navigate,1
,,4
sometimes,1
dotted,1
with,1 with,1
team,1 mountains,1
talented,1 climb,1
people,1 obstacles,1
actuaries,1 overcome—and,1
IT,1 hard,1
engineers,1 mind-numbing,1
lawyers,1 times,1
marketing,1 that,1
experts,1 will,1
interns,1 make,1
Being,1 you,3
passionate,1 feel,1
about,1 like,1
continuously,1 quitting,1
trying,1 .,5
think,1 Just,1
critically,1 remember,1
challenge,1 this,1
understand,1 if,1
datas,1
look,2
it,1
business,1
perspective,1
constantly,1
creativity,1
communication,1
skills,1
try,1
get,1 get,1
out,1 lost,1
comfort,1 along,1
zone,1 the,1
often,1 way,1
possible,1 :,1
developed,1 Anything,1
strong,2 worth,1
interest,2 having,1
entrepreneurship,1 doesn,1
since,2 come,1
entrepreneurial,1 So,1
contest,1 don,1
Start,1 turn,1
during,1
which,2
won,1
jury,1
prize,1
back,1 back,1
2016,1 around,1
Since,1 Don,1
then,1 give,1
working,1 up,1
projects,2 As,1
specialized,1 work,1
crowdfunding,1 achieve,1
platform,1 most,1
At,1 ambitious,1
ParisTech,1 goals,1
7,3 push,1
group,1 yourself,1
project,2 keep,1
proposed,1 moving,1
We,1
choose,1
among,1
several,1
chose,1
multimodal,1
sentiment,1
analysis,1
French,1
employment,1
agency,1
do,1
forward,1 forward,1
hearing,1
you,1
remain,1
your,1
disposal,1
any,1
further,1
clarifications,1
http,2
:,4
//maelfabien.fr,2
rue,1
Barrault,1
75013,1
+,1
33,2
87,1
20,1
40,1
mael.fabien,3
@,3
gmail.com,3
A,1
P,2
L,2
E,4
-,1
C,1
OV,1
R,2
T,2
mailto,2
+23
Ver Arquivo
@@ -1,4 +1,25 @@
Flask Flask
Gunicorn
Werkzeug
numpy
pandas
opencv-python
cmake
argparse
scipy
dlib
tensorflow
imutils
tika
wave
nltk
gensim
seaborn
scikit-learn
dill
keras
wordcloud
Flask
Werkzeug Werkzeug
numpy numpy
pandas pandas
@@ -12,3 +33,5 @@ scipy
dlib dlib
tensorflow tensorflow
imutils imutils