You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The scitype of a tuple is intended to be the Tuple of the element scitypes. For example:
julia>scitype((1.0, 4))
Tuple{Continuous, Count}
By this logic, if I create a 1-tuple with a table t as it's single element, then this tuple should have Tuple{scitype(t)}. But this isn't always the case:
This is pretty awful 😢 . For example it makes it tricky, in MLJBase, to use the fit_data_scitype of models, to check compatibility of a model with data, as in JuliaAI/MLJBase.jl#731 . That is, the test scitype(data) <: fit_data_scitype(model) where data is the tuple of data arguments, is not reliable.
The text was updated successfully, but these errors were encountered:
The scitype of a tuple is intended to be the
Tuple
of the element scitypes. For example:By this logic, if I create a 1-tuple with a table
t
as it's single element, then this tuple should haveTuple{scitype(t)}
. But this isn't always the case:The problem is that
(t, )
is also a table (with one row):This is pretty awful 😢 . For example it makes it tricky, in MLJBase, to use the
fit_data_scitype
of models, to check compatibility of a model with data, as in JuliaAI/MLJBase.jl#731 . That is, the testscitype(data) <: fit_data_scitype(model)
wheredata
is the tuple of data arguments, is not reliable.The text was updated successfully, but these errors were encountered: