Poisson deviation: why do the same absolute error cost differently

(c) Addressing the limit of zero numbers and comparing the penalties for relative errors in the targets of the count.

• Step by stepCollate in 2 self-measured2 First-hand sources
Start Body
Learning objectives and first steps2 objectives . 1 first fix

Try to do it after reading

  • Processing limit for zero numbers
  • Comparison of relative error penalties in numerical targets

Suggested first

  • Classification and probabilities projections

Counting targets may not be suitable for square errors

The non-negative fluctuations tend to vary with the mean, and all projections are evaluated using the same absolute residue measure, which may ignore the structure. The Poisson deviation compares the assigned mean model with the logarithm of the point-by-point saturation model, creating a non-negative loss. While it appears to be short of some of the non-project-dependent elements of the original negative logarithm, cross-dataset interpretation remains consistent with samples and weights.

A comparison of asymmetric values

Real count y = 3, projected average μ = 2, deviation 2 times [3 log(1.5)-1], approximately 0.432791. If the forecast is changed to 4, the absolute error remains at 1, while the deviation is about 0.273908. This is not a miscalculation, as the objective is not necessarily symmetrical to overestimate or underestimate the same absolute distance. When the projected mean value is equal to 3, the deviation is zero. If the real count is 0, ylog(y/μ) is defined as zero by the limit, so the deviation is 2 m. It is not possible to calculate 0 times log(0) in the code and expect the floating point system to automatically give the right limit.

Enter Field and Connection Functions

The labels need to be non-negative and the forecast mean needs to be strictly positive. The use of logarithm links allows for the mapping of physical fractions into positive mean values, but the index still requires a stable and reasonable range of values. The arbitrary reduction of negative projections to a very small positive figure would change the target and could result in significant penalties, and model export contracts should be examined first.

Exposure and weight

If the time of observation varies from record to record, the target may be a unit exposure rate or total, and the loss is different from the weighting method. It should be clear whether logarithmic exposure was used as a bias or whether the appropriate weight evaluation rate should not be interpreted by a daily rate at the same time as the sum of each article. The Poisson mean variance relationship specifies only the distribution assumptions. The effects of excessive fragmentation, zero inflation or related events appear to be inter-segmentary, and even if deviations are still measurable as predictive evaluations, the complete distribution should not be claimed to be correct. For continuing amounts, the use of a target that is likely to be relevant or Tweedie requires alternative assumptions, rather than referring to non-negative numbers as incidents.

Engineering verification

The average or weighted caliber is verified by the construction of three anchor points: zero labels, correct mean values and fixed scale errors. Large zero values may make the overall indicator primarily reflect zero zone performance, and the high-counted areas should also be viewed in a layered manner. Ultimately, if the business is concerned with cumulative quantitative deviations or sequencing, the corresponding indicators need to be reported simultaneously and no one training deviation can be used to replace all uses.

D(y,μ)=2[ylogyμ−(y−μ)]

Self-measurement and provocator

The real count is 0.00. How do you calculate the deviation formula?

(a) 2 m at the limit of 0 x log(0/μ) = 0; Direct calculation of undefined logarithms raises numerical problems.

y = 3, projections 2 and 4 are the same absolute error, must the Poisson bias be the same?

(a) Unlike about 0.432791 and 0.273908, respectively; The target is not symmetrical.

Sources and reconciliations

Definitions, methods and interfaces are available.

  1. scikit-learn — mean_poisson_deviance
  2. Murphy — Probabilistic Machine Learning An Introduction

Figures and calculations are reorganized according to this chapter. Mathematical measurements, framework operations and real business effects are described separately in the body of the text.

← Back to the knowledge directory
Ask Max Ask about this site
Ask Max ↗

Opening the assistant…

Paper figure

Photo comments

LEAVE A NOTE

About this photograph

Connecting to the discussion board…

    Comments become public after moderation. You can delete your own comments from this browser.
    No email is required. Clearing cookies prevents this browser from claiming earlier comments.

    MAX WANG / INDEX

    Find something

    Enter a keyword, or explore the directory below.