Closed ablaom closed 3 years ago
Merging #143 (ddae7af) into dev (e72b6c8) will decrease coverage by
2.31%
. The diff coverage is0.00%
.
@@ Coverage Diff @@
## dev #143 +/- ##
==========================================
- Coverage 96.85% 94.53% -2.32%
==========================================
Files 7 7
Lines 286 293 +7
==========================================
Hits 277 277
- Misses 9 16 +7
Impacted Files | Coverage Δ | |
---|---|---|
src/ScientificTypes.jl | 100.00% <ø> (ø) |
|
src/convention/scitype.jl | 78.37% <0.00%> (-18.29%) |
:arrow_down: |
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 e72b6c8...ddae7af. Read the comment docs.
This PR overloads
scitype
to return appropriately parameterised versions of the new scitypesSampleable{K}
andDensity{K}
for objects with type<: Distributions.Sampleable
:Currently
UnivariateFinite
distributions from MLJBase will have scitypeDensity{Unknown}
because theirVariateType
is currently defined in MLJBase. I'm not aware of a simple solution that is not also breaking and propose postponing this untilUnivariateFinite
is migrated to it's own package.