prediction_calculator.php parse input