Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example with financial data #195

Merged
merged 70 commits into from
Nov 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
09ee61d
Slim vector (#32)
gcattan Oct 18, 2023
16fbb5a
Update Dockerfile
gcattan Oct 18, 2023
0b5d02a
Update financial_data.py
gcattan Oct 18, 2023
249f6c8
Update Dockerfile
gcattan Oct 18, 2023
2319233
Update examples/other_datasets/financial_data.py
gcattan Oct 19, 2023
3139261
Update examples/other_datasets/financial_data.py
gcattan Oct 19, 2023
d485d8d
- rename file to run on Ci
gcattan Oct 19, 2023
d1faa49
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 19, 2023
8cf752b
- print gridsearch results
gcattan Oct 19, 2023
bfad074
change location of a comment
gcattan Oct 19, 2023
8b314cc
plot a sample of the epochs
gcattan Oct 19, 2023
f99eff8
let's try to plot waveforms
gcattan Oct 19, 2023
f72d31b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 19, 2023
e51e7c8
- transpose missing
gcattan Oct 19, 2023
5072a13
correct warning in doc building
qbarthelemy Oct 19, 2023
0d1fd19
standardscaler
gcattan Oct 19, 2023
011f5ec
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 19, 2023
7817975
small modification
gcattan Oct 19, 2023
8e59ed1
fix doc building
qbarthelemy Oct 20, 2023
f97e437
test standardscaler fix on CI
gcattan Oct 21, 2023
6042b80
add randomforest
gcattan Oct 21, 2023
54d6ab3
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 21, 2023
3ca1535
fix features not known
gcattan Oct 21, 2023
31bcaf1
ndstandardscaler
gcattan Oct 21, 2023
a0dd1b8
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 21, 2023
2a66e5b
fix signature
gcattan Oct 21, 2023
58bc705
- add more variables
gcattan Oct 21, 2023
dceca35
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 21, 2023
2dea963
- add gitignore
gcattan Oct 23, 2023
8578f5a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 23, 2023
d474629
update protobuf
gcattan Oct 23, 2023
71d61e9
Update examples/other_datasets/plot_financial_data.py
gcattan Oct 24, 2023
593592f
declare rf inside pipeline
gcattan Oct 24, 2023
258ac24
Update requirements.txt
gcattan Oct 25, 2023
459d264
Merge branch 'main' into main
gcattan Oct 25, 2023
6f2c87c
new implementation of ndstandardscaler
gcattan Oct 26, 2023
eea2520
minor improvement of comments
gcattan Oct 26, 2023
84eafa5
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 26, 2023
e91f3e2
- use stratify
gcattan Oct 27, 2023
b49f922
unsupervised classification with collusion
gcattan Oct 27, 2023
f30f257
improve comment
gcattan Oct 27, 2023
de2afa1
move print of ERP
gcattan Oct 27, 2023
d08be8f
fix label encoding
gcattan Oct 28, 2023
770d6db
plot the two erps on the same figure
gcattan Oct 28, 2023
1b6dda0
Plot ERPs, change some variables.
gcattan Oct 28, 2023
448b720
move ERP plotting to another location
gcattan Oct 28, 2023
9400bea
improve display
gcattan Oct 30, 2023
9e83112
improve graphics
gcattan Oct 30, 2023
a7a26c6
typo
gcattan Nov 8, 2023
29160ce
- Try Tomeklinks
gcattan Nov 9, 2023
14243c9
Select SALDO_ANTES_PRESTAMO
gcattan Nov 10, 2023
f5394d8
use balanced accuracy
gcattan Nov 11, 2023
496f3db
change balance ratio
gcattan Nov 12, 2023
50a0c90
small clean-up
gcattan Nov 12, 2023
77af437
Merge branch 'main' into main
gcattan Nov 12, 2023
e449957
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 12, 2023
8b78f8a
lint
gcattan Nov 12, 2023
62dae07
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 12, 2023
65ea77d
fix seaborn version
gcattan Nov 12, 2023
ad94160
fix Dockerfile
gcattan Nov 12, 2023
4d866a2
Update examples/other_datasets/plot_financial_data.py
gcattan Nov 14, 2023
d4bd2fa
Update examples/other_datasets/plot_financial_data.py
gcattan Nov 14, 2023
e052e92
Update examples/other_datasets/plot_financial_data.py
gcattan Nov 14, 2023
73f8004
Update examples/other_datasets/plot_financial_data.py
gcattan Nov 14, 2023
517d6b1
Update examples/other_datasets/plot_financial_data.py
gcattan Nov 14, 2023
216dcbd
Update examples/other_datasets/plot_financial_data.py
gcattan Nov 14, 2023
ed9ec59
Update examples/other_datasets/plot_financial_data.py
gcattan Nov 14, 2023
585d026
Update examples/other_datasets/plot_financial_data.py
gcattan Nov 14, 2023
e1810bf
Update examples/other_datasets/plot_financial_data.py
gcattan Nov 14, 2023
eb048b4
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
/dist
/pyriemann_qiskit.egg-info/*
*-e
/build/lib/*
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ RUN mkdir /home/mne_data

## Workaround for firestore
RUN pip install protobuf==4.25.0
RUN pip install google_cloud_firestore==2.13.0
RUN pip install google_cloud_firestore==2.13.1
### Missing __init__ file in protobuf
RUN touch /usr/local/lib/python3.9/site-packages/protobuf-4.25.0-py3.9-linux-x86_64.egg/google/__init__.py
## google.cloud.location is never used in these files, and is missing in path.
RUN sed -i 's/from google.cloud.location import locations_pb2//g' '/usr/local/lib/python3.9/site-packages/google_cloud_firestore-2.13.0-py3.9.egg/google/cloud/firestore_v1/services/firestore/client.py'
RUN sed -i 's/from google.cloud.location import locations_pb2//g' '/usr/local/lib/python3.9/site-packages/google_cloud_firestore-2.13.0-py3.9.egg/google/cloud/firestore_v1/services/firestore/transports/base.py'
RUN sed -i 's/from google.cloud.location import locations_pb2//g' '/usr/local/lib/python3.9/site-packages/google_cloud_firestore-2.13.0-py3.9.egg/google/cloud/firestore_v1/services/firestore/transports/grpc.py'
RUN sed -i 's/from google.cloud.location import locations_pb2//g' '/usr/local/lib/python3.9/site-packages/google_cloud_firestore-2.13.0-py3.9.egg/google/cloud/firestore_v1/services/firestore/transports/grpc_asyncio.py'
RUN sed -i 's/from google.cloud.location import locations_pb2//g' '/usr/local/lib/python3.9/site-packages/google_cloud_firestore-2.13.0-py3.9.egg/google/cloud/firestore_v1/services/firestore/transports/rest.py'
RUN sed -i 's/from google.cloud.location import locations_pb2//g' '/usr/local/lib/python3.9/site-packages/google_cloud_firestore-2.13.0-py3.9.egg/google/cloud/firestore_v1/services/firestore/async_client.py'
RUN sed -i 's/from google.cloud.location import locations_pb2//g' '/usr/local/lib/python3.9/site-packages/google_cloud_firestore-2.13.1-py3.9.egg/google/cloud/firestore_v1/services/firestore/client.py'
RUN sed -i 's/from google.cloud.location import locations_pb2//g' '/usr/local/lib/python3.9/site-packages/google_cloud_firestore-2.13.1-py3.9.egg/google/cloud/firestore_v1/services/firestore/transports/base.py'
RUN sed -i 's/from google.cloud.location import locations_pb2//g' '/usr/local/lib/python3.9/site-packages/google_cloud_firestore-2.13.1-py3.9.egg/google/cloud/firestore_v1/services/firestore/transports/grpc.py'
RUN sed -i 's/from google.cloud.location import locations_pb2//g' '/usr/local/lib/python3.9/site-packages/google_cloud_firestore-2.13.1-py3.9.egg/google/cloud/firestore_v1/services/firestore/transports/grpc_asyncio.py'
RUN sed -i 's/from google.cloud.location import locations_pb2//g' '/usr/local/lib/python3.9/site-packages/google_cloud_firestore-2.13.1-py3.9.egg/google/cloud/firestore_v1/services/firestore/transports/rest.py'
RUN sed -i 's/from google.cloud.location import locations_pb2//g' '/usr/local/lib/python3.9/site-packages/google_cloud_firestore-2.13.1-py3.9.egg/google/cloud/firestore_v1/services/firestore/async_client.py'

ENTRYPOINT [ "python", "/examples/ERP/classify_P300_bi.py" ]
1 change: 1 addition & 0 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ cython
mne[data]>=0.24
seaborn>=0.12.1
scikit-learn
imbalanced-learn==0.11.0
joblib
pandas
cvxpy==1.4.1
Expand Down
Loading