<?php

	Configure::write('predictionIO', array(
		'appkey' => 'your-key',
		'userModel' => 'User',
		'engine' => ''
	));

	$files = array(
		App::pluginPath('PredictionIO') . 'vendor' . DS . 'autoload.php',
		APP . 'Vendor' . DS . 'autoload.php',
		APP . 'vendor' . DS . 'autoload.php',
	);

	foreach ($files as $file) {
		if (file_exists($file)) {
			require_once $file;
			break;
		}
	}

<?php

	Configure::write('predictionIO', array(
		'appkey' => 'your-key',
		'host' => 'localhost:8000',
		'userModel' => 'User',
		'engine' => ''
	));

	$files = array(
		App::pluginPath('PredictionIO') . 'vendor' . DS . 'autoload.php',
		APP . 'Vendor' . DS . 'autoload.php',
		APP . 'vendor' . DS . 'autoload.php',
	);

	foreach ($files as $file) {
		if (file_exists($file)) {
			require_once $file;
			break;
		}
	}

Add predictionIO api url to Config
Add predictionIO api url to Config
