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

add DummyFeaturization #87

Closed
wants to merge 13 commits into from
Closed

add DummyFeaturization #87

wants to merge 13 commits into from

Conversation

rkurchin
Copy link
Member

Resolves #85 .

…ved `decode(::AtomGraph)` from graphnodefeaturization to atomgraph, also added some generic methods and imports/exports.

Signed-off-by: Rachel Kurchin <[email protected]>
…exports so existing tests pass

Signed-off-by: Rachel Kurchin <[email protected]>
Signed-off-by: Rachel Kurchin <[email protected]>
Signed-off-by: Rachel Kurchin <[email protected]>
@codecov-commenter
Copy link

codecov-commenter commented Jun 23, 2021

Codecov Report

Merging #87 (4581d1c) into main (c5bde65) will increase coverage by 1.41%.
The diff coverage is 76.47%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #87      +/-   ##
==========================================
+ Coverage   81.08%   82.50%   +1.41%     
==========================================
  Files          11       13       +2     
  Lines         312      320       +8     
==========================================
+ Hits          253      264      +11     
+ Misses         59       56       -3     
Impacted Files Coverage Δ
src/ChemistryFeaturization.jl 100.00% <ø> (+100.00%) ⬆️
src/atoms/atoms.jl 0.00% <0.00%> (ø)
src/features/elementfeature.jl 81.81% <ø> (-0.54%) ⬇️
src/features/speciesfeature.jl 0.00% <ø> (ø)
src/featurizations/graphnodefeaturization.jl 90.90% <ø> (-1.10%) ⬇️
src/features/features.jl 75.00% <50.00%> (+75.00%) ⬆️
src/featurizations/featurizations.jl 75.00% <66.66%> (+75.00%) ⬆️
src/atoms/atomgraph.jl 65.06% <85.71%> (+2.72%) ⬆️
src/featurizations/dummyfeaturization.jl 100.00% <100.00%> (ø)
... and 1 more

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 c5bde65...4581d1c. Read the comment docs.

src/features/features.jl Outdated Show resolved Hide resolved
src/featurizations/featurizations.jl Outdated Show resolved Hide resolved
src/featurizations/featurizations.jl Outdated Show resolved Hide resolved
@test_throws ArgumentError decode(df, dummy_encoded)
F2 = AtomGraph(Float32.([0 1; 1 0]), ["F", "F"])
@test_throws ArgumentError featurize!(F2, df)
end
Copy link
Contributor

Choose a reason for hiding this comment

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

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
end
end

test/module_tests.jl Outdated Show resolved Hide resolved
test/runtests.jl Outdated Show resolved Hide resolved
@rkurchin rkurchin mentioned this pull request Jun 28, 2021
@rkurchin
Copy link
Member Author

This approach is being abandoned, at least for now, and the docstring commits have been grabbed over in #90, so I'm going to close this.

@rkurchin rkurchin closed this Jun 28, 2021
@rkurchin rkurchin deleted the dummyfzn branch March 7, 2022 23:13
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.

make DummyFeaturization
2 participants