---

title: Wide & Deep


keywords: fastai
sidebar: home_sidebar

summary: "A pytorch implementation of wide and deep learning."
description: "A pytorch implementation of wide and deep learning."
nb_path: "nbs/models/models.wide_and_deep.ipynb"
---
<!--

#################################################
### THIS FILE WAS AUTOGENERATED! DO NOT EDIT! ###
#################################################
# file to edit: nbs/models/models.wide_and_deep.ipynb
# command to build the docs after a change: nbdev_build_docs

-->

<div class="container" id="notebook-container">
        
    {% raw %}
    
<div class="cell border-box-sizing code_cell rendered">

</div>
    {% endraw %}

    {% raw %}
    
<div class="cell border-box-sizing code_cell rendered">

</div>
    {% endraw %}

    {% raw %}
    
<div class="cell border-box-sizing code_cell rendered">

<div class="output_wrapper">
<div class="output">

<div class="output_area">


<div class="output_markdown rendered_html output_subarea ">
<h2 id="WideAndDeep" class="doc_header"><code>class</code> <code>WideAndDeep</code><a href="https://github.com/RecoHut-Projects/recohut/tree/master/recohut/models/wide_and_deep.py#L11" class="source_link" style="float:right">[source]</a></h2><blockquote><p><code>WideAndDeep</code>(<strong><code>field_dims</code></strong>, <strong><code>embed_dim</code></strong>, <strong><code>mlp_dims</code></strong>, <strong><code>dropout</code></strong>) :: <code>Module</code></p>
</blockquote>
<p>A pytorch implementation of wide and deep learning.
Reference:
    HT Cheng, et al. Wide &amp; Deep Learning for Recommender Systems, 2016.</p>

</div>

</div>

</div>
</div>

</div>
    {% endraw %}

    {% raw %}
    
<div class="cell border-box-sizing code_cell rendered">

</div>
    {% endraw %}

<div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
<blockquote><p><strong>References:-</strong>- HT Cheng, et al. Wide &amp; Deep Learning for Recommender Systems, 2016. <a href="https://arxiv.org/abs/1606.07792">https://arxiv.org/abs/1606.07792</a>.</p>
<ul>
<li><a href="https://github.com/rixwew/pytorch-fm/blob/master/torchfm/model/wd.py">https://github.com/rixwew/pytorch-fm/blob/master/torchfm/model/wd.py</a></li>
</ul>
</blockquote>

</div>
</div>
</div>
</div>
 

