Kategorischer Faktor, Wahrscheinlichkeitskontrolle per SkriptIch versuche, einen Automatisierungscode zu erstellen, um die Nennwerte über das Skript zu steuern.
Für den Simulator möchte ich die Wahrscheinlichkeit der Werte festlegen. Es scheint jedoch nicht zu funktionieren.
Wie kann ich die Wahrscheinlichkeit kategorisierter Werte mit dem Skript steuern?
prf = Profiler(
Y( :Pred Formula Eye Height, :Pred Formula Eye Width ),
Profiler(
1,
Term Value(
Duty Cycle(0.48, Lock( 0 ), Show( 1 )),
Random Jitter(0.04, Lock( 0 ), Show( 1 )),
Deterministic Jitter(0, Lock( 0 ), Show( 1 )),
Process Variation("Normal", Lock( 0 ), Show( 1 )),
Temperature(11.25, Lock( 0 ), Show( 1 )),
Voltage(1.0, Lock( 0 ), Show( 1 ))
),
Simulator(
1,
Factors(
Duty Cycle << Random( Normal( 0.48, 0.08 ) ),
Random Jitter << Random( Normal( 0.04, 0.05 ) ),
Deterministic Jitter << Random( Normal( 0, 0 ) ),
<FONT face="arial black,avant garde">Process Variation << Distribution( {"Fast", "Slow", "Normal"}, [0.33, 0.33, 0.34] )</FONT>,
Temperature << Random( Normal( 11.25, 2 ) ),
Voltage << Random( Normal( 1.0, 0.05 ) )
),
Responses(
Pred Formula Eye Height << No Noise,
Pred Formula Eye Width << No Noise
)
)
)
);
Automatisierung und SkriptingBetreff: Kategorischer Faktor, Wahrscheinlichkeitssteuerung per SkriptKönnte das Problem sein, dass Sie den Profiler zweimal haben? Dies ist ein Beispiel aus dem Scripting Index, das den Simulator zu senden scheint, nachdem der Profiler erstellt wurde
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Tiretread.jmp");
obj = Profiler(
Y(
:Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG,
:Pred Formula HARDNESS
)
);
obj << Simulator(
1,
Factors(
SILICA << Random(Normal(1.25, 0.3266)),
SILANE << Random(Normal weighted(50, 6.532)), SULFUR << Fixed(2.25)
),
Responses(
Pred Formula ABRASION << No Noise, Pred Formula MODULUS << No Noise,
Pred Formula ELONG << No Noise, Pred Formula HARDNESS << No Noise
)
);
Aber ich schätze, Sie könnten es einfach in die Profiler-Nachricht verschieben
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Tiretread.jmp");
obj = Profiler(
Y(
:Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG,
:Pred Formula HARDNESS
),
Term Value(
SILICA(1.75, Lock(0), Show(1)),
SILANE(45.2, Lock(0), Show(1)),
SULFUR(2.45, Lock(0), Show(1))
),
Simulator(
1,
Factors(
SILICA << Random(Normal(1.25, 0.3266)),
SILANE << Random(Normal weighted(50, 6.532)), SULFUR << Fixed(2.25)
),
Responses(
Pred Formula ABRASION << No Noise, Pred Formula MODULUS << No Noise,
Pred Formula ELONG << No Noise, Pred Formula HARDNESS << No Noise
)
)
);
Betreff: Kategorischer Faktor, Wahrscheinlichkeitssteuerung per SkriptHallo, danke für die schnelle Antwort.
Ich war neugierig, wie ich die Wahrscheinlichkeit von Prozessvariationen kontrollieren könnte.
Dies hat drei diskrete Werte: schnell, normal, langsam.
Ich möchte es mit einer bestimmten Wahrscheinlichkeit mithilfe eines Skripts simulieren.
jedoch mit der folgenden Syntax. Es funktioniert nicht.
Kann ich Hilfe für die richtige Syntax bekommen? Ich kann keine entsprechende Funktion dafür finden
Prozessvariation << Verteilung( {"Schnell", "Langsam", "Normal"}, [0,33, 0,33, 0,34] )Betreff: Kategorischer Faktor, Wahrscheinlichkeitssteuerung per SkriptHaben Sie es in der JMP-Oberfläche gemacht und dann das Skript gespeichert? Es sollte die richtige Syntax für Sie haben.