#########################################################
# Example usage                                         #
# of mutual-info-2D and MIFS perl scripts               #
#########################################################


#mutual-info-2D
Granth-MI: Grantham.feature.pairs
	mutual-info-2D -inputfile $^ -colname1 LABEL -colname2 FEATURE -numpermutes 100 > $@

#configure these to match locations of files on your system
FEATURE_CLASS_MI_DIR=
FEATURE_FEATURE_MI_DIR=

#MIFS
best-features:
	MIFS -feature_class_mi_dir ${FEATURE_CLASS_MI_DIR} -feature_feature_mi_dir ${FEATURE_FEATURE_MI_DIR} -colname1 LABEL -colname2 FEATURE -nselect 5  -beta 0.5  -objective 2  < candidate-features > $@
