dotnet / dotnet/machinelearning

user defined loss function

Open
#2,594 5 comments 0 reactions 1 assignee Claimed by @ganik View on GitHub
api-suggestion area-Core enhancement Priority:2
Dominant language
C#
Stars
9.4k
Forks
2k
Avg merge
2d 20h
Merged PRs (30d)
11

Description

How to declare/use user defined loss function in RegressionMetrics ? RegressionMetrics.LossFn is read only.

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 8dd659ba-d3ca-b421-9b98-0ef4696eea68
* Version Independent ID: 54bb95b7-ec27-4880-c464-7c1f5c292e7f
* Content: [RegressionMetrics Class (Microsoft.ML.Data)](https://docs.microsoft.com/en-us/dotnet/api/microsoft.ml.data.regressionmetrics?view=ml-dotnet#applies-to)
* Content Source: [dotnet/xml/Microsoft.ML.Data/RegressionMetrics.xml](https://github.com/dotnet/ml-api-docs/blob/live/dotnet/xml/Microsoft.ML.Data/RegressionMetrics.xml)
* Product: **dotnet-ml-api**
* GitHub Login: @sfilipi
* Microsoft Alias: **johalex**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.