Ejemplo n.º 1
0
 /// <summary>
 ///     Construct the dataset from another matrix dataset.
 /// </summary>
 /// <param name="data">The data.</param>
 /// <param name="mask">The mask.</param>
 public MatrixMLDataSet(MatrixMLDataSet data, int[] mask) : this()
 {
     Data = data.Data;
     CalculatedInputSize = data.CalculatedInputSize;
     CalculatedIdealSize = data.CalculatedIdealSize;
     _mask = mask;
 }
Ejemplo n.º 2
0
        /// <inheritdoc />
        public IMLDataSet OpenAdditional()
        {
            var result = new MatrixMLDataSet(Data,
                                             CalculatedInputSize, CalculatedIdealSize, _mask)
            {
                LagWindowSize  = LagWindowSize,
                LeadWindowSize = LeadWindowSize
            };

            return(result);
        }
Ejemplo n.º 3
0
 /// <summary>
 ///     Construct an enumerator.
 /// </summary>
 /// <param name="owner">The owner of the enumerator.</param>
 public MatrixMLDataSetEnumerator(MatrixMLDataSet owner)
 {
     _current = -1;
     _owner   = owner;
 }