#!/usr/bin/env python # coding: utf-8 # ## Application fields # In[1]: from fastai.gen_doc.nbdoc import * # The fastai library allows you to train a [`Model`](https://pytorch.org/docs/stable/nn.html#torch.nn.Module) on a certain [`DataBunch`](/basic_data.html#DataBunch) very easily by binding them together inside a [`Learner`](/basic_train.html#Learner) object. This module regroups the tools the library provides to help you preprocess and group your data in this format. # # ## [`collab`](/collab.html#collab) # # This submodule handles the collaborative filtering problems. # # ## [`tabular`](/tabular.html#tabular) # # This sub-package deals with tabular (or structured) data. # # ## [`text`](/text.html#text) # # This sub-package contains everything you need for Natural Language Processing. # # ## [`vision`](/vision.html#vision) # # This sub-package contains the classes that deal with Computer Vision. # # ## Module structure # # In each case (except for [`collab`](/collab.html#collab)), the module is organized this way: # # ### [`transform`](/tabular.transform.html#tabular.transform) # # This sub-module deals with the pre-processing (data augmentation for images, cleaning for tabular data, tokenizing and numericalizing for text). # # ### [`data`](/tabular.data.html#tabular.data) # # This sub-module defines the dataset class(es) to deal with this kind of data. # # ### [`models`](/tabular.models.html#tabular.models) # # This sub-module defines the specific models used for this kind of data. # # ### [`learner`](/tabular.learner.html#tabular.learner) # # When it exists, this sub-module contains functions that will directly bind this data with a suitable model and add the necessary callbacks. # ## Usage # # To start using any of the above applications, simply import the top level module. # All the [submodules](#Module-structure) get included. # The general structure is: # ```python # from fastai.[APPLICATION] import * # ``` # For example, to use collab: # ```python # from fastai.collab import * # ``` # *For more information on [imports](/index.html#imports)* # ## Open This Notebook # #