Linear discriminant analysis is the algorithm that is used for classification tasks. This is often used to find the linear combination of the input features in the data, which can separate the observations into classes. In this case, it would be two classes; however, multi-class classification can also be done through the discriminant analysis algorithm, which is also called the multi-class linear discriminant analysis algorithm.
To get started with this recipe, you have to clone the
DiscriminantAnalysis.jl library from GitHub. This can be done by the following command:
And then, we can import the library by calling by its name, which ...