SelanjutnyaPanduan berikutnya
Huber Loss and Robust Regression
Teknis
PANDUAN Teknis
Quantile regression predicts a chosen percentile of an outcome conditional on the available inputs.
It is useful when a median or an upper-tail estimate answers a planning question better than a prediction of the mean.
Ordinary least-squares regression targets a conditional mean. Quantile regression targets another point in the conditional outcome distribution, such as the median or the 90th percentile. The inputs might describe a parcel's route and dispatch time; the output could be a delivery-time percentile for parcels with those characteristics. The median is the 50th percentile. For a continuous outcome with a well-estimated conditional 90th percentile, roughly 90% of comparable outcomes should fall at or below that value. This is a statement about a distribution of outcomes. It is not a claim that the predicted value itself is correct with 90% probability. Quantile regression uses an asymmetric penalty called pinball loss. At a high quantile, underprediction costs more than an equally large overprediction. This pushes the fitted estimate upward relative to the median. Choosing a quantile therefore makes the planning objective explicit instead of hiding it inside an average. Separate lower and upper quantile estimates can form a prediction range. Estimates of the 10th and 90th percentiles suggest a nominal central 80% interval. The word nominal matters: a fitted model can be wrong. Evaluate the fraction of held-out outcomes covered by the interval and examine its width. Also inspect relevant groups rather than relying only on an overall average. Scikit-learn's QuantileRegressor provides a linear model with regularization. Quantile methods also exist for other model families. Predictions from separately fitted quantiles can cross, producing an upper estimate below a lower one. Check for that failure explicitly. Quantile regression gives a useful way to describe variation, but neither the training objective nor an attractive interval chart guarantees reliable uncertainty estimates.
Keputusan arsitektur mendorong kinerja dan biaya pengoperasian selama bertahun-tahun.
Pendidikan teknis membantu tim memilih tumpukan yang tepat, bukan hanya yang terbaru.
Pilihan teknik yang lebih baik mengurangi insiden keandalan dalam produksi.
Prediction interfaces could make quantiles more understandable by explaining which planning question each estimate answers. A team reserving service capacity might care about an upper percentile, while another team may need a typical duration. Reports should connect those choices to observed coverage and the cost of being early or late. As operating conditions change, teams will need to reevaluate both the percentile predictions and their intervals. Better uncertainty communication will come from showing the assumptions, evaluation period and actual outcomes alongside the forecast, rather than displaying additional decimal places.
A delivery team predicts the median arrival time and the 90th percentile for parcels with similar characteristics. The upper percentile can inform a more cautious planning estimate, subject to checking actual coverage.
In a hypothetical pinball-loss calculation at the 90th percentile, predicting 10 when the outcome is 12 incurs a loss of 1.8. Predicting 14 for that same outcome incurs a loss of 0.2.
A service desk predicts the 10th and 90th percentiles of resolution time. It checks how often later outcomes fall between those estimates and whether the interval is unnecessarily wide.
An analyst uses scikit-learn's QuantileRegressor for a linear quantile model, then compares it with a suitable nonlinear model using the same held-out data and quantile loss.
Mengoptimalkan satu tolok ukur dapat menyembunyikan kelemahan sistem yang lebih luas.
Biaya infrastruktur dan pemeliharaan sering kali diremehkan.
Kesenjangan keamanan dan kemampuan observasi dapat tumbuh seiring dengan semakin kompleksnya sistem.
Tentukan target latensi, kualitas, dan biaya sebelum penerapan.
Tolok ukur dalam kondisi beban dan data yang realistis.
Pemantauan instrumen untuk kesalahan, penyimpangan, dan dampak pengguna.
Siapkan jalur rollback dan respons insiden sebelum melakukan penskalaan.
Free newsletter
Three verified AI stories every weekday morning, written in plain English. Free forever, no ads.
One email each weekday. Unsubscribe in one click. We never sell or share your address.
Test yourself
Instant feedback on every answer, and a shareable certificate with a verifiable ID once you pass a course.
Support free AI education. AI Understanding is a 501(c)(3) nonprofit — no ads, no paywall, ever. Make a donation
Quantile regression predicts a chosen percentile of an outcome conditional on the available inputs. It is useful when a median or an upper-tail estimate answers a planning question better than a prediction of the mean.
Kuantil bersyarat menempatkan suatu titik dalam distribusi hasil untuk masukan tertentu; tidak ada kemungkinan bahwa satu prediksi numerik akan tepat.
Sisanya positif dua, jadi kerugiannya 0,9 kali dua, atau 1,8.
Asimetri dalam kerugian pinball membuat prediksi yang terlalu rendah menjadi lebih mahal pada tingkat kuantil tinggi.
Massa probabilitas antara persentil ke-10 dan ke-90 adalah 80 poin persentase, jika kuantil tersebut diperkirakan dengan benar.
Jumlah pelatihan tidak menjamin cakupan; hasil yang disembunyikan menunjukkan kurangnya cakupan data yang dievaluasi.
Teruslah belajar
Panduan lainnya dipilih untuk topik ini
SelanjutnyaPanduan berikutnya
Huber Loss and Robust Regression
Teknis