 <div class="ref-description">
    <p>AutoKeras text classification class.<br />
To `fit`, `evaluate` or `predict`, format inputs as:</p><ul>
<li><p>x : array. The input data should be array. The data should be one
  dimensional. Each element in the data should be a string which is a full
  sentence.</p></li>
<li><p>y : array. It can be raw labels, one-hot encoded if more than two classes, or
  binary encoded for binary classification.</p></li>
</ul>

    </div>

    <pre class="usage"><span class='fu'>mode