MCPcopy Create free account
hub / github.com/ddbourgin/numpy-ml / __lt__

Method __lt__

numpy_ml/preprocessing/nlp.py:418–422  ·  view source on GitHub ↗

Less than

(self, other)

Source from the content-addressed store, hash-verified

416 return self.val >= other.val
417
418 def __lt__(self, other):
419 """Less than"""
420 if not isinstance(other, Node):
421 return -1
422 return self.val < other.val
423
424 def __le__(self, other):
425 """Less than or equal to"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected