Exemple #1
0
        /// <summary>
        ///     The entry point for this example.  If you would like to make this example
        ///     stand alone, then add to its own project and rename to Main.
        /// </summary>
        /// <param name="args">Not used.</param>
        public static void ExampleMain(string[] args)
        {
            string filename = "";

            if (args.Length > 0)
            {
                filename = args[0];
                string dataPath = filename;

                var fit = new FitTitanic();
                fit.Process(dataPath);
            }
            else
            {
                Console.WriteLine("Please provide your data directory path as the first argument.");
            }
        }
        /// <summary>
        ///     The entry point for this example.  If you would like to make this example
        ///     stand alone, then add to its own project and rename to Main.
        /// </summary>
        /// <param name="args">Not used.</param>
        public static void ExampleMain(string[] args)
        {
            string filename = "";

            if (args.Length > 0)
            {
                filename = args[0];
                string dataPath = filename;

                var fit = new FitTitanic();
                fit.Process(dataPath);

                RBFNetwork bestNetwork = fit.BestNetwork;

                var submit = new SubmitTitanic();
                submit.Submit(dataPath, bestNetwork, fit.Crossvalidation);
            }
            else
            {
                Console.WriteLine("Please provide your data directory path as the first argument.");
            }
        }
Exemple #3
0
        /// <summary>
        ///     The entry point for this example.  If you would like to make this example
        ///     stand alone, then add to its own project and rename to Main.
        /// </summary>
        /// <param name="args">Not used.</param>
        public static void ExampleMain(string[] args)
        {
            string filename = "";

            if (args.Length > 0)
            {
                filename = args[0];
                string dataPath = filename;

                var fit = new FitTitanic();
                fit.Process(dataPath);
            }
            else
            {
                Console.WriteLine("Please provide your data directory path as the first argument.");
            }
        }