radove commented on issue #101:
URL: https://github.com/apache/otava/issues/101#issuecomment-3613628236

   I'm not the best programmer in the world, but if you need help I could take 
a stab at the public API to get something started on this subject. I recently 
implemented Otava as an experiment to detect change at the energy company I 
work for. The squares in this screenshot represent the change point detections. 
 
   
   <img width="1694" height="670" alt="Image" 
src="https://github.com/user-attachments/assets/1d91208d-12b6-46b9-bb45-127f1dec14cb";
 />
   
   We have our own data feed coming from MySQL currently, but the data is 
manipulated quite a bit.  After that, we put it into Apache Otava Series like 
this:
   
   ```
   
                       time = list(range(len(y_list)))
                       data_series = Series(
                           "data",
                           branch=None,
                           time=time,
                           metrics={"series1": Metric(1, 1.0)},
                           data={"series1": y_list},
                           attributes={},
                       )
                       
                       # Our Default Options
                       options = AnalysisOptions()
                       options.window_len = 125
                       options.max_pvalue = 0.005
                       options.min_magnitude = 0.10
                       options.orig_edivisive = False
   
                       change_point_groups = 
data_series.analyze(options).change_points_by_time
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to