JuliaAI / ScientificTypes.jl

An API for dispatching on the "scientific" type of data instead of the machine type
MIT License
96 stars 8 forks source link

fix issue #146 #151

Closed OkonSamuel closed 2 years ago

OkonSamuel commented 2 years ago

closes #146

julia> X = Tables.table(coerce(rand("abc", 5, 3), Multiclass))
Tables.MatrixTable{CategoricalArrays.CategoricalMatrix{Char, UInt32, Char, CategoricalArrays.CategoricalValue{Char, UInt32}, Union{}}} with 5 rows, 3 columns, and schema:
 :Column1  CategoricalArrays.CategoricalValue{Char, UInt32}
 :Column2  CategoricalArrays.CategoricalValue{Char, UInt32}
 :Column3  CategoricalArrays.CategoricalValue{Char, UInt32}

julia> scitype(X)
Table{AbstractVector{Multiclass{3}}}
codecov-commenter commented 2 years ago

Codecov Report

Merging #151 (5d37505) into dev (1aa5bbf) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##              dev     #151   +/-   ##
=======================================
  Coverage   94.53%   94.53%           
=======================================
  Files           7        7           
  Lines         293      293           
=======================================
  Hits          277      277           
  Misses         16       16           
Impacted Files Coverage Δ
src/convention/scitype.jl 78.37% <ø> (ø)

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 1aa5bbf...5d37505. Read the comment docs.