Multivariate Pattern Analysis in Python

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- PyMVPA Home |
- Sitemap »
- PyMVPA User Manual »
- Miscellaneous »
- mvpa2.misc.support »

# mvpa2.misc.support.rfe_history_to_maps

`mvpa2.misc.support.``rfe_history_to_maps`(history)

  Convert history generated by RFE into the array of binary maps

  Example:
    history2maps(np.array( [ 3,2,1,0 ] ))
  results in
    array([[ 1., 1., 1., 1.],
      [ 1., 1., 1., 0.], [ 1., 1., 0., 0.], [ 1., 0., 0., 0.]])

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- PyMVPA Home |
- Sitemap »
- PyMVPA User Manual »
- Miscellaneous »
- mvpa2.misc.support »