Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
IVMCTrim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fjn1g13
IVMCTrim
Commits
930258b2
Commit
930258b2
authored
4 years ago
by
fjn1g13
Browse files
Options
Downloads
Patches
Plain Diff
Ehst
parent
6072b063
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
M4MStuff/gens.ps1
+7
-3
7 additions, 3 deletions
M4MStuff/gens.ps1
with
7 additions
and
3 deletions
M4MStuff/gens.ps1
+
7
−
3
View file @
930258b2
param
(
$noGen
=
$false
,
$commonParamFile
=
"commonparams.txt"
)
param
(
$noGen
=
$false
,
$commonParamFile
=
"commonparams.txt"
,
$repeatCount
=
40
)
<# Usage notes
To run this, you need m4m on your path (See the M4M readme for help with that)
It will produce some directories, each containing a spread of experiments and files to run and 'post' them.
#>
$noGen can be set to true so that the run/post files are created, but not the experiment files
$commonParamFile sets the common parameter file
$repeatCount is the number of repeats; 40 is traditional for final runs
#>
# ranges
# NOTE NOTE: seed/r coresponance is good here; not on IRIDIS runs (must consult logs as necessary)
function
repeats
(
$n
)
{
0
..
(
$n
-1
)
|
ForEach-Object
{
,@(
$_
.ToString(
"00"
),
$_
.
ToString
(
"00"
))}
}
# funky ordering is to match the funky ordering of the runs that are used in the paper (for seed generation) (sorry)
$twentyHalf
=
((
"0.00"
,
"000"
),
(
"0.10"
,
"010"
),
(
"0.20"
,
"020"
),
(
"0.30"
,
"030"
),
(
"0.40"
,
"040"
),
(
"0.50"
,
"050"
),
(
"0.60"
,
"060"
),
(
"0.70"
,
"070"
),
(
"0.80"
,
"080"
),
(
"0.90"
,
"090"
),
(
"1.00"
,
"100"
),
(
"0.05"
,
"005"
),
(
"0.15"
,
"015"
),
(
"0.25"
,
"025"
),
(
"0.35"
,
"035"
),
(
"0.45"
,
"045"
),
(
"0.55"
,
"055"
),
(
"0.65"
,
"065"
),
(
"0.75"
,
"075"
),
(
"0.85"
,
"085"
),
(
"0.95"
,
"095"
))
...
...
@@ -17,7 +21,7 @@ $one = (,("0", "0"))
$lambdas
=
((
"0.00"
,
"000"
),
(
"0.02"
,
"002"
),
(
"0.04"
,
"004"
),
(
"0.06"
,
"006"
),
(
"0.08"
,
"008"
),
(
"0.10"
,
"010"
),
(
"0.12"
,
"012"
),
(
"0.14"
,
"014"
),
(
"0.16"
,
"016"
),
(
"0.18"
,
"018"
),
(
"0.20"
,
"020"
))
$runName
=
"One"
$repeats
=
repeats
(
4
)
# full batches were all 40 (CPUs per node on IRIDIS)
$repeats
=
repeats
(
$repeatCount
)
# full batches were all 40 (CPUs per node on IRIDIS)
# standard Z
.
.
\genSpread.ps1
"Standard"
"Standard"
400000
Z
r
Z
r
$twentyHalf
$repeats
{
param
(
$x
,
$y
)
"Z=
$x
"
}
$runName
100
$commonParamFile
$noGen
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment