Encog.App.Analyst.Script.AnalystScript.Init C# (CSharp) Method

Init() public method

Init this script.
public Init ( ) : void
return void
        public void Init()
        {
            _normalize.Init(this);
        }

Usage Example

Exemplo n.º 1
0
        /// <summary>
        ///     Load an Encog script.
        /// </summary>
        /// <param name="stream">The stream to load from.</param>
        public void Load(Stream stream)
        {
            EncogReadHelper reader = null;

            try
            {
                EncogFileSection section;
                reader = new EncogReadHelper(stream);

                while ((section = reader.ReadNextSection()) != null)
                {
                    ProcessSubSection(section);
                }

                // init the script
                _script.Init();
            }
            finally
            {
                if (reader != null)
                {
                    reader.Close();
                }
            }
        }