private void loadLearningSamplesBtn_Click(object sender, RoutedEventArgs e)
        {
            if (network == null)
            {
                learningSamplesStatus.Content = "Stwórz najpierw sieć";
                return;
            }
            OpenFileDialog openFileDialog = new OpenFileDialog();

            openFileDialog.InitialDirectory = Environment.CurrentDirectory;
            openFileDialog.Filter           = "txt files (*.txt)|*.txt";
            openFileDialog.RestoreDirectory = true;

            if (openFileDialog.ShowDialog() != true)
            {
                learningSamplesStatus.Content = "Wystąpił problem podczas ładowania wybranego pliku";
                return;
            }
            string path = openFileDialog.FileName;

            string[] learningSamples = File.ReadAllLines(path);
            if (!FormValidation.areLearningSamplesValid(configuration, learningSamples, out string message))
            {
                learningSamplesStatus.Content = message;
                return;
            }
            learning = new Learning(learningSamples);
            learningSamplesStatus.Content = "Próbki załadowane";
            denormalizationBox.Text       = "Min = " + learning.min.ToString() + " Max = " + learning.max.ToString();
        }