Moe Chizari

Projects

The write-up

Interactive demo, added

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.

50%60%70%80%90%100%25501002004008001,600Labelled examples (each step doubles)Right fix on held-out pages25 examples: model 66%, rule 84%50 examples: model 72%, rule 84%100 examples: model 83%, rule 84%200 examples: model 87%, rule 84%400 examples: model 90%, rule 84%800 examples: model 94%, rule 84%1,600 examples: model 97%, rule 84%
Model: 5 nearest neighboursIf-else ruleRing: your number of examples

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.

50%60%70%80%90%100%251004001,600Labelled examples (each step doubles)Right fix on held-out pages25 examples: model 66%, rule 84%50 examples: model 72%, rule 84%100 examples: model 83%, rule 84%200 examples: model 87%, rule 84%400 examples: model 90%, rule 84%800 examples: model 94%, rule 84%1,600 examples: model 97%, rule 84%
Model: 5 nearest neighboursIf-else ruleRing: your number of examples

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.

All demos