Example #1
0
 public override void Insert(DateTime insertTime, NeuralNetworkForCalibration ann)
 {
     if (_session == null)
     {
         throw new ApplicationException(EXCEPTION_CONNECTION_CLOSED);
     }
     executeAsyncQuery(string.Format("insert into staticdata.anncalibration(annid, mktdataid, version, insert_time, weights, error, learning_rate) values ('{0}', '{1}', {2}, {3}, {4}, {5}, {6})",
                                     ann.AnnId, ann.StockId, ann.Version, ToUnixTimestamp(insertTime), JsonConvert.SerializeObject(ann.Weights), ann.Error, ann.LearningRatePct));
 }
Example #2
0
 public abstract void Insert(DateTime updateTime, NeuralNetworkForCalibration calibratedNeuralNetwork);
Example #3
0
 public override void Insert(DateTime updateTime, NeuralNetworkForCalibration ann)
 {
 }
Example #4
0
 public override void Insert(DateTime updateTime, NeuralNetworkForCalibration ann)
 {
     throw new ApplicationException("ANN insertion not implemented");
 }
Example #5
0
 public abstract void Insert(DateTime updateTime, NeuralNetworkForCalibration calibratedNeuralNetwork);
Example #6
0
 public override void Insert(DateTime updateTime, NeuralNetworkForCalibration ann)
 {
 }
Example #7
0
 public override void Insert(DateTime updateTime, NeuralNetworkForCalibration ann)
 {
     throw new ApplicationException("ANN insertion not implemented");
 }