casm.learn.print_population¶
-
casm.learn.
print_population
(pop)[source]¶ Print all individual in a population.
Example:
0: 0111011110000111000001001100000100010000… 25 0.015609282 1: 0111011110000111000001001101000100010000… 25 0.015611913 2: 0111011110000111000001001100000100010000… 24 0.015619745
…
- Parameters
pop (List-like of List[bool] of length n_features) – A population, a list-like container of individuals. Each individual is a boolean list of shape [n_features], in which an element is True iff its corresponding feature is selected for retention.