Skip to content

Commit

Permalink
11. adding of eeg dataset with bayesian tests
Browse files Browse the repository at this point in the history
  • Loading branch information
qnater committed Sep 27, 2024
1 parent 54e109c commit 37680e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions imputegap/contamination/contamination.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def scenario_missing_percentage(ts, series_impacted=0.2, missing_rate=0.2, prote
W = int((N - P) * missing_rate) # number of data to remove

for to_remove in range(0, W):
index = P + to_remove
ts_contaminated.iat[series, index] = np.nan
I = P + to_remove
ts_contaminated[S, I] = np.nan

return ts_contaminated

0 comments on commit 37680e9

Please sign in to comment.