infer: added script to measure how well a classifier can infer node attributes