Non-repetitive pictures


Author
Message
DSaraqini
DSaraqini
New Member (27 reputation)New Member (27 reputation)New Member (27 reputation)New Member (27 reputation)New Member (27 reputation)New Member (27 reputation)New Member (27 reputation)New Member (27 reputation)New Member (27 reputation)
Group: Forum Members
Posts: 7, Visits: 13
Hey,

So I am trying to show 54 pictures from 3 different items (item "ShortHairFace" which has 25 pictures, item "LongHairFace" which has 25 pictures, and item "TargetFace2" which has 2 pictures). But the way I have the script written as of right now, it makes the TargetFace2 pictures show up multiple times. I need to make sure that all pictures from each item are shown, but never repeated. 

This is what I have right now that is not quite working for what I need:

<block FaceJudgment>
/ trials = [1-54=noreplace(ShortHairFace,LongHairFace,TargetFace2)]
</block>

I can provide more of my script if needed. Thanks is advance!
Dave
Dave
Supreme Being (804K reputation)Supreme Being (804K reputation)Supreme Being (804K reputation)Supreme Being (804K reputation)Supreme Being (804K reputation)Supreme Being (804K reputation)Supreme Being (804K reputation)Supreme Being (804K reputation)Supreme Being (804K reputation)
Group: Administrators
Posts: 10K, Visits: 55K
DSaraqini - 4/17/2020
Hey,

So I am trying to show 54 pictures from 3 different items (item "ShortHairFace" which has 25 pictures, item "LongHairFace" which has 25 pictures, and item "TargetFace2" which has 2 pictures). But the way I have the script written as of right now, it makes the TargetFace2 pictures show up multiple times. I need to make sure that all pictures from each item are shown, but never repeated. 

This is what I have right now that is not quite working for what I need:

<block FaceJudgment>
/ trials = [1-54=noreplace(ShortHairFace,LongHairFace,TargetFace2)]
</block>

I can provide more of my script if needed. Thanks is advance!

<block FaceJudgment>
/ trials = [1-54=noreplace(ShortHairFace,LongHairFace,TargetFace2)]
</block>

You're sampling trials in equal proportions, that's the issue. The above instructs Inquisit to run 18 ShortHairFace trials, 18 LongHairFace trials, and 18 TargetFace2 trials in random order. You need to enter the trial elements in the proper proportion into the noreplace() selection pool if you want 25 x ShortHairFace, 25 x LongHairFace, 2 x TargetFace2.

<block FaceJudgment>
/ trials = [1-54=noreplace(ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
TargetFace2, TargetFace2)]
</block>



DSaraqini
DSaraqini
New Member (27 reputation)New Member (27 reputation)New Member (27 reputation)New Member (27 reputation)New Member (27 reputation)New Member (27 reputation)New Member (27 reputation)New Member (27 reputation)New Member (27 reputation)
Group: Forum Members
Posts: 7, Visits: 13
Dave - 4/17/2020
DSaraqini - 4/17/2020
Hey,

So I am trying to show 54 pictures from 3 different items (item "ShortHairFace" which has 25 pictures, item "LongHairFace" which has 25 pictures, and item "TargetFace2" which has 2 pictures). But the way I have the script written as of right now, it makes the TargetFace2 pictures show up multiple times. I need to make sure that all pictures from each item are shown, but never repeated. 

This is what I have right now that is not quite working for what I need:

<block FaceJudgment>
/ trials = [1-54=noreplace(ShortHairFace,LongHairFace,TargetFace2)]
</block>

I can provide more of my script if needed. Thanks is advance!

<block FaceJudgment>
/ trials = [1-54=noreplace(ShortHairFace,LongHairFace,TargetFace2)]
</block>

You're sampling trials in equal proportions, that's the issue. The above instructs Inquisit to run 18 ShortHairFace trials, 18 LongHairFace trials, and 18 TargetFace2 trials in random order. You need to enter the trial elements in the proper proportion into the noreplace() selection pool if you want 25 x ShortHairFace, 25 x LongHairFace, 2 x TargetFace2.

<block FaceJudgment>
/ trials = [1-54=noreplace(ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
TargetFace2, TargetFace2)]
</block>



This is amazing! Thanks sooo much. I have very limited knowledge on writing these scripts and your answers are super helpful :)
Dave
Dave
Supreme Being (804K reputation)Supreme Being (804K reputation)Supreme Being (804K reputation)Supreme Being (804K reputation)Supreme Being (804K reputation)Supreme Being (804K reputation)Supreme Being (804K reputation)Supreme Being (804K reputation)Supreme Being (804K reputation)
Group: Administrators
Posts: 10K, Visits: 55K
DSaraqini - 4/17/2020
Dave - 4/17/2020
DSaraqini - 4/17/2020
Hey,

So I am trying to show 54 pictures from 3 different items (item "ShortHairFace" which has 25 pictures, item "LongHairFace" which has 25 pictures, and item "TargetFace2" which has 2 pictures). But the way I have the script written as of right now, it makes the TargetFace2 pictures show up multiple times. I need to make sure that all pictures from each item are shown, but never repeated. 

This is what I have right now that is not quite working for what I need:

<block FaceJudgment>
/ trials = [1-54=noreplace(ShortHairFace,LongHairFace,TargetFace2)]
</block>

I can provide more of my script if needed. Thanks is advance!

<block FaceJudgment>
/ trials = [1-54=noreplace(ShortHairFace,LongHairFace,TargetFace2)]
</block>

You're sampling trials in equal proportions, that's the issue. The above instructs Inquisit to run 18 ShortHairFace trials, 18 LongHairFace trials, and 18 TargetFace2 trials in random order. You need to enter the trial elements in the proper proportion into the noreplace() selection pool if you want 25 x ShortHairFace, 25 x LongHairFace, 2 x TargetFace2.

<block FaceJudgment>
/ trials = [1-54=noreplace(ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
TargetFace2, TargetFace2)]
</block>



This is amazing! Thanks sooo much. I have very limited knowledge on writing these scripts and your answers are super helpful :)

Glad to help! Note that there's a mistake(?) I did not correct, partly because I'm a bit confused about where the 54 comes from.

<block FaceJudgment>
/ trials = [1-54=noreplace(ShortHairFace,LongHairFace,TargetFace2)]
</block>

With 25 x ShortHairFace, 25 x LongHairFace, 2 x TargetFace2, the actual number of trials should be 52, I think, that is:


<block FaceJudgment>
/ trials = [1-52=noreplace(ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
TargetFace2, TargetFace2)]
</block>

DSaraqini
DSaraqini
New Member (27 reputation)New Member (27 reputation)New Member (27 reputation)New Member (27 reputation)New Member (27 reputation)New Member (27 reputation)New Member (27 reputation)New Member (27 reputation)New Member (27 reputation)
Group: Forum Members
Posts: 7, Visits: 13
Dave - 4/17/2020
DSaraqini - 4/17/2020
Dave - 4/17/2020
DSaraqini - 4/17/2020
Hey,

So I am trying to show 54 pictures from 3 different items (item "ShortHairFace" which has 25 pictures, item "LongHairFace" which has 25 pictures, and item "TargetFace2" which has 2 pictures). But the way I have the script written as of right now, it makes the TargetFace2 pictures show up multiple times. I need to make sure that all pictures from each item are shown, but never repeated. 

This is what I have right now that is not quite working for what I need:

<block FaceJudgment>
/ trials = [1-54=noreplace(ShortHairFace,LongHairFace,TargetFace2)]
</block>

I can provide more of my script if needed. Thanks is advance!

<block FaceJudgment>
/ trials = [1-54=noreplace(ShortHairFace,LongHairFace,TargetFace2)]
</block>

You're sampling trials in equal proportions, that's the issue. The above instructs Inquisit to run 18 ShortHairFace trials, 18 LongHairFace trials, and 18 TargetFace2 trials in random order. You need to enter the trial elements in the proper proportion into the noreplace() selection pool if you want 25 x ShortHairFace, 25 x LongHairFace, 2 x TargetFace2.

<block FaceJudgment>
/ trials = [1-54=noreplace(ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
TargetFace2, TargetFace2)]
</block>



This is amazing! Thanks sooo much. I have very limited knowledge on writing these scripts and your answers are super helpful :)

Glad to help! Note that there's a mistake(?) I did not correct, partly because I'm a bit confused about where the 54 comes from.

<block FaceJudgment>
/ trials = [1-54=noreplace(ShortHairFace,LongHairFace,TargetFace2)]
</block>

With 25 x ShortHairFace, 25 x LongHairFace, 2 x TargetFace2, the actual number of trials should be 52, I think, that is:


<block FaceJudgment>
/ trials = [1-52=noreplace(ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
TargetFace2, TargetFace2)]
</block>

My bad... TargetFace2 has 4 pictures not 2. Either way, I was able to plug that in my script and it worked perfectly!
Dave
Dave
Supreme Being (804K reputation)Supreme Being (804K reputation)Supreme Being (804K reputation)Supreme Being (804K reputation)Supreme Being (804K reputation)Supreme Being (804K reputation)Supreme Being (804K reputation)Supreme Being (804K reputation)Supreme Being (804K reputation)
Group: Administrators
Posts: 10K, Visits: 55K
DSaraqini - 4/17/2020
Dave - 4/17/2020
DSaraqini - 4/17/2020
Dave - 4/17/2020
DSaraqini - 4/17/2020
Hey,

So I am trying to show 54 pictures from 3 different items (item "ShortHairFace" which has 25 pictures, item "LongHairFace" which has 25 pictures, and item "TargetFace2" which has 2 pictures). But the way I have the script written as of right now, it makes the TargetFace2 pictures show up multiple times. I need to make sure that all pictures from each item are shown, but never repeated. 

This is what I have right now that is not quite working for what I need:

<block FaceJudgment>
/ trials = [1-54=noreplace(ShortHairFace,LongHairFace,TargetFace2)]
</block>

I can provide more of my script if needed. Thanks is advance!

<block FaceJudgment>
/ trials = [1-54=noreplace(ShortHairFace,LongHairFace,TargetFace2)]
</block>

You're sampling trials in equal proportions, that's the issue. The above instructs Inquisit to run 18 ShortHairFace trials, 18 LongHairFace trials, and 18 TargetFace2 trials in random order. You need to enter the trial elements in the proper proportion into the noreplace() selection pool if you want 25 x ShortHairFace, 25 x LongHairFace, 2 x TargetFace2.

<block FaceJudgment>
/ trials = [1-54=noreplace(ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
TargetFace2, TargetFace2)]
</block>



This is amazing! Thanks sooo much. I have very limited knowledge on writing these scripts and your answers are super helpful :)

Glad to help! Note that there's a mistake(?) I did not correct, partly because I'm a bit confused about where the 54 comes from.

<block FaceJudgment>
/ trials = [1-54=noreplace(ShortHairFace,LongHairFace,TargetFace2)]
</block>

With 25 x ShortHairFace, 25 x LongHairFace, 2 x TargetFace2, the actual number of trials should be 52, I think, that is:


<block FaceJudgment>
/ trials = [1-52=noreplace(ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,ShortHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
LongHairFace,LongHairFace,LongHairFace,LongHairFace,LongHairFace,
TargetFace2, TargetFace2)]
</block>

My bad... TargetFace2 has 4 pictures not 2. Either way, I was able to plug that in my script and it worked perfectly!

Great -- thanks for letting me know!
Edited Last Month by Dave
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search