Train a Python model to predict probability of dying from illness

Job ID: 33342148

Budget: $30 – $250 USD

Given 1.5K observations (training set):

patient_id,age,doctor_visits,cancer_type,virus_type,bacteria_type,dead
patient_f9e6f15d23,70,99,5,6,2,0
patient_eb633e691b,100,99,6,0,6,0
...

Train a supervised model (using provided "dead" labels: 0=False, 1=True) and Generate probability of a patient to die from illness (and probability of staying alive), given variable number of input features.

Requirements:
1) Must use Python for both training and prediction code.
2) The algorithms must be able to predict based on variable number of input features (i.e. probability of death based on age only, or based on age + cancer_type, or based on age + bacteria_type, or based on all features combined - age+doctor_visits+cancer_type+virus_type+bacteria_type)
3) Final probabilities of dying (D) and staying alive (A), must be from 0..100% (example D=60%, A=40% or D=0%, A=100%).
4) Algorithm must be able to support variable number of input features (e.g.Naive Bayes or similar) where only one feature could be present (out of 5) to make a prediction.