Skip to content

Crash when marking changepoints in renaissance data #100

@vext01

Description

@vext01

It could be that the data is incomplete (in terms of pexecs), but I get the following crash:

$ ~/research/warmup_stats/bin/mark_changepoints_in_json renaissance_results_outliers_w200.json.bz2
Marking changepoints and classifications.
Expecting a steady state to be reached before the last 500 iterations.
Using a fixed bound of 0.001s.
Using R version 3.3.3 and changepoint library 2.3.1
Loading: renaissance_results_outliers_w200.json.bz2
/home/vext01/research/warmup_stats/bin/mark_changepoints_in_json:227: RuntimeWarning: divide by zero encountered in log
  pen_value=15.0*numpy.log(len(p_exec)))
/home/vext01/research/warmup_stats/work/pylibs/rpy2/rinterface/__init__.py:186: RRuntimeWarning: Error in multiple.meanvar.norm(data, mul.method = method, penalty, pen.value,  :
  Minimum segment legnth is too large to include a change in this data

  warnings.warn(x, RRuntimeWarning)
Traceback (most recent call last):
  File "/home/vext01/research/warmup_stats/bin/mark_changepoints_in_json", line 298, in <module>
    main(options.json_files[0], options.delta, options.steady_state)
  File "/home/vext01/research/warmup_stats/bin/mark_changepoints_in_json", line 200, in main
    segments = get_segments(cpt, delta, steady_state, p_exec, outliers)
  File "/home/vext01/research/warmup_stats/bin/mark_changepoints_in_json", line 227, in get_segments
    pen_value=15.0*numpy.log(len(p_exec)))
  File "/home/vext01/research/warmup_stats/work/pylibs/rpy2/robjects/functions.py", line 178, in __call__
    return super(SignatureTranslatedFunction, self).__call__(*args, **kwargs)
  File "/home/vext01/research/warmup_stats/work/pylibs/rpy2/robjects/functions.py", line 106, in __call__
    res = super(Function, self).__call__(*new_args, **new_kwargs)
rpy2.rinterface.RRuntimeError: Error in multiple.meanvar.norm(data, mul.method = method, penalty, pen.value,  :
  Minimum segment legnth is too large to include a change in this data

Metadata

Metadata

Assignees

No one assigned

    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