cleaned notes in sample script VA section

This commit is contained in:
andre.paredes
2023-01-09 13:49:51 -05:00
parent 8f6b3c5d43
commit 006cb0eb0a

View File

@@ -9,8 +9,8 @@ import siuba.dply.verbs
import siuba.dply.vector
#from opendbm import FacialActivity #needed with docker?
from opendbm import Movement as mv
from opendbm import VerbalAcoustics as va #needed with docker?
# from opendbm import Movement as mv #needed with docker?
from opendbm import VerbalAcoustics as va
from opendbm import Speech as sp
@@ -26,10 +26,10 @@ path_file = list_mp4[0]
### VERBAL ACOUSTICS -----
#fit the model
model = va()
model.fit(path_file)
model_va = va()
model_va.fit(path_file)
#model_va = va().fit(pathfile) # one-line alternative
var_intensity = model.get_audio_intensity()
var_intensity = model_va.get_audio_intensity()
# get audio intensity
df_va_intensity = var_intensity.to_dataframe()