Beispiel #1
0
        private void companyTestSplitRadioButton_CheckedChanged(object sender, EventArgs e)
        {
            // Disable the controls of other options and activate ours
            randomPercentageTextBox.Enabled   = false;
            dateSplitPicker.Enabled           = false;
            companyTrainingCheckedBox.Enabled = true;

            // Set the mode to company split
            splitMode = TrainTestSplitMode.TickerSplit;
        }
Beispiel #2
0
        // Processing of the radio buttons

        private void noTestSplitRadioButton_CheckedChanged(object sender, EventArgs e)
        {
            // Disable the input controls of the other options
            randomPercentageTextBox.Enabled   = false;
            dateSplitPicker.Enabled           = false;
            companyTrainingCheckedBox.Enabled = false;

            // Set the mode as no split
            splitMode = TrainTestSplitMode.NoSplit;
        }
Beispiel #3
0
        // Constructor
        public LoadTrainTestDataForm(DataContext dc)
        {
            this.dc = dc;
            InitializeComponent( );

            // Set defaults
            useQData = true;
            useQDataCheckBox.Checked = true;

            useYData = false;
            useYDataCheckBox.Checked = false;

            splitMode = TrainTestSplitMode.NoSplit;
            noTestSplitRadioButton.Select( );

            randomPercentageTextBox.Text = randomSplitPercentage.ToString( );
            dateSplitPicker.Value        = dateSplitCutoff;

            // Show available data
            UpdateAvailableData( );
        }
        // Constructor        
        public LoadTrainTestDataForm( DataContext dc )
        {
            this.dc = dc;
            InitializeComponent( );

            // Set defaults
            useQData = true;
            useQDataCheckBox.Checked = true;

            useYData = false;
            useYDataCheckBox.Checked = false;

            splitMode = TrainTestSplitMode.NoSplit; 
            noTestSplitRadioButton.Select( );
            
            randomPercentageTextBox.Text = randomSplitPercentage.ToString( );
            dateSplitPicker.Value = dateSplitCutoff;

            // Show available data
            UpdateAvailableData( );
        }
        private void companyTestSplitRadioButton_CheckedChanged( object sender, EventArgs e )
        {
            // Disable the controls of other options and activate ours
            randomPercentageTextBox.Enabled = false;
            dateSplitPicker.Enabled = false;
            companyTrainingCheckedBox.Enabled = true;

            // Set the mode to company split
            splitMode = TrainTestSplitMode.TickerSplit;
        }
        // Processing of the radio buttons

        private void noTestSplitRadioButton_CheckedChanged( object sender, EventArgs e )
        {
            // Disable the input controls of the other options
            randomPercentageTextBox.Enabled = false;
            dateSplitPicker.Enabled = false;
            companyTrainingCheckedBox.Enabled = false;

            // Set the mode as no split
            splitMode = TrainTestSplitMode.NoSplit;
        }