{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "## Simple model for tabular data" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "hide_input": true }, "outputs": [], "source": [ "from fastai.gen_doc.nbdoc import *\n", "from fastai.tabular.models import TabularModel" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "
class TabularModel[source][test]TabularModel(**`emb_szs`**:`ListSizes`, **`n_cont`**:`int`, **`out_sz`**:`int`, **`layers`**:`Collection`\\[`int`\\], **`ps`**:`Collection`\\[`float`\\]=***`None`***, **`emb_drop`**:`float`=***`0.0`***, **`y_range`**:`OptRange`=***`None`***, **`use_bn`**:`bool`=***`True`***, **`bn_final`**:`bool`=***`False`***) :: [`PrePostInitMeta`](/core.html#PrePostInitMeta) :: [`Module`](/torch_core.html#Module)\n",
"\n",
"No tests found for TabularModel. To contribute a test please refer to this guide and this discussion.
forward[source][test]forward(**`x_cat`**:`Tensor`, **`x_cont`**:`Tensor`) → `Tensor`\n",
"\n",
"No tests found for forward. To contribute a test please refer to this guide and this discussion.
get_sizes[source][test]get_sizes(**`layers`**, **`out_sz`**)\n",
"\n",
"No tests found for get_sizes. To contribute a test please refer to this guide and this discussion.