(data_instance, feature_mask)
return data_instance
return data_instance with features at given indices
        Parameters
        ----------
        data_instance: data Instance object, input data
        feature_mask: mask to filter data_instance
return data_instance with features at given indices
        Parameters
        ----------
        data_instance: data Instance object, input data
        feature_mask: mask to filter data_instance
return data_instance with features at given indices Parameters ---------- data_instance : data Instance object input data feature_mask : mask to filter data_instance
def slice_data_instance(data_instance, feature_mask):
        """
        return data_instance with features at given indices
        Parameters
        ----------
        data_instance: data Instance object, input data
        feature_mask: mask to filter data_instance
        """
        data_instance.features = data_instance.features[feature_mask]
        return data_instance
def slice_data_instance ( data_instance , feature_mask ) : data_instance . features = data_instance . features [ feature_mask ] return data_instance