Giter Club home page Giter Club logo

transfer's Introduction

transfer

Python module implementing tools and methods for transfer learning.

Table of contents

Motivation

Transfer learning (TL) is an area of machine learning that studies how to leverage knowledge gained from a series of one or more source domains to train a model on a target domain. TL is an interesting topic because there are many situations, in reality, where we have access to a large dataset belonging to a specific domain, and we would like to develop a model to apply to a different situation.

To make some examples:

  • Suppose we wanted to build a model for predicting the outcome of one treatment for a specific disease. Different categories of patients usually respond differently to medical treatments. Let's imagine that we have only been able to collect data concerning a set of elderly patients, but we know the disease equally affects everyone. We are thus also interested in the reaction of young people to the treatment. That is a scenario where TL comes in handy. The topic provides us tools to transfer the knowledge obtained from the first dataset in the second, more general, and differently distributed dataset.
  • One of the most common problems of NLP is sentiment analysis. There are many aspects of language that change in meaning and use based on the discussed topic. It would probably not be accurate to apply a sentiment analysis model built upon movie reviews to news articles. TL can help us tuning our first model to make it more suited for the second task.

These are just two (pretty frequent) examples of problems in which TL can help us. While studying and practicing ML the user could probably notice a lot more cases. TL is thus a collection of useful tools that can ultimately make the difference between an excellent and a good model.

Installation

Requirements

transfer relies on the following modules:

  • NumPy
  • sciki-learn
  • CVXPY

Setup

Currently, transfer is not distributed with PyPi. The only way to install the module is thus to directly refer to this GitHub repository:

pip install git+https://github.com/Steefano/transfer

Documentation

The documentation of the module can be found here.

transfer's People

Contributors

steefano avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.