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)); }
public abstract void Insert(DateTime updateTime, NeuralNetworkForCalibration calibratedNeuralNetwork);
public override void Insert(DateTime updateTime, NeuralNetworkForCalibration ann) { }
public override void Insert(DateTime updateTime, NeuralNetworkForCalibration ann) { throw new ApplicationException("ANN insertion not implemented"); }