Noncommutative Model Selection and the Data-Driven Estimation of Real Cohomology Groups