Skip to content

Bug: encoding buffer via encodepoint method in fluid.skmeans~ always is a zero vector #326

@felipetovarhenao

Description

@felipetovarhenao

Please tell us what you were doing! You can include code and files by drag and dropping them into the text area.

When trying to encode a data point with fluid.skmeans~ via the encodepoint method, the output buffer is always a zero vector, regardless of output. The vector length matches the @numclusters argument but seems to be insensitive to the input. This is different from encode which does populate the output fluid.dataset~ with continuous values.

What was the expected result?

The expected result was to get a different encoding given a different input point, which seems to indicate a bug in the encodepoint method.

What was the actual result?

A vector where all values are zero, regardless of input point.

What operating system were you using?

Mac

Operating system version

macOS 26.1 Beta

FluCoMa Version

1.0.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions