We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using GLM using DataFrames df1 = DataFrame(y = rand(10)) df2 = DataFrame(y = rand(10)) model = lm(@formula(y~1),df1) y = predict(model,df2)
Gives the following error: ERROR: ArgumentError: collection must be non-empty
ERROR: ArgumentError: collection must be non-empty
I realize this is a weird edge case, but I think it should just return mean(df1.y) for each prediction.
mean(df1.y)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Gives the following error:
ERROR: ArgumentError: collection must be non-empty
I realize this is a weird edge case, but I think it should just return
mean(df1.y)
for each prediction.The text was updated successfully, but these errors were encountered: