code: def feature(self, index):
          
          if index < 0 or index >= self.num_features_:
              raise ValueError('Index %d out of range' %(index))
          return self.features_[index]
docs: Returns a feature.
  
          Parameters
          ----------
          index : int
              index of feature in list
  
          Returns
          -------
          :obj:`Feature`