mean_squared_log_error¶
In [ ]:
mean_squared_log_error(y_true: str,
y_score: str,
input_relation: (str, vDataFrame),
cursor = None)
Computes the Mean Squared Log Error.
Parameters¶
| Name | Type | Optional | Description |
|---|---|---|---|
y_true | str | ❌ | Response column. |
y_score | str | ❌ | Prediction. |
input_relation | str / vDataFrame | ❌ | The relation used for scoring. This relation can be a view, table, or customized relation. For example, you could write: "(SELECT ... FROM ...) x" as long as an alias is given at the end of the relation. |
cursor | DBcursor | ✓ | Vertica DB cursor. |
Returns¶
float : score
Example¶
In [135]:
from verticapy import vDataFrame
vDataFrame("regression_example")
Out[135]:
In [136]:
from verticapy.learn.metrics import mean_squared_log_error
mean_squared_log_error("y_true", "y_score", "regression_example")
Out[136]:
