Encog.Neural.Data.Buffer.EncogEGBFile.Write C# (CSharp) Method

Write() public method

Write a byte.
public Write ( byte b ) : void
b byte The byte to write.
return void
        public void Write(byte b)
        {
            try
            {
                this.binaryWriter.Write(b);
            }
            catch (IOException ex)
            {
                throw new BufferedDataError(ex);
            }
        }

Same methods

EncogEGBFile::Write ( double v ) : void
EncogEGBFile::Write ( int row, double v ) : void
EncogEGBFile::Write ( int row, int col, double v ) : void

Usage Example

        /// <summary>
        /// Add only input data, for an unsupervised dataset.
        /// </summary>
        /// <param name="data1">The data to be added.</param>
        public void Add(INeuralData data1)
        {
            if (!this.loading)
            {
                throw new NeuralDataError(BufferedNeuralDataSet.ERROR_ADD);
            }

            egb.Write(data1.Data);
        }
All Usage Examples Of Encog.Neural.Data.Buffer.EncogEGBFile::Write