def extract_features_and_labels(df):
    """Extracts features and labels matrix from df"""
    num_of_feature_cols = 4

    X = df.message.values
    Y = df[df.columns[num_of_feature_cols:]]
    category_names = Y.columns.tolist()

    return X, Y, category_names