Feasibility and Required Tools 4/4 – Conclusion: try it.
A learning curve: a hand-written rule against a nearest-neighbour model as the number of examples, the label noise and the variety change. Made-up cases.
Try it
Move the controls; the chart and the sentence under it update.
With 200 labelled examples and 10% wrong labels, the model picks the right fix for 87% of held-out pages; the if-else rule gets 84%. A model adds value here.
Made-up cases generated in your browser: each is a page with two audit scores (share of load time in scripts and in images), and the right fix is either “fix scripts” or “fix images”. The rule picks the larger share; more variety adds pockets where that is wrong. Accuracy is measured on 400 held-out cases with correct labels. Not Lighthouse data and not the original project's model.
With 200 labelled examples and 10% wrong labels, the model picks the right fix for 87% of held-out pages; the if-else rule gets 84%. A model adds value here.
Made-up cases generated in your browser: each is a page with two audit scores (share of load time in scripts and in images), and the right fix is either “fix scripts” or “fix images”. The rule picks the larger share; more variety adds pockets where that is wrong. Accuracy is measured on 400 held-out cases with correct labels. Not Lighthouse data and not the original project's model.
The write-up this goes with: Feasibility and Required Tools 4/4 – Conclusion.