Beispiel #1
0
 private List <double> ExecuteOrdering(NeuralTestData neuralTestData, string query)
 {
     if (!trainedModels.ContainsKey(query))
     {
         return(neuralTestData.xs.Select(x => 1.0).ToList());
     }
     else
     {
         return(_javascriptExecutor.Predict(query, neuralTestData, trainedModels[query]));
     }
 }