You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lmc= lm(yc~I(x1)^2+log(x2), data=data)
So not built with a recipe like specified here
When I run the API, locally, I see
[
{
"I(x1)": "**string**",
"log(x2)": 0
}
]
but of course I have it as numeric.
For the second variable, I get
{
"error": "500 - Internal server error",
"message": "Error in eval(predvars, data, env): object 'x2' not found\n"
}
I don't feel sure what I posted belongs to an issue, since I stated I deviated from the recipe good practice. Maybe it can just lead to a specification in the documentation.
The text was updated successfully, but these errors were encountered:
You can definitely use lm() directly with a simple formula, like this example, but if you start using more complex formula syntax then lm() doesn't give you a way to get out the true inputs. For example:
I have a model like that
lmc= lm(yc~I(x1)^2+log(x2), data=data)
So not built with a recipe like specified here
When I run the API, locally, I see
but of course I have it as numeric.
For the second variable, I get
I don't feel sure what I posted belongs to an issue, since I stated I deviated from the recipe good practice. Maybe it can just lead to a specification in the documentation.
The text was updated successfully, but these errors were encountered: