Users and orders: average one person at a time
Select the user or order weight by the estimated object, avoiding HF users from controlling the validation and training results.
Learning objectives and first steps2 objectives . 1 first fix
Try to do it after reading
- Select user or order weight by estimated object
- Avoid HF user domination of validation and training results
Suggested first
- Probability, risk and observation windows
The same table gets two correct averages
The data line of the purchase order model may be an order, but strategic decision-making may be directed to a user. On average, line size gives more users of orders a higher weight; An average of users is first averaged within the user, and each human right is equal. There is no natural higher profile for the two, and the key is whether business issues are concerned with each order or user.
Relevance also affects statistical uncertainty. Multiple orders from the same user share characteristics and behaviours, and are not an equal number of independent information. The random distribution of these orders to training and testing may allow the model to meet almost identical users or underestimate indicator fluctuations.
A synthesis of the two
Three orders were placed on the user pad, with a target value of zero; User B had only one, with a target value of 1. The average order was 1/4 = 0.25, and the average was then consolidated within the user (0+1)/2 = 0.5. If this is the rate of loss of teaching, the two represent an average of each individual and per person and should not be confused with the same overall risk in different reports.
If the order-based training is intended to be similar to that of each person, one third of the weight and one percent of the weight of B per row may be given, and the number of users may be normalized. This gives each user a total weight of 1. However, if the target is a total amount risk, the amount should also be taken into account, and it would be a good thing to add a weight to the weight of the right.
Weights match sampling units
The first sample was evenly taken by the user and then drawn from its order, which was not evenly sampled from the entire order, implying a different distribution. Without preserving the probability of sampling after the sampling, it will be difficult to restore the target mean value. Repeated user validation is best designed on the basis of actual deployment scenarios: projecting new orders to older users is a different task than generalizing them to new users.
Output indicators should be given simultaneously to users, number of orders and weights, indicating the processing of de-keys, multiple singles of the same day and time records. Self-help methods or confidence intervals also match independent entities and re-sampling on orders does not necessarily reflect user-level fluctuations. The maintenance of the same target calibre for training losses, offline evaluations and online strategies will explain whether or not optimization occurs among people who are truly concerned. A model is better for order indicators and for user indicators to vary, and may be a re-allocation, and differences cannot be attributed first to the error of realization.
Self-measurement and provocator
A3 full zero and a B1 with an order average and a user average?
The figures are 0.25 and 0.5, respectively, corresponding to different estimations.
What is the relative weight to be given to each A when the user has the right?
(a) One third of each, with a total power of one; B. The sole order weight is 1.
Sources and reconciliations
Definitions, methods and interfaces are available.
- Hernán and Robins — Causal Inference What If
- scikit-learn — Cross-validation: evaluating estimator performance
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.