How to do it...

  1. Create CSVRecordReader to hold customer churn data:
RecordReader recordReader = new CSVRecordReader(1,',');
  1. Add data to CSVRecordReader:
File file = new File("Churn_Modelling.csv");
recordReader.initialize(new FileSplit(file));
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset