I have a question about the panopticon screen configuration and input settings.

kimjk3559
kimjk3559 Altair Community Member

First, I attached a short video, so please check it out.

The versions I am currently using are as follows.

AI Hub (+ panopticon) = 2024.1, AI Studio = 2025.0.1

First, I created a model with test data that predicts 2 real outputs and 1 category output with 4 real inputs and 1 category input using AI studio (A~D, F > P1~P3)

After that, I created an endpoint with AI Hub, and successfully created a simple dashboard that predicts outputs when inputs are entered in real time by parameterizing the input data in panopticon.

I have three questions here.

1.

When inputting with the action slider, I formatted it so that it displays up to 1 decimal place, but the action text box in the same dashboard displays more than 10 decimal places.

Also, when using the slider, the output items often disappear.

I don't know if the part where the linked action text box displays a lot of decimal places is the cause of this problem, but is there a way to fix it?

This part is shown in the 'q1' video.

2.

Using the action button, I created a button that inputs multiple input sets at once.

When I set A=3, b=high, C=6 as constants and clicked the action button, I confirmed that the input variables were changed normally.

However, at this time, all the output label screens disappeared.

This part is shown in the 'q2' video.

3.

I right-clicked the workbook icon on the workbook workspace screen, clicked Share, and followed the link that appeared, but the address changed to 'http://panopticon-vizapp:8080/panopticon/workbook' and a message saying that the connection could not be made appeared.

I installed it by changing the ai hub port to 5440, but did this cause the problem?

This part is shown in the 'q3' video.

Lastly, I attached the database and dashboard screen settings used in Panopticon to the 'set' video, so please check it.

Welcome!

It looks like you're new here. Sign in or register to get started.

Best Answer

Answers

  • Theodor S. Klemming
    Theodor S. Klemming
    Altair Employee
    edited April 24

    About question 1: Panopticon knows about 3 data types: text, double, time. Thee is no integer data type. When using the action slider, you will be setting a value which is has decimals. When you want to present or hand over this value as an integer, you handle it by adding a format string to the parameter reference, like this: {my_numeric_param:#0}

    When the output values P1, P2, P3 disappear, it is likely because your endpoint did not return any values, possibly as a result of the input values.

  • Theodor S. Klemming
    Theodor S. Klemming
    Altair Employee

    About question 2: What values for P1, P2, P3 d you get when you manually set A=3, bB=high, C=6, D=4, F=4, using the single parameter action controls instead of the action button? Do you get values then for P1, P2, P3?

  • Theodor S. Klemming
    Theodor S. Klemming
    Altair Employee
    Answer ✓

    About question 3: I have reported this as a suspected bug.

  • kimjk3559
    kimjk3559 Altair Community Member

    @Theodor S. Klemming

    Thank you for your quick answer.

    Q1: I set the parameters in the database as you said and proceeded, but there is still a problem where P1~P3 intermittently disappear.
    Is it because the parameters are set to 1 decimal place? When I move the slider, the predicted value disappears unconditionally. I need to make it 1 decimal place to check it properly.
    Please check the q11 video for that part.

    My question is whether it is possible to make the slider move with a gap of 0.1. This is because the current slider always has a lot of decimal places when it moves.

    Q2: When each is set as a single action, all predicted values ​​(p1~p3) are output without any problem no matter what input value is entered, and there is no problem with the output intermittently disappearing.

    I set the three values ​​A, B, and C as constants with the run button, and when I run it, the variables change to the set values. However, all predicted values ​​disappear immediately, and when I try to make them appear again by re-specifying the values ​​of the variables one by one, they randomly reappear.

    I have also attached this part as a video, so please check it.

    What I want to do is, when there are many variables to input, I want to create a preset and specify multiple inputs at once, but there is currently a problem with the predicted values ​​disappearing for that part.

    Thank you again for your answer, and please check it.

  • kimjk3559
    kimjk3559 Altair Community Member
    edited April 25

    Q1 : I have attached another video for Q1.

    As I mentioned earlier, even if you set the option in the slider to display up to 1 decimal place, there is a problem where the output is not displayed intermittently while many decimal places are visible in other text action input fields.

    However, I was able to confirm that the output is generated again even if you delete just one decimal place at the end of the text input field.

    I think there is a problem with the parameter value when entering with the slider. For example, the decimal place is generated infinitely and the value is not determined, so the predicted value does not occur. Then, if you delete the decimal place at the end, the value is determined and the predicted value occurs.

    Please refer to this.

  • Theodor S. Klemming
    Theodor S. Klemming
    Altair Employee
    edited April 25

    OK, after writing the answer below, I discovered that you had already understood this part. Since I cannot read the application labels in the video, I have some difficulty understanding exactly which parts you are using. To get a more reliable view of what the table returned by the endpoint contains (the columns A, B, C, D, F, P1, P2, P3) it would be better if you display then on the dashboard in for example a Record Graph. Also, it would be great if the endpoint returned a timestamp column, revealing the system time from when the latest output was created. That will provide confirmation of whether or not the data table was refreshed (a new request was made to the endpoint).

    (answer below can be ignored)

    Let me try and clarify: The reason why you sometimes don't get a value for P1, P2, P3 is because you are giving values as input to the model which it cannot handle. We can conclude that the value in question is the value of parameter A, when it has many decimals. The value will always have many decimals if you set the value with the Numeric Action Slider, because the Numeric Action Slider sets double precision float numeric values, not integers. To control how many decimals on the value you give as input to your model through the REST endpoint, you must add a format string to the parameter A reference in you request payload, in the data table connector settings. For example, if you want the model to get no more than 2 decimal digits, you use the following parameter reference and format string:

    {A:#0.00}

    The format string is everything following after the colon sign. Hashtag means "optional digits", i.e. there will be digits if the value is a large number, otherwise not. A zero means there will always be a digit.

  • kimjk3559
    kimjk3559 Altair Community Member
    edited April 26

    @Theodor S. Klemming

    end_test.png

    I have attached the endpoint test screen that I created.
    Input A, C, D, F are numbers, B is text ('high', 'middle', 'low')
    Output p1, p2 are numbers, p3 is text ('ok' or 'ng')

    As shown in the image, the endpoint is outputting the result normally, no matter how many decimal places there are.

    DT_CONNECTOR.png

    This image is the data table connector screen. The connector is 'text', and the result table using parameters was configured using 'REST' in the conversion settings.

    As a result, the table when the endpoint is executed consists of a total of 8 columns and 1 data row.

    I think the timestamp column you requested should be added in AI STUDIO, but I cannot use AI STUDIO at the moment.

    ===========================================

    In addition, I tested it by setting the Action button to change A and C to 3 and 6 respectively (using parameter settings), and when I pressed this button, I confirmed that the A and C values ​​changed to 3 and 6, but the three predicted values ​​still disappeared.

    After that, I pressed the icons of the A and C text boxes on the same dashboard once, and I confirmed that the predicted values ​​were generated again.
    This part is attached as a video below.

    What I am curious about is whether the ACTION BUTTON, which changes multiple values ​​at the same time, does not have a function to execute an endpoint, unlike the action text box.

    The dashboard I am actually creating has many more inputs and several frequently used input value combinations, so I created this as a preset concept and tried to create a function that allows you to check the predicted value of that combination by simply clicking it.

    If there is a completely different direction or solution for this part, please share it.

    I am always grateful for your kind answers.

  • Theodor S. Klemming
    Theodor S. Klemming
    Altair Employee

    Hi

    To be able to investigate this further I would need a copy of your workbook where I can see the settings and read the the labels in English.

  • kimjk3559
    kimjk3559 Altair Community Member

    Theodor S. Klemming

    It is currently in Korean and I can't find an option to change it to English. Please let me know what you want to check and I will check and let you know.

  • kimjk3559
    kimjk3559 Altair Community Member
    edited April 29

    @Theodor S. Klemming

    I'm not sure if it will be displayed in English or if the dashboard will be displayed, but I'll attach the bundle file of the workbook.

    Since exz files cannot be attached, I'm attaching them in a compressed 'tar' format.

    Thank you

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.