Multiwavelength GRB Classifier  
This Multiwavelength GRB Classifier physically classify Gamma Ray Bursts (GRBs) as Type II (massive star core collapse) and Type I GRB (compact star merger) based on multiwavelength criteria, with Naive Bayes method ultilized. Both the prompt emission information and host galaxy information are taken into consideration. This method is based on Li, Zhang & Yuan, 2020, The Astrophysical Journal, xxx, also available at arXiv:2005.13663.  
Input parameter
(keep the unknown parameters blank) 

name (not required):  log T_90 (s):  
log E_iso (erg):  alpha:  
log E_p (keV):  log (f_eff1):  
log sSFR (Gyr^1):  log M (M_sun):  
[X/H]:  log R_50 (kpc):  
log r_off:  F_light:  
Input parameters:
Output:

Program Version HistoryV1.0: 2020 May. Original program version corresponding to submitted version of Li, Zhang and Yuan (2020).
 
DownloadDownload the python code. Run python grb_cls.py to see the results in data_out.csv.Contact Ye Li (liye_kiaa@pku.edu.cn) or Bing Zhang (zhang@physics.unlv.edu) if any problem is encountered. 