Determine the Author of a Text
Make a function that determines the author of a text.
how it works
Import examples of the writings of Shakespeare, Oscar Wilde, and Victor Hugo to train a classifier:
Make a classifier function with the training set:
Test the classifier on texts not in the training set: