anova_table¶
In [ ]:
anova_table(y_true: str,
y_score: str,
input_relation: (str, vDataFrame),
k: int = 1,)
Computes the ANOVA Table.
Parameters¶
| Name | Type | Optional | Description |
|---|---|---|---|
y_true | str | ❌ | Response column. |
y_score | str | ❌ | Prediction. |
input_relation | str / vDataFrame | ❌ | Relation to use to do the scoring. The relation can be a view or a table or even a customized relation. For example, you could write: "(SELECT ... FROM ...) x" as long as an alias is given at the end of the relation. |
k | int | ✓ | Number of predictors. |
Returns¶
tablesample : An object containing the result. For more information, see utilities.tablesample.
Example¶
In [16]:
from verticapy import vDataFrame
vDataFrame("regression_example")
Out[16]:
In [17]:
from verticapy.learn.metrics import anova_table
anova_table("y_true", "y_score", "regression_example")
Out[17]:
