Open TheFibonacciEffect opened 2 weeks ago
Hi, I have to admit I might not have thought through well enough how to use it in the scalar case (1-dimensional input) ... The code generally assumes that it's higher-dimensional input, so a matrix is interpreted as multiple covariates for multiple input points, whereas a vector is interpreted as multiple covariates for a single input point, not as a single covariate for multiple input points. To predict for multiple points, you need to pass in a matrix; in your case, an $N \times 1$ matrix. E.g. as follows:
ln(reshape(1:0.1:10, :, 1))
Okay, thanks a lot. Do you think it would make sense to support this use case? It would only be a line of code overloading the function for vectors and I think its quite common to do linear regressions on 1D data.
The challenge is how to distinguish between "vector = a single data point with multiple covariates" and "vector = multiple data points with a single covariate each"... (e.g. KernelFunctions.jl exports ColVecs and RowVecs, but that seems too heavy a dependency for this package.) How would you suggest to support both ?
Hi, I would like to predict the model on a dataset. Here is what I tried, I thought it was supposed to work according to the readme:
Now I try to predict the model on a set of points:
Is this how it is supposed to be done according to the readme or did I misunderstand it?