Pattern Recognition In Astrophysics And The Anthropic Principle