This code is for cross-domain sentiment classification via topic-related tradaboost and transfer network combining it with convolutional neural network, respectively. The dataset can be down load here. The code runs under the environment of Python, numpy, scipy, scikit-learn, gensim, Keras, etc.