danilobenozzo / supervised_causality_detection Goto Github PK
View Code? Open in Web Editor NEWCode associated with the paper Classification-based Causality Detection in Brain Recording
License: MIT License
Code associated with the paper Classification-based Causality Detection in Brain Recording
License: MIT License
Experiment of the paper Classification-based Causality Detection in Brain Recordings. To reproduce the experiments of the paper, follow this pipeline: create_trainset.py - Calls the function in simulator.py to create a train set of a given shape, i.e. number of causal configurations, trials per configuration and time points. create_feature_space.py - Computes the feature vector for each trial in a given dataset, it gives as output 3 file in which r2, mse and granger features are saved. feature_eng_classification_cv.py - Loads the feature vectors that have been computed in the previous step and it enriches the feature vectors by the feature engineering procedure. In case of only one dataset the performance of the supervised approach is quantified by cross-validating the dataset. If two datasets are given and the ground truth of both is known, then the performance is evaluated by considering the predicted causal configuration matrices of the test set. If the ground truth of a dataset is not available then labels can be predicted by applying the classifier trained on the MAR dataset. curveROC_frontier2016_causality.py - This is just for visualizing the ROC curve and computing the AUC of CBC or MBC applied on a given dataset.
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.