public static void trainNeuralNetwork(int cycles, int numTraining) {
    if (Logic.$TRAIN_CACHED_NETWORKSp$) {
      Logic.trainCachedNeuralNetworks(cycles, numTraining);
    }
    else {
      Logic.trainUncachedNeuralNetworks(cycles, numTraining);
    }
  }