gijom / teap Goto Github PK
View Code? Open in Web Editor NEWToolbox for Emotion Analysis using Physiological signals
Home Page: http://www.teap.science/
License: GNU General Public License v3.0
Toolbox for Emotion Analysis using Physiological signals
Home Page: http://www.teap.science/
License: GNU General Public License v3.0
Hello,
When using function BVP_feat_BPM(), the following error promoted:
Error: File: BVP_feat_BPM.m Line: 43 Column: 52
Expression or statement is incorrect--possibly unbalanced (, {, or [.
Tried putting line 43 and 44 together the the following error prompted:
Error using vertcat
Dimensions of matrices being concatenated are not consistent.
Error in BVP_feat_BPM (line 43)
dataS = filtfilt(ones(1, SizeWindow)/SizeWindow, 1,[repmat(data(1), SizeWindow, 1); data]);
I used the BVP_feat_IBI_example.m to create the 'sig' and used BVP_feat_BPM(sig). So the signal should be the example signal.
Can you please have a look on this?
Cheers
Hello again,
While looking at the machine learning tools, I found out that there is no such files named 'kfold_gen'.
for regression i am using (parameters.classifier = 'SVR_RBF')
for classification i am using (parameters.classifier = 'SVMRbf')
Hi
I'm new with TEAP. Can you help me about train and test mahnob database ?
Hello,
I am trying to run the train_and_test_deap file with the following setting:
For Classification
parameters.verbose = false;
parameters.normalize = 3;
parameters.nbClasses = 2;
parameters.lower_limit = -0.5;
parameters.upper_limit = 0.5;
parameters.grid_search = true;
parameters.featSelection = 'Fisher';
parameters.classifier = 'SVMRbf';
parameters.is_fusion = false;
parameters.cross_validation = 'leave-one-out';
and for Regression
parameters.normalize = 3;
%regression
parameters.nbClasses = -1;
parameters.lower_limit = -0.5;
parameters.upper_limit = 0.5;
parameters.grid_search = true;
parameters.featSelection = 'none';
parameters.classifier = 'SVR_RBF';
parameters.cross_validation = 'leave-one-out';
on running the code its showing 'Index Exceed Matrix Dimension' error.
Hello,
While executing the test codes on DEAP database MATLAB is throwing the following errors.
---feature_sel_module not found.
While looking through the toolbox I found that there is no such modules included in the toolbox. Please include the feature_sel_module.
--Undefined function or variable 'nbTrials'.
It is not clear how to set the value of nbTrials. Please resolve this issue also.
Looking forward for your quick remarks.
Thanking You
Sumeet
In the below codes for extracting features from BVP and ECG signals, I found something that might be an issue and would like to ask for clarification.
While the condition for extracting tachogram features from ECG seems to be correctly defined as when length(IBI)
is not less than welch_window_size_IBI + 1
, the condition appears to be wrong for BVP as it is asking that length(IBI) < welch_window_size_**BVP** + 1
be false to compute tachogram power.
TEAP/src/signals/ECG/features/ECG_feat_extr.m
Lines 124 to 127 in b9f8d90
TEAP/src/signals/BVP/features/BVP_feat_extr.m
Lines 130 to 133 in b9f8d90
Shouldn't the condition be length(IBI) < welch_window_size_IBI + 1
for BVP as well?
Hi, I'm wondering why it is necessary to divide a sample rate by 16 in the code:
TEAP/src/signals/GSR/GSR_filter_basic.m
Line 32 in b9f8d90
round(sampRate/16)
is passed as a windowSize
argument for Signal_filter1_low_mean.m
:However, wouldn't this result in an empty signal (1×0 empty double row vector
to be precise) if the sample rate of input is lower than 8Hz? This indeed is the result I get when I try to process data collected at 4Hz.
But first of all, why would sample rate / 16 equal a window size? I've looked at docstrings, but they didn't seem to help much either:
@brief Cleans a signal adding a low-pass mean filter to it. The window equals the sample rate, aka 1 sec.
@param windowSize: the window size (in samples)
Am I missing something here?
Dear Dr,
Hello, can you help me with the following problem? Thank you very much !
Using "loading_MAHNOB" , I try to get the ECG signal in MAHNOB.
However, the waveform I obtained seems to be wrong, because it is unlike the standard ECG signal waveform (fig2 of the paper publishing MAHNOB database). The signal I obtained and the standard signal are attached.
【the ECG signal waveform I obtained using "loading_MAHNOB"】
【the standard ECG signal waveform】
total_sec = floor(size(data.Record,2) / phys_data.srate);
phys_data.data = zeros(n_chans+1, (total_sec)*phys_data.srate);
for j = 1:n_chans
raw_data = data.Record(strcmp(electrode_labels{j},electrode_labels_orig), 1:(total_sec) *
phys_data.srate);
end
ECG_signal = phys_data.data(33,:)-phys_data.data(34,:);
Can you please help me have a look on this? Thank you very much for all your help!
Best regards
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.