---
library: "bootstrap"
slug: "Almostnot"
name: "Almostnot"
ref: "Almostnot#4d07"
hash: "sema:Almostnot#mh:SHA-256:4d077fbd29b813e8cada6cc2c1c8bdbb34b81766a9f3fef3351aa7ad24a0f11f"
type: "Reasoning"
layer: "Mind"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/Almostnot"
---

# Almostnot

Learn a pattern from near misses: excluded cases that differ from members by one stated feature

Mind · Reasoning

## Mechanism

To learn or teach a pattern, collect near misses, cases that resemble members but are deliberately excluded, and for each state the feature that excludes it. The pattern's definition, formed as in [Generalize](https://semahash.org/vocabularies/bootstrap/patterns/Generalize.md), names the features the near misses lack as well as what members share.

## Invariants

- Each near miss states the feature that excludes it.
- The definition names the features learned from the near misses.

## Failure modes

- Far misses: excluded cases differ in many features, so none is learned.
- Feature leak: a near miss is excluded for a feature the definition never names.

## Where this came from

—

## Builds on

- [Generalize](https://semahash.org/vocabularies/bootstrap/patterns/Generalize.md) (references)

## Related

- [Specialize](https://semahash.org/vocabularies/bootstrap/patterns/Specialize.md)
- [PatternDiscovery](https://semahash.org/vocabularies/bootstrap/patterns/PatternDiscovery.md)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: Almostnot#4d07
- Hash: sema:Almostnot#mh:SHA-256:4d077fbd29b813e8cada6cc2c1c8bdbb34b81766a9f3fef3351aa7ad24a0f11f

## Links

- Page: https://semahash.org/vocabularies/bootstrap/patterns/Almostnot
- JSON: https://semahash.org/vocabularies/bootstrap/patterns/Almostnot.json
- Library: https://semahash.org/vocabularies/bootstrap
- Library index: https://semahash.org/vocabularies/bootstrap/index.json
