Tools
& News
|PHP Editor for Machine Learning|
Type & RUN PHP codes.
train($student_marks, $admission_status); $new_sudent_status=$classifier->predict([7,6,8]); if ($new_sudent_status=="Yes") { echo "Student will be admitted to the university."; } else { echo "Student will not be admitted to the university."; } ?>
The output:
output is....