prnicolas / ScalaMl

Project, source code and data files for 1st edition "Scala for Machine Learning"
http://www.scalaformachinelearning.com
151 stars 86 forks source link

types.scala:ScalaML.toText - dropRight(1) unwanted #8

Open cycle23 opened 8 years ago

cycle23 commented 8 years ago

Around line 102 in types.scala is an error where dropRight(1) is used, which has the effect of just dropping the last character of the string conversion of the last double value, ie:

"1.0, 2.3, 3.0".dropRight(1) = "1.0, 2.3, 3."