Reordering the Factors and Response in the Contour ProfilerWhen generating a Contour Profiler for a large number of Factors and Responses, I'd like to set the order of Factors and Responses as they appear in the Contour Profiler window. Is this possible through scripting or otherwise?
Automation and ScriptingContent OrganizationData Exploration and VisualizationSharing and Communicating ResultsRe: Reordering the Factors and Response in the Contour ProfilerHi @mpavilonis,
Welcome in the Community !
I'm not sure to understand your question. Are you referring about Contour Profiler ? And also Prediction Profiler ?
My response may be completely off your point, so please explain your situation and provide snapshots, an example dataset and more information/context about what you're trying to achieve/obtain.
Re: Reordering the Factors and Response in the Contour ProfilerThanks for the quick reply, Victor! Hopefully the below screenshot clarifies my question.
I'd like Factors to be in a more logical order "Factor 1, Factor 2, Factor 3" going down the list. I'd also like Responses ordered by "Response A, Response B, Response C" going down the list as well.
Is it possible and/or scriptable in the Contour Profiler platform?
Re: Reordering the Factors and Response in the Contour ProfilerHi @mpavilonis,
Ok, the problem is more clear.
If you're using the "Fit Model" platform to have the Contour Profiler, the order in which you see the factors and responses is directly linked to the order in which the factors and responses are introduced in the "Fit Model" panel :

In the Contour Profiler platform when you use directly saved Prediction Formula in your table, the order of factors in which you have created your formula (with Fit Model platform for example) will stay the same.
If you have several responses when using the Contour Profiler platform, the first Prediction formula introduced will dictate the order of the factors and will be displayed first in the response panel :

You can reorganize your datatable to group factors and responses and reorder them when building your models, so that the order you would like to have is kept in the Contour Profiler platform.
In your concrete example, create your models with ordering of the factors 1, 2 and then 3. If you save the prediction formulas of responses A, B, C, open the Contour Profiler and keep the same order of the prediction formulas A, B, C, you should get the correct ordering of factors and responses.
Hope this answer will help you understand the logic behind.
Re: Reordering the Factors and Response in the Contour ProfilerI am not using Fit Profiler, I am purely using Contour Profiler as a convenient platform for showing the Responses of some complicated formulas with many Factors, but thanks for your explaination!
After trying many iterations, I can confirm your approach to reordering the Reponses in the Y, Predictions Formula box of the Contour Profiler builder GUI reorders the Responses order in the resultant Contour Profiler.
The Factor order is a bit more complicated. The first Factor is determined by the order in which they appear in the ordered list of Responses.
i.e. if the Response order is ResponseA, ResponseB, ResponseC
where:
ResponseA = Factor3 * Factor2
ResponseB = Factor1 + Factor2
ResponseC = Factor1
then the Factor order is Factor3, Factor2, Factor1
if the Response order is ResponseC, ResponseB, ResponseA
where:
ResponseA = Factor3 * Factor2
ResponseB = Factor1 + Factor2
ResponseC = Factor1
then the Factor order is Factor1, Factor2, Factor3
if the Response order is ResponseB, ResponseC, ResponseA
where:
ResponseA = Factor3 * Factor2
ResponseB = Factor1 + Factor2
ResponseC = Factor1
then the Factor order is Factor1, Factor2, Factor3
Pretty unfortunate this order can't be manually be assigned via a script, but thanks for your help navigating this problem!