7 writes to _rank
Microsoft.ML.TimeSeries (7)
AdaptiveSingularSpectrumSequenceModeler.cs (7)
256
_rank
= (int)rank;
260
_rank
= _maxRank;
304
_rank
= model._rank;
376
_rank
= ctx.Reader.ReadInt32();
1317
_rank
= 1;
1326
_rank
= DetermineSignalRank(dataArray, tMat, leftSingularVecs, singularVals, signal, _maxRank);
1328
_rank
= DetermineSignalRankFast(dataArray, tMat, leftSingularVecs, singularVals, _maxRank);
28 references to _rank
Microsoft.ML.TimeSeries (28)
AdaptiveSingularSpectrumSequenceModeler.cs (28)
182
public int Rank { get { return
_rank
; } }
257
_host.CheckParam(1 <=
_rank
&&
_rank
< windowSize, nameof(rank), "The rank should be in [1, windowSize).");
302
_host.Assert(1 <= model.
_rank
&& model.
_rank
< model._windowSize);
304
_rank = model.
_rank
;
332
_y = new CpuAlignedVector(
_rank
, CpuMathUtils.GetVectorAlignment());
333
_wTrans = new CpuAlignedMatrixRow(
_rank
, _windowSize, CpuMathUtils.GetVectorAlignment());
377
_host.CheckDecode(1 <=
_rank
&&
_rank
< _windowSize);
423
_info.Rank =
_rank
;
433
_host.CheckDecode(Utils.Size(tempArray) ==
_rank
* _windowSize);
434
_wTrans = new CpuAlignedMatrixRow(
_rank
, _windowSize, CpuMathUtils.GetVectorAlignment());
439
_y = new CpuAlignedVector(
_rank
, CpuMathUtils.GetVectorAlignment());
458
_host.Assert(1 <=
_rank
&&
_rank
< _windowSize);
490
ctx.Writer.Write(
_rank
);
510
var tempArray = new Single[
_rank
* _windowSize];
514
tempArray = new float[
_rank
];
1112
_y = new CpuAlignedVector(
_rank
, CpuMathUtils.GetVectorAlignment());
1113
_wTrans = new CpuAlignedMatrixRow(
_rank
, _windowSize, CpuMathUtils.GetVectorAlignment());
1114
Single[] vecs = new Single[
_rank
* _windowSize];
1116
for (i = 0; i <
_rank
; ++i)
1332
_y = new CpuAlignedVector(
_rank
, CpuMathUtils.GetVectorAlignment());
1335
_wTrans = new CpuAlignedMatrixRow(
_rank
, _windowSize, CpuMathUtils.GetVectorAlignment());
1341
for (i = 0; i <
_rank
; ++i)
1367
ReconstructSignalTailFast(dataArray, tMat, leftSingularVecs,
_rank
, signal);
1407
_info.Rank =
_rank
;