Git Product home page Git Product logo

circa's People

Contributors

limjcst avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

circa's Issues

有关CIRCA包的使用问题

我想尝试CIRCA在我的数据集上的效果,我在pip中导入了circa包,但是运行readme中给出的example文件报错找不到circa(如附件所示),如果手动将circa放入目录会面临复杂的内部依赖,希望请教一下成功运行CIRCA的方法。
f96b1fde6b7d9d32d860dc7a66318ef

docekr image build failed, python3.9 is not available

When building the image with Dockerfile, it occurs that "Package python3.9 is not available, but is referred to by another package."

However, if I change the python version to python3.10 or python3.11, more issues keep coming up.

Time related Question

@limjcst @lizeyan Thanks for developing this interesting approach and the package. . I have the following question

  1. In the below example code taken from CIRCA, there are 6 sample data given for latency, traffic and saturation. What is the sampling time considered per data sample? Is it 60 seconds (1 minute) for each data sample ?
  2. Detect time mentioned is : detect_time=240, As my assumption is 60 secs per data sample, Does this mean that in the 4th sample in the example data viz., latency =9, traffic=105, and saturation =6 corresponds to the fault data ? i.e. (60*4 = 240)?
  3. What do the lookup_window and the detect_window settings signify?

Kindly clarify and explain. Thanks in advance.

mock_data = { latency: (10, 12, 11, 9, 100, 90), traffic: (100, 110, 90, 105, 200, 150), saturation: (5, 4, 5, 6, 90, 85), } mock_data_with_time: Dict[str, Dict[str, Sequence[Tuple[float, float]]]] = defaultdict( dict ) for node, values in mock_data.items(): mock_data_with_time[node.entity][node.metric] = [ (index * 60, value) for index, value in enumerate(values) ] data = CaseData( # circa.model.data_loader.MemoryDataLoader is derived from # circa.model.data_loader.DataLoader, which manages data with configurations data_loader=MemoryDataLoader(mock_data_with_time), sli=latency, detect_time=240, lookup_window=4, detect_window=2, )

Service level indicator question

Hi, as I understand, when there is SLI metric violation then we try to find the root cause for that violation. But in my case, circa gives scores for non-parent nodes of the SLI which are not responsible for the change in it. Moreover, changing SLI still gives the same result and scores. Could you please clarify this?

Structural graph question

Hi, can the structural graph construction phase be applied to an arbitrary dataset, e.g. if I have a simple dataset with metrics s1, s2, s3, and s1 -> s3, s2 -> s3? I looked at the generation of the simulation dataset and it seems that they are generated randomly, except for the constraint that the first node does not have any children. So

  • Could you please guide me through using CIRCA for some arbitrary dataset, if possible.
  • Yhy the SLI must not have any children?
  • In your example code of basic usage, sli=latency. The code does not have this but latency has errors as its child in the paper so I'm a bit confused.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.