12 references to GetRandomPermutation
Microsoft.ML.Data (5)
DataLoadSave\Binary\BinaryLoader.cs (1)
1283
_blockShuffleOrder = rand == null || _numBlocks == 0 ? null : Utils.
GetRandomPermutation
(rand, _numBlocks);
DataView\ArrayDataViewBuilder.cs (1)
282
_indices = Utils.
GetRandomPermutation
(rand, view._rowCount);
DataView\CacheDataView.cs (1)
240
return Utils.
GetRandomPermutation
(rand, (int)_rowCount);
DataView\DataViewConstructionUtils.cs (1)
643
_permutation = Utils.
GetRandomPermutation
(rand, dataView._data.Count);
Evaluators\EvaluatorUtils.cs (1)
1408
var tempPerm = Utils.
GetRandomPermutation
(host.Rand, labelNames.Length);
Microsoft.ML.FastTree (3)
Dataset\Dataset.cs (1)
593
int[] perm = Utils.
GetRandomPermutation
(rnd, NumQueries);
RandomForestRegression.cs (1)
571
int[] map = Utils.
GetRandomPermutation
(_rgen, _labelLim);
TreeEnsembleFeaturizer.cs (1)
771
int[] permutation = Utils.
GetRandomPermutation
(RandomUtils.Create(seed), type.GetCountAsInt32(env));
Microsoft.ML.Parquet (2)
ParquetLoader.cs (1)
642
order = _rand == null ? Enumerable.Range(0, size) : Utils.
GetRandomPermutation
(_rand, size);
PartitionedFileLoader.cs (1)
656
return Utils.
GetRandomPermutation
(rand, _parent._files.Count);
Microsoft.ML.Sweeper (2)
Algorithms\Grid.cs (2)
132
_permutation = Utils.
GetRandomPermutation
(Host.Rand, _nGridPoints);
149
_permutation = Utils.
GetRandomPermutation
(Host.Rand, _nGridPoints);