---

title: Avazu


keywords: fastai
sidebar: home_sidebar

summary: "Avazu dataset."
description: "Avazu dataset."
nb_path: "nbs/datasets/datasets.avazu.ipynb"
---
<!--

#################################################
### THIS FILE WAS AUTOGENERATED! DO NOT EDIT! ###
#################################################
# file to edit: nbs/datasets/datasets.avazu.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="AvazuDataset" class="doc_header"><code>class</code> <code>AvazuDataset</code><a href="https://github.com/RecoHut-Projects/recohut/tree/master/recohut/datasets/avazu.py#L17" class="source_link" style="float:right">[source]</a></h2><blockquote><p><code>AvazuDataset</code>(<strong>*<code>args</code></strong>, <strong>**<code>kwds</code></strong>) :: <a href="/recohut/datasets.base.html#Dataset"><code>Dataset</code></a></p>
</blockquote>
<p>Avazu Click-Through Rate Prediction Dataset
Dataset preparation
    Remove the infrequent features (appearing in less than threshold instances) and treat them as a single feature
:param dataset_path: avazu train path
:param cache_path: lmdb cache path
:param rebuild_cache: If True, lmdb cache is refreshed
:param min_threshold: infrequent feature threshold
Reference
    <a href="https://www.kaggle.com/c/avazu-ctr-prediction">https://www.kaggle.com/c/avazu-ctr-prediction</a></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>- <a href="https://github.com/rixwew/pytorch-fm/blob/master/torchfm/dataset/avazu.py">https://github.com/rixwew/pytorch-fm/blob/master/torchfm/dataset/avazu.py</a></p>
</blockquote>

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

