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)
240return Utils.GetRandomPermutation(rand, (int)_rowCount);
DataView\DataViewConstructionUtils.cs (1)
643_permutation = Utils.GetRandomPermutation(rand, dataView._data.Count);
Evaluators\EvaluatorUtils.cs (1)
1408var tempPerm = Utils.GetRandomPermutation(host.Rand, labelNames.Length);
Microsoft.ML.FastTree (3)
Dataset\Dataset.cs (1)
593int[] perm = Utils.GetRandomPermutation(rnd, NumQueries);
RandomForestRegression.cs (1)
571int[] map = Utils.GetRandomPermutation(_rgen, _labelLim);
TreeEnsembleFeaturizer.cs (1)
771int[] permutation = Utils.GetRandomPermutation(RandomUtils.Create(seed), type.GetCountAsInt32(env));
Microsoft.ML.Parquet (2)
ParquetLoader.cs (1)
642order = _rand == null ? Enumerable.Range(0, size) : Utils.GetRandomPermutation(_rand, size);
PartitionedFileLoader.cs (1)
656return 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);