The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

453314 (2) [Avatar] Offline
“Listing 2.13 Data Path Handling
val inputBasePath = "example_data" ?
val outputBasePath = "." ?
val trainingDataPath = inputBasePath + "/training.txt"
val testingDataPath = inputBasePath + "/testing.txt"
val currentOutputPath = outputBasePath + System.currentTimeMillis() ?”

Is there supposed to be a forward slash between outputBasePath and the time?

And in 2.14 it would be helpful for the reader to see a few lines of the input text file that you're reading into the features.