---
library: "bootstrap"
slug: "OntologyAdapt"
name: "OntologyAdapt"
ref: "OntologyAdapt#a541"
hash: "sema:OntologyAdapt#mh:SHA-256:a541f46f3c1ffe236a27dfaafaffd0d3dc76bf7c3fa086b5e9bcf1a945c85e63"
type: "Inference"
layer: "Mind"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/OntologyAdapt"
---

# OntologyAdapt

Restructuring categories to fit data

Mind · Inference

## Mechanism

Derived from Piagetian psychology. When new data defies classification within the current ontology, the [Agent](https://semahash.org/vocabularies/bootstrap/patterns/Agent.md) does not force-fit it or discard it. Instead, it triggers a 'Restructure' event, creating new root [Category](https://semahash.org/vocabularies/bootstrap/patterns/Category.md)s that accommodate the [Anomaly](https://semahash.org/vocabularies/bootstrap/patterns/Anomaly.md) as a fundamental feature. Utilizes [OntologyHandshake](https://semahash.org/vocabularies/bootstrap/patterns/OntologyHandshake.md).

## Invariants

- [Conservation](https://semahash.org/vocabularies/bootstrap/patterns/Conservation.md) of Data: no [Anomaly](https://semahash.org/vocabularies/bootstrap/patterns/Anomaly.md) is discarded during accommodation.
- A restructure fires only for a datum that both falls below `fit_threshold` and has survived validation.
- Accommodation creates [Category](https://semahash.org/vocabularies/bootstrap/patterns/Category.md)s admitting the [Anomaly](https://semahash.org/vocabularies/bootstrap/patterns/Anomaly.md); reshaping it to fit is assimilation.

## Parameters

- fit_threshold: type=Float, range=[0.0, 1.0], description=Classification confidence below which a validated datum counts as unclassifiable.

## Preconditions

- Data validated as true but unclassifiable

## Postconditions

- Data fits naturally in new structure

## Failure modes

- [Category](https://semahash.org/vocabularies/bootstrap/patterns/Category.md) explosion: a new [Category](https://semahash.org/vocabularies/bootstrap/patterns/Category.md) per [Noise](https://semahash.org/vocabularies/bootstrap/patterns/Noise.md) point.
- Orphaned classifications: data under the old roots is not revisited after a restructure.

## Where this came from

—

## Builds on

- [Conservation](https://semahash.org/vocabularies/bootstrap/patterns/Conservation.md) (references)
- [Category](https://semahash.org/vocabularies/bootstrap/patterns/Category.md) (references)
- [Agent](https://semahash.org/vocabularies/bootstrap/patterns/Agent.md) (references)
- [Noise](https://semahash.org/vocabularies/bootstrap/patterns/Noise.md) (references)
- [OntologyHandshake](https://semahash.org/vocabularies/bootstrap/patterns/OntologyHandshake.md) (references)
- [Anomaly](https://semahash.org/vocabularies/bootstrap/patterns/Anomaly.md) (references)

## Used by

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

## Related

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

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: OntologyAdapt#a541
- Hash: sema:OntologyAdapt#mh:SHA-256:a541f46f3c1ffe236a27dfaafaffd0d3dc76bf7c3fa086b5e9bcf1a945c85e63

## Links

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