I am having an array and a fitness function. I want to optimize my array using LBFGS optimization method in Spark. Here is my current code.
val numCorrections