const renderWay = require('./renderWay');
const predict = require('./predict');

module.exports = (model, dispatch) => {
  const prediction = predict(model);
  return renderWay(prediction, {
    label: 'prediction',
    numbers: true,
    numbersBegin: model.history[0].length
  });
};

const renderWay = require('./renderWay');
const predict = require('./predict');

module.exports = (model, dispatch) => {
  const prediction = predict(model);
  return renderWay(prediction, {
    label: 'future',
    numbers: true,
    numbersBegin: model.history[0].length
  });
};

Rename prediction label to future
Rename prediction label to future
