---

title: FNN


keywords: fastai
sidebar: home_sidebar

summary: "A pytorch implementation of FNN."
description: "A pytorch implementation of FNN."
nb_path: "nbs/models/models.fnn.ipynb"
---
<!--

#################################################
### THIS FILE WAS AUTOGENERATED! DO NOT EDIT! ###
#################################################
# file to edit: nbs/models/models.fnn.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="FNN" class="doc_header"><code>class</code> <code>FNN</code><a href="https://github.com/RecoHut-Projects/recohut/tree/master/recohut/models/fnn.py#L11" class="source_link" style="float:right">[source]</a></h2><blockquote><p><code>FNN</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 FNN.
Reference:
    W Zhang, et al. Deep Learning over Multi-field Categorical Data - A Case Study on User Response Prediction, 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>- W Zhang, et al. Deep Learning over Multi-field Categorical Data - A Case Study on User Response Prediction, 2016.</p>
<ul>
<li><a href="https://github.com/rixwew/pytorch-fm/blob/master/torchfm/model/fnn.py">https://github.com/rixwew/pytorch-fm/blob/master/torchfm/model/fnn.py</a></li>
</ul>
</blockquote>

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

