# Repurposing¶

Base Classes:

 xfer.Repurposer Base Class for repurposers that train models using Transfer Learning (source_model -> target_model). xfer.MetaModelRepurposer Base class for repurposers that extract features from layers in source neural network (Transfer) and train a meta-model using the extracted features (Learn). xfer.NeuralNetworkRepurposer Base class for repurposers that create a target neural network from a source neural network through Transfer Learning.

Repurposers:

 xfer.LrRepurposer Perform Transfer Learning through a Logistic Regression meta-model which repurposes the source neural network. xfer.SvmRepurposer Perform Transfer Learning through a Support Vector Machine (SVM) meta-model which repurposes the source neural network. xfer.GpRepurposer Repurpose source neural network to create a Gaussian Process (GP) meta-model through Transfer Learning. xfer.BnnRepurposer Perform Transfer Learning through a Bayesian Neural Network (BNN) meta-model which repurposes the source neural network. xfer.NeuralNetworkFineTuneRepurposer Class that creates a target neural network from a source neural network through Transfer Learning. xfer.NeuralNetworkRandomFreezeRepurposer Class that creates a target neural network from a source neural network through Transfer Learning.

# Model Handler¶

 xfer.model_handler.ModelHandler Class for model manipulation and feature extraction. xfer.model_handler.exceptions Exceptions for Model Handler. xfer.model_handler.consts Model Handler constants.