fitRegression doesn't work for arbitrary num types. It defaults to double. The current behaviour when a user passes in a dataframe with other num types is to filter all of them out. We can do an implicit conversion inside fitRegression.