{'fraction_non_alphanumeric': 0.02116704805491991, 'fraction_numerical': 0.0, 'mean_word_length': 5.526119402985074, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Sparse Fisher's linear discriminant analysis for partially labeled data

Classification is an important tool with many useful applications. Fisher's linear discriminant analysis (LDA) is a traditional model‐based classification method which makes use of the Gaussian distributional information. However, in the high‐dimensional, low‐sample‐size setting, LDA cannot be directly deployed because the sample covariance is not invertible. While there are modern methods for high‐dimensional data, they may not fully use the information as LDA does. Hence in some situations, it is still desirable to use a model‐based method for classification. This paper exploits the potential of LDA in a more complicated data setting. In many real applications, it is costly to manually place labels on observations; consequently, often only a small portion of labeled data is available while a large number of observations are left without labels. It is a great challenge to obtain good classification performance through the labeled data alone, especially in the high‐dimensional setting. In order to overcome this issue, we propose a semisupervised sparse LDA classifier to take advantage of the seemingly useless unlabeled data, which helps to boost the classification performance in some situations. A direct estimation method is used to reconstruct LDA and achieve sparsity; meanwhile we employ the difference‐convex algorithm to handle the nonconvex loss function associated with the unlabeled data. Theoretical properties of the proposed classifier are studied. Our simulated examples help understand when and how the information extracted from the unlabeled data can be useful. A real data example further illustrates the usefulness of the proposed method.