Skip to content
This repository was archived by the owner on Dec 31, 2020. It is now read-only.

Java - Overrided select() function defined in HTM.learn().select() never called. #22

@Andrea-Giordano

Description

@Andrea-Giordano

Template:

DataStream<T> result = HTM.learn(stream, new Network())
				.select(new InferenceSelectFunction<R, T>() {
                                           @Override
                                            public T select(Tuple2<R, NetworkInference> inference) throws Exception {
					              	return inference.f1.getAnomalyScore();
                                             }
				});

The overrided select is never called. I verified that following the call hierarchy. This lead to no one output produced. Anyway, I verified the anomaly score, internally, is correctly computed.

Tried to resolve it, no great results reached. Please, fix it.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions