예제 #1
0
파일: Form1.cs 프로젝트: quider/neuron
 private void button3_Click(object sender,EventArgs e)
 {
     OpenFileDialog dlg = new OpenFileDialog();
     dlg.CheckFileExists=true;
     dlg.CheckPathExists=true;
     dlg.Filter="xml files (*.xml)|*.xml";
     dlg.Multiselect=false;
      if (dlg.ShowDialog()==DialogResult.OK) {
          ConvolutionalXMLSerializer serializer=new ConvolutionalXMLSerializer();
          Network=serializer.Deserialize(XDocument.Load(dlg.FileName));
          Network.LearnFactor=0.0005;
          Loaded=true;
      }
 }