Minimal training data and probability calculation functions for tuning goldsmith analysis