Open heidmic opened 2 years ago
@RomanSraj could you create a new branch with the name "issue_109_introduce_hyperellipsoidal_conditions" for me? It seems that I can't create a Branch on my own.
--- Edit: fixed, got permission to do it
I gave you the permission to do it directly. Otherwise, you could have forked and pushed from there.
Please follow the contribution guidelines and shorten the name to 109_introduce_hyperellipsoidal_conditions
I gave you the permission to do it directly. Otherwise, you could have forked and pushed from there.
Please follow the contribution guidelines and shorten the name to 109_introduce_hyperellipsoidal_conditions
done
Can someone help me to understand how the Rules calculate their experience? @RomanSraj @heidmic
I am trying to implement the gaussian_kernel_function but I am getting this Error:
It pretty much means it was never fitted or has a experience of 0 - standing in this line of Code (suprb/optimizer/rule/es/es.py):
But I don't really understand the code here in the first place. Why is it possible to reference .is_fitted and .experience on the lamba variable rule? Doesn't it need to be declared as a Rule first? Or where does it get the information that the lambda variable rule is part of the Class Rule?
And the other Question is: How rule.experience is calculated. The only position I find that it is set is (suprb/rule/base.py): And I don't really understand how X.shape[0] is returning an experience value.
Can someone help me to understand the Code Base better? Because as long I don't understand how experience is calculated, I can't really debug why my Error is getting thrown.
Thank you in advance.
The most likely issue you are encountering is that no rules matched anything or at least did not fulfil the criteria defined by this optimizers acceptance function, e.g. https://github.com/heidmic/suprb/blob/42a6599e980c4fc2e1d8ca3fa85cb592d5a00aff/suprb/optimizer/rule/es/es.py#L59
with and without rotations