Skip to content

Encoding binary categories & empty input #463

@breznak

Description

@breznak

In DateTime encoder #462 I noticed a field weekend is encoded as a Category (with scalar encoder).

Weekend is a binary field : T/F.
We use scalar encoder for categories, with radius=1(no overlap).
Say w=5.
T = [1111100000]
F = [0000011111]

This encoding makes sense for number of categories >2, but for binary cats, I'd prefer
T = [11111]
F = [00000]

Do we want to add such hack to Scalar?

Metadata

Metadata

Assignees

Labels

encoderresearchnew functionality of HTM theory, research idea

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions