Closed tylerjthomas9 closed 1 year ago
Thanks! I was a bit more aggressive and just got rid of DataTuple
altogether. There were also some problems with your DMatrix
constructor because the Tables.jl interface does not guarantee that getindex
method to exist.
This is superseded by #133 as it was easier for me to do there.
Modify
DMatrix
to accept a generic tuple of 2 instead of aDataTuple
I set the type toTuple{Any,AbstractVector}
, because we want a tuple of 2 items, and the second item has to be an abstract vector. I am not sure if we want this or just a generic tuple. This error was mentioned hereAdded a function for setting the value of the label in a
DMatrix
. Usage was in the docs, but I could not find this function.Added functionality for instantiating a
DMatrix
with a table and symbol for the label. This was also in the docs, but it did not work.