class_docstr: Tranformer mixin that performs feature selection given a support mask
  
  This mixin provides a feature selector implementation with `transform` and
  `inverse_transform` functionality given an implementation of
  `_get_support_mask`.
class_docstr_tok: ["Tranformer","mixin","that","performs","feature","selection","given","a","support","mask","This","mixin","provides","a","feature","selector","implementation","with","`","transform","`","and","`","inverse_transform","`","functionality","given","an","implementation","of","`","_get_support_mask","`","."]
docstr: Get a mask, or integer index, of the features selected
  
  Parameters
  ----------
  indices : boolean (default False)
      If True, the return value will be an array of integers, rather
      than a boolean mask.
  
  Returns
  -------
  support : array
      An index that selects the retained features from a feature vector.
      If `indices` is False, this is a boolean array of shape
      [# input features], in which an element is True iff its
      corresponding feature is selected for retention. If `indices` is
      True, this is an integer array of shape [# output features] whose
      values are indices into the input feature vector.
docstr_tok: ["Get","a","mask",",","or","integer","index",",","of","the","features","selected","Parameters","--","--","--","--","--","indices",":","boolean","(","default","False",")","If","True",",","the","return","value","will","be","an","array","of","integers",",","rather","than","a","boolean","mask",".","Returns","--","--","--","-","support",":","array","An","index","that","selects","the","retained","features","from","a","feature","vector",".","If","`","indices","`","is","False",",","this","is","a","boolean","array","of","shape","[","#","input","features","]",",","in","which","an","element","is","True","iff","its","corresponding","feature","is","selected","for","retention",".","If","`","indices","`","is","True",",","this","is","an","integer","array","of","shape","[","#","output","features","]","whose","values","are","indices","into","the","input","feature","vector","."]
code: def get_support(self, indices=False):
      """
      Get a mask, or integer index, of the features selected
  
      Parameters
      ----------
      indices : boolean (default False)
          If True, the return value will be an array of integers, rather
          than a boolean mask.
  
      Returns
      -------
      support : array
          An index that selects the retained features from a feature vector.
          If `indices` is False, this is a boolean array of shape
          [# input features], in which an element is True iff its
          corresponding feature is selected for retention. If `indices` is
          True, this is an integer array of shape [# output features] whose
          values are indices into the input feature vector.
      """
      mask = self._get_support_mask()
      return mask if not indices else np.where(mask)[0]
  
file_path: catboost/contrib/python/scikit-learn/py2/sklearn/feature_selection/base.py
imports: from abc import ABCMeta, abstractmethod
  from warnings import warn
  import numpy
  from scipy.sparse import issparse, csc_matrix
  from ..base import TransformerMixin
  from ..utils import check_array, safe_mask
  from ..externals import six
label_desc: Use image node_id 1 for calling the SelectorMixin obj's underlying member method code with example usage: obj.get_support(indices) and returns: unknown