Transfer learning is the improvement of learning in a new task through the transfer of knowledge from a related task that has already been learned.
http://pages.cs.wisc.edu/~shavlik/abstracts/torrey.handbook09.abstract.html
VGG16
Top Model
from keras.applications.vgg16 import VGG16
from keras.preprocessing import image
from keras.applications.vgg16 import preprocess_input
import numpy as np
model = VGG16(weights='imagenet', include_top=False)
img_path = 'elephant.jpg'
img = image.load_img(img_path, target_size=(224, 224))
x = image.img_to_array(img)
x = np.expand_dims(x, axis=0)
x = preprocess_input(x)
features = model.predict(x)
SVM(features)
XGBoost(features)
RandomForest(features)
or
or