Skip to content

DeepCCI removal and out channel parameters#43

Merged
benedekrozemberczki merged 5 commits intomainfrom
out-channels
Jan 17, 2022
Merged

DeepCCI removal and out channel parameters#43
benedekrozemberczki merged 5 commits intomainfrom
out-channels

Conversation

@benedekrozemberczki
Copy link
Contributor

Summary

  • Removes the DeepCCI class.

  • Adds Out channels for DeepSynergy and EPGCN DS.

  • Moves EPGCN-DS to GraphConv layers.

  • Code passes all tests

  • Unit tests provided for these changes

  • Documentation and docstrings added for these changes

@cthoyt
Copy link
Contributor

cthoyt commented Jan 17, 2022

@benedekrozemberczki flake8 got you!

@benedekrozemberczki
Copy link
Contributor Author

I know.

@codecov-commenter
Copy link

Codecov Report

Merging #43 (15e4516) into main (53ca94b) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #43      +/-   ##
==========================================
- Coverage   98.65%   98.64%   -0.02%     
==========================================
  Files          28       27       -1     
  Lines         671      664       -7     
==========================================
- Hits          662      655       -7     
  Misses          9        9              
Impacted Files Coverage Δ
chemicalx/__init__.py 100.00% <ø> (ø)
chemicalx/models/__init__.py 100.00% <ø> (ø)
tests/unit/test_models.py 100.00% <ø> (ø)
chemicalx/models/deepsynergy.py 100.00% <100.00%> (ø)
chemicalx/models/epgcnds.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 53ca94b...15e4516. Read the comment docs.


def __init__(self, *, in_channels: int, hidden_channels: int = 32, out_channels: int = 16):
def __init__(
self, *, in_channels: int, hidden_channels: int = 32, middle_channels: int = 16, out_channels: int = 1
Copy link
Contributor

@cthoyt cthoyt Jan 17, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider adding a default value for in_channels?

In general I think it makes sense to always have reasonable defaults for all models (including DeepSynergy)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, why not!

@benedekrozemberczki benedekrozemberczki merged commit 7eecd9a into main Jan 17, 2022
@benedekrozemberczki benedekrozemberczki deleted the out-channels branch January 17, 2022 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants