Naive bayes learning without terrain