示例#1
0
 public DataForNeuralNetworkContext(IDataCollector collector,
                                    IfDataNotExist ifDataNotExist, string extrapolatorName)
 {
     IfDataNotExist = ifDataNotExist;
     Collector      = collector;
     Extrapolator   = new NeuralExtrapolation(extrapolatorName);
 }
示例#2
0
 public DataForNeuralNetworkContext(IDataCollector collector,
                                    IfDataNotExist ifDataNotExist, Func <Entity, double, double> converter, string extrapolatorName)
 {
     IfDataNotExist = ifDataNotExist;
     Collector      = collector;
     Converter      = converter;
     Extrapolator   = new NeuralExtrapolation(extrapolatorName);
 }