Embedded validation: how the results of the trajectories are separated from those of the selection process

Duty to track data at the internal and external levels, distinguishing between selected configuration performance and selection process generalization.

• 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

  • Duty to track data at the internal and external levels
  • Distinguishing selection profile performance from selection process generalization

Suggested first

  • Classification and probabilities projections

The best test scores are also involved in the selection

Compared with many excess parameters and selected the best test score, the best value will be influenced by selection and will often be more optimistic than the true undetected data performance. Embedded validation places the reference to the inner layer, where only the entire selection process is evaluated. It increases the calculation of costs, but clearly distinguishes between the information used for selection and that used for reporting.

Two outer-story trajectories

In the first outer-level training component, the inner layer is estimated to be configured with an error of 0.1 for A and 0.2 for B, so A is selected; After freezing this option, the outer layer was set aside for a fraction of 0.3. Within the second outer-level training component, A for 0.3, B for 0.1, so B is selected; The outer layer error was 0.2. The average error in the outer layer was 0.25. If the minimum value of the inner layer is taken twice directly, it is 0.1, which is a distinctly different number. It evaluates internal achievements that have been selected, not the result of the entire selection process with respect to data that have not been involved in the selection. The different configurations of the two outer layers do not constitute a mistake, but rather indicate that the selection is influenced by the training sample.

Data processing is also in the selection process

Standardization, missing filling, identity selection, re-sampling and calibration should be developed within the respective permitted training layers. Model parameters are only embedded, while full data are used in advance to select the characteristics, which are still leaking. Data-driven rules are also processes and should not be left out of division because of the weight of the neural network.

Time and user structure

The general randomized assumed exchangeability is not necessarily appropriate for time series and repeat users. The outer layer should be simulated for future deployment and the inner layer should not be pushed backwards with the future; When separated by the user, the layers are maintained. The so-called mosaics are not automatically justified by the fact that two random slits are stacked together.

How do you train the final model

Once the evaluation process is completed, the selection can be re-executed and the final model trained on available data as agreed in advance. It is not necessarily the same as the specific models at the outer layers, which estimate the performance of such selection processes. If the pool of candidates is repeated on the basis of the results of the outer layer, the outer layer is also involved in a new round of selections, which requires the retention of a new final verification. The report should indicate the discounts, grouping, indicator weights, candidate space and all pre-treatment. The lower layers of the small sample are estimated to remain volatile, and more combinations are calculated without adding independent information. A clear description of the data function would ensure that the conclusions could be repeated rather than a single set of cross-check scores.

R^outer=1K∑k=1KLk

Self-measurement and provocator

Should the case be reported as 0.1 or 0.25 as an outer-surface process error?

0.25. 0.1 is the lowest achievement after internal selection and cannot substitute for an external evaluation that is not involved in the selection.

Is the full data completely isolated by selecting the characteristics and embedding the modem?

Nothing. Characteristics selections already use the outer layer to leave information and should be included in the permitted training process at each level.

Sources and reconciliations

Definitions, methods and interfaces are available.

  1. scikit-learn — Cross-validation
  2. scikit-learn — Nested versus non-nested cross-validation

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.