Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[monitoring features] finish implementation #45

Open
jakobbossek opened this issue Mar 15, 2018 · 1 comment
Open

[monitoring features] finish implementation #45

jakobbossek opened this issue Mar 15, 2018 · 1 comment

Comments

@jakobbossek
Copy link
Owner

No description provided.

@jakobbossek
Copy link
Owner Author

At the moment we have the following strong issue: when we started to work on monitoring features the algorithms of interest (LKH and EAX) logged incumbent values in every single iteration/generation. I.e. if N is the last iteration we had values for every 1 <= i <= N. Monitoring features so far partially rely on this property (in particular plateau features). Saving the incumbent in every single iteration though is quite space consuming and oftentimes there is little or not progress at all thoughout thousands of generations. To cut a way to long story short: the monitoring feature set code needs adaptation 😃

Example: See listing below. We see that slope features are seem to show reasonable values (negative slope since the trajectory is monotonically decreasing). However, all plateaus features take values Inf, NA or NaN.

> set.seed(1)
> x = generateRandomNetwork(n.points = 500, lower = 10, upper = 1000)
> x_feats_monitoring = getMonitoringFeatureSet(times = trace$time.passed, incumbents = trace$incumbant)
Warnmeldungen:
1: In min(x) : kein nicht-fehlendes Argument für min; gebe Inf zurück
2: In max(x) : kein nicht-fehlendes Argument für max; gebe -Inf zurück
3: In sqrt(((n - 1)/n)^(3L)) : NaNs wurden erzeugt
> x_feats_monitoring
$monitoring_slopes_consecutive_mean
[1] -889.1

$monitoring_slopes_consecutive_sd
[1] 918.8

$monitoring_slopes_consecutive_var
[1] 844151

$monitoring_slopes_consecutive_median
[1] -678

$monitoring_slopes_consecutive_varcoeff
[1] -1.033

$monitoring_slopes_consecutive_min
[1] -5061

$monitoring_slopes_consecutive_max
[1] -45.11

$monitoring_slopes_consecutive_span
[1] 5016

$monitoring_slopes_consecutive_skew
[1] -2.035

$monitoring_slopes_improvement_mean
[1] -889.1

$monitoring_slopes_improvement_sd
[1] 918.8

$monitoring_slopes_improvement_var
[1] 844151

$monitoring_slopes_improvement_median
[1] -678

$monitoring_slopes_improvement_varcoeff
[1] -1.033

$monitoring_slopes_improvement_min
[1] -5061

$monitoring_slopes_improvement_max
[1] -45.11

$monitoring_slopes_improvement_span
[1] 5016

$monitoring_slopes_improvement_skew
[1] -2.035

$monitoring_vertical_gaps_mean
[1] -13.69

$monitoring_vertical_gaps_sd
[1] 14.7

$monitoring_vertical_gaps_var
[1] 216

$monitoring_vertical_gaps_median
[1] -10.5

$monitoring_vertical_gaps_varcoeff
[1] -1.073

$monitoring_vertical_gaps_min
[1] -90

$monitoring_vertical_gaps_max
[1] -1

$monitoring_vertical_gaps_span
[1] 89

$monitoring_vertical_gaps_skew
[1] -2.785

$monitoring_plateau_length_mean
[1] NaN

$monitoring_plateau_length_sd
[1] NA

$monitoring_plateau_length_var
[1] NA

$monitoring_plateau_length_median
[1] NA

$monitoring_plateau_length_varcoeff
[1] NA

$monitoring_plateau_length_min
[1] Inf

$monitoring_plateau_length_max
[1] -Inf

$monitoring_plateau_length_span
[1] -Inf

$monitoring_plateau_length_skew
[1] NaN

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

No branches or pull requests

1 participant