Predicting Mortality of ICU Patients: The PhysioNet/Computing in Cardiology Challenge 2012 1.0.0

File: <base>/sources/tom.pollard.11_at_ucl.ac.uk/entry10/phys_filter.m (3,939 bytes)
function [phys_filter_table]=phys_filter(cat_name);

% Columns for min/max filter and replacing NaNs
% [1.Min;2.Max;3.Mean;4.Chi_var;5.Moment(Av);6.Mom(Var);7.Mom(skew);8.Mom(Kurt);
% 9.Nanoflare(min);10.Nanoflare(max);11.Nanoflare(mean_intensity);12.Nanoflare(int_change)]

Age=        [0 	    200    	64.25	0.000	0.000	0.000	0.000	0.00	0.00	0.00	0.00	0.00];
Albumin=    [0 	    200    	2.97	0.110	0.000	0.000	0.146	2.04	0.00	0.00	0.00	0.00]; %NOT IN SAPS
ALP=        [0 	    9999   	104.64	4.505	0.011	0.009	-0.127	2.26	0.00	0.00	0.00	0.00]; %NOT IN SAPS
ALT=        [0      9999   	169.96	8.397	0.033	1.958	-0.003	2.30	0.00	0.00	0.00	0.00]; %NOT IN SAPS 
AST=        [0 	    9999   	213.25	10.990	-0.160	5.811	0.084	2.29	0.00	0.00	0.00	0.00]; %NOT IN SAPS
Bilirubin=  [0 	    200    	1.90	0.470	0.000	0.000	-0.030	2.27	0.00	0.00	0.00	0.00]; %NOT IN SAPS
BUN=        [1 	    100    	24.52	1.670	0.000	0.000	-0.071	2.11	0.00	0.00	0.00	0.00]; 
Cholesterol=[0 	    9999   	156.57	0.000	0.000	0.000	0.000	0.00	0.00	0.00	0.00	0.00]; %NOT IN SAPS
Creatinine= [0 	    200    	1.37	0.111	0.000	0.000	-0.085	2.26	0.00	0.00	0.00	0.00]; %NOT IN SAPS
DiasABP=    [0 	    200    	59.25	1.305	-0.004	0.468	-0.074	12.18	11.85	22.34	13.66	1.03]; %NOT IN SAPS
FiO2=       [0 	    200    	0.55	0.039	-0.001	0.000	-1.292	7.38	12.60	13.86	0.05	1.20]; %NOT IN SAPS
GCS=        [3 	    15     	11.60	0.469	0.002	0.000	0.753	6.67	15.51	17.72	0.39	0.98];
Gender=     [0 	    200    	0 		0.000	0.000	0.000	0.000	0.00	0.00	0.00	0.00	0.00]; %NOT IN SAPS
Glucose=    [0.5 	1000   	137.11	17.516	-0.038	0.354	-0.072	2.22	0.00	0.00	0.00	0.00];
HCO3=       [2 	    100    	23.65	0.859	0.002	0.001	0.032	2.21	0.00	0.00	0.00	0.00];
HCT=        [5 	    80     	31.44	1.038	0.002	0.010	0.288	2.58	0.00	0.00	0.00	0.00];
Height=     [0 	    400    	151.64 	0];    %NOT IN SAPS
HR=         [10 	250    	87.16	1.331	-0.008	0.434	-0.138	13.24	15.99	26.10	8.72	1.01];
ICUType=    [0     	200    	2.76   	0];    %NOT IN SAPS
K=          [0.5   	20     	4.13	0.181	0.000	0.000	-0.001	2.25	0.00	0.00	0.00	0.00];
Lactate=    [0     	200    	2.32	0.390	-0.001	0.002	-0.047	2.88	0.00	0.00	0.00	0.00]; %NOT IN SAPS
Mg=         [0 	    200    	2.02	0.110	0.000	0.000	0.326	2.29	0.00	0.00	0.00	0.00]; %NOT IN SAPS
MAP=        [0 	    300    	78.99	1.518	-0.005	0.737	-0.064	12.29	11.75	22.27	15.52	1.03]; %NOT IN SAPS
MechVent=   [0 	    1      	0		0.000	0.000	0.000	0.000	0.00	15.69	15.69	0.00	1.00];
Na=         [20 	500    	138.86	0.910	-0.002	0.014	0.027	2.23	0.00	0.00	0.00	0.00];
NIDiasABP=  [0 	    300    	57.35  	2.06]; 
NIMAP=      [0 	    300    	76.30  	2.07]; 
NISysABP=   [0     	9999   	117.07 	2.98]; 
PaCO2=      [0     	9999   	40.38	1.622	-0.001	0.035	-0.158	3.65	0.00	0.00	0.00	0.00]; %NOT IN SAPS
PaO2=       [0     	9999   	147.99	14.948	-0.126	4.277	-0.352	4.06	0.00	0.00	0.00	0.00]; %NOT IN SAPS
pH=         [0     	20     	7.38	0.023	0.000	0.000	0.044	3.80	0.00	0.00	0.00	0.00]; %NOT IN SAPS
Platelets=  [0     	9999   	205.32	8.367	-0.010	0.176	0.131	2.48	0.00	0.00	0.00	0.00]; %NOT IN SAPS
% RecordID= [0     	200];
RespRate=   [2     	100    	19.68	0.530	0.000	0.042	0.087	8.89	12.06	20.80	5.73	1.02];
SaO2=       [0     	9999   	96.56	0.570	0.005	0.069	0.079	3.29	11.00	12.67	0.48	1.00]; %NOT IN SAPS
SysABP=     [20    	300    	120.12	2.073	-0.005	1.275	-0.058	11.84	11.54	21.72	24.02	1.03];
Temp=       [15    	45     	37.01	0.137	0.001	0.000	0.157	4.93	14.32	27.57	0.15	0.98];
% TropI=    [0     	200,0]; %NOT IN SAPS
% TropT=    [0     	200,0]; %NOT IN SAPS
Urine=      [0     	9999   	132.99	20.558	-0.582	417.858	-1.196	11.61	12.07	16.19	80.88	0.00]; % Convert from L to mL? Weight of patient.
WBC=        [0.1   	200    	12.54	1.180	0.000	0.001	0.029	2.29	0.00	0.00	0.00	0.00];
Weight=     [0     	300    	98.42	0.117	0.000	0.001	2.531	38.00	47.23	48.51	0.03	0.00]; %NOT IN SAPS

eval(['phys_filter_table=' regexprep(cat_name{1},' ','_') ';']);

%EOF