microsoft/qlib

ValueError: unknown metric `mse`

Hosen760 opened this issue · 2 comments

❓ Questions and Help

We sincerely suggest you to carefully read the documentation of our library as well as the official paper. After that, if you still feel puzzled, please describe the question clearly under this issue.
image
image

From the stack trace you provided, it seems the error is due to the unknown metric 'mse' specified in your code. According to the error message, the acceptable metrics are an empty string '' or 'loss'. You can resolve this issue by changing metric='mse' to either metric='' or metric='loss'. This should make the model use the default loss function as the metric, rather than looking for a metric named 'mse', which is not recognized.

Hope this helps!

Solved and Merged