Skip to content
This repository has been 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

Open
Andrea-Giordano opened this issue Sep 2, 2017 · 2 comments
Assignees

Comments

@Andrea-Giordano
Copy link

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.

@EronWright
Copy link
Collaborator

@Andrea-Giordano I'm working with Andrea offline to understand the issue.

@EronWright EronWright self-assigned this Sep 6, 2017
@rhyolight
Copy link

Cheers @EronWright! Thanks for tending house 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants