In this case, supervised learning would be more appropriate. Supervised learning algorithms work by training a model on labeled data, where the outcome (e.g., whether a disease outbreak occurred) is known. This allows the model to learn patterns from the medical records that can predict future outbreaks or help allocate resources effectively. Unsupervised learning, on the other hand, would be useful for clustering or anomaly detection tasks but may not provide direct predictions based on labeled outcomes like supervised learning can.
Consider the following two documents:
Document 1: ML and DL are part of AI.
Document 2: DL is a subset of ML.
Implement all four steps of the Bag of Words (Bow) model to create a document vector table .Depict the outcome of each step