Closed lokeshh closed 8 years ago
This method will be useful to replace Matrix
with NMatrix
in Statsample-GLM.
In Ruby you can get away with just numeric?
instead of is_numeric?
since it allows question marks.
Make that change and I'll merge.
I just found out that there's already numeric?
implemented in Daru. So, I've removed is_numeric?
completely and now using numeric?
now.
Rebase against current master and I'll merge.
This can be merged now. Also could a Daru release be done now, so I can make sure Statsample-GLM build is passing and Formula Language PR can be merged.
Daru::DataFrame and Daru::Vector has
to_matrix
method to convert toMatrix
object but no method in Daru::Vector to convert toNMatrix
object. This PR accomplishes that. In addition it addsis_numeric?
method to decide if vector contain all numeric values or not.