implemented `get_dropout_rates_ignoring_gaps`