Accord.MachineLearning.BaseBatches.PrepareBatch C# (CSharp) Method

PrepareBatch() protected method

Inheritors should use this method to prepare the data for the next batches, for example by reshuffling according to the ordering passed as argument.
protected PrepareBatch ( Array idx ) : void
idx Array The ordering for the samples in the new batches.
return void
        protected virtual void PrepareBatch(int[] idx)
        {
            this.shuffledInputs = Inputs.Get(idx);
            this.shuffledWeights = Weights.Get(idx);
            this.shuffledIndices = idx;
        }