Applying Metrics to Machine-Learning Tools: A Knowledge Engineering Approach