class_docstr: Weights for top features, :pos: for positive and :neg: for negative,
  sorted by descending absolute value.
  Number of remaining positive and negative features are stored in
  :pos_remaining: and :neg_remaining: attributes.
class_docstr_tok: ["Weights","for","top","features",",",":","pos",":","for","positive","and",":","neg",":","for","negative",",","sorted","by","descending","absolute","value",".","Number","of","remaining","positive","and","negative","features","are","stored","in",":","pos_remaining",":","and",":","neg_remaining",":","attributes","."]
code: def __init__(
      self,
      pos,  # type: List[FeatureWeight]
      neg,  # type: List[FeatureWeight]
      pos_remaining=0,  # type: int
      neg_remaining=0,  # type: int
  ):
      # type: (...) -> None
      self.pos = pos
      self.neg = neg
      self.pos_remaining = pos_remaining
      self.neg_remaining = neg_remaining
  
imports: from typing import Any, List, Tuple, Union, Optional
  import numpy
  from .base_utils import attrs
  from .formatters.features import FormattedFeatureName
label_desc: Use image node_id 1 to create a new FeatureWeights object from inherited base classes: object with example: obj = FeatureWeights(pos, neg, pos_remaining, neg_remaining)