-
Notifications
You must be signed in to change notification settings - Fork 173
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
EegModuleMixin extension #514
EegModuleMixin extension #514
Conversation
…el to EEGModuleMixin
Codecov Report
@@ Coverage Diff @@
## master #514 +/- ##
==========================================
+ Coverage 84.33% 84.39% +0.06%
==========================================
Files 63 63
Lines 4514 4525 +11
==========================================
+ Hits 3807 3819 +12
+ Misses 707 706 -1 📢 Have feedback on the report? Share it here. |
Responding to @tgnassou comment:
Actually the problem is in trying to use @tgnassou what kind of error do you receive? maybe it would be easier to think of solution |
and yes, for partially initialized models it will work only for In case of |
@sliwy, @tgnassou, once @brunaafl will be finished with #520, the next step will be to make methods |
@PierreGtch It's the convention I thought of, if we have a specific name of the last layer then it's possible |
* added output_shape, convert_to_regressor, and to_dense_prediction_model to EEGModuleMixin * added tests for output_shape and to_dense_prediction_model in EEGMoudleMixin * change to use to_dense_prediction_model method instead of function * reverting convert_to_regressor changes * update tests to use chs_info instead of ch_names * fix typing hint to work with older pythons * added n_times when creating model in test_scoring.py * change output_shape property to get_output_shape method * changed deprecation to use sklearn * fix get_output_shape in example * added whats new --------- Co-authored-by: PierreGtch <25532709+PierreGtch@users.noreply.github.com>
Adding
input_shape
,get_output_shape
,to_dense_prediction_model
toEEGModuleMixin
, cf #457Deprecating
get_output_shape
andto_dense_prediction_model
, will be removed in version 1.0.When we have a proper way of removing logsoftmax we may replace functions with methods everywhere.
Solve #432 with raising error suggesting that input size may be too small.