bowdidge / switchlist

Mac Switchlist generator for Model Railroads
http://www.vasonabranch.com/switchlist
1 stars 2 forks source link

Suggested Cargo's guesses at industry category aren't great. #79

Open bowdidge opened 8 years ago

bowdidge commented 8 years ago

Currently, the suggested cargo dialog will guess about the likely industry so it can suggest appropriate cargos. The current success rate for a training set is 60% of the guesses are correct, and 85% have the correct industry in the top three suggestions.

We should see if we can improve these success rates.

bowdidge commented 8 years ago

Currently, SwitchList uses a machine learning technique based on similar words to make the guess. (There's also a couple heuristics that strengthen certain terms.)

I tried switching to an approach that looks for similar character pairs; this turned out to be much worse (success rate of 30% on same training set) because cases like "paving" and "canning" appeared to group together because of the "ing" similarity. Other approaches (similar strings) fail in similar ways.