A classical Bag-of-Words method using Sklern models to classify articles from a given input content. Trained data are taken from BBC data set which can be found here: http://mlg.ucd.ie/datasets/bbc.html
https://github.com/eanunez/ArticleClassifier/blob/master/cnn/Multi-Channel%20CNN.ipynb. Classification of articles using Keras backened with Tensorflow. Adapted from Jason Brownlee's: https://machinelearningmastery.com/develop-n-gram-multichannel-convolutional-neural-network-sentiment-analysis/
in order to accept datasets in pandas' dataframe.
https://github.com/eanunez/ArticleClassifier/blob/master/cnn/One-Dimensional%20CNN.ipynb. An example of generic classifier, 1D CNN using Keras, backened with Tensorflow. It accepts pandas dataframe as input for training and testing data.