tensorflow/lite/g3doc/api_docs/python/tflite_model_maker/recommendation.md
page_type: reference description: APIs to train an on-device recommendation model.
<link rel="stylesheet" href="/site-assets/css/style.css"> <!-- DO NOT EDIT! Automatically generated file. --> <div itemscope itemtype="http://developers.google.com/ReferenceObject"> <meta itemprop="name" content="tflite_model_maker.recommendation" /> <meta itemprop="path" content="Stable" /> </div>View source on GitHub
APIs to train an on-device recommendation model.
<a href="https://github.com/tensorflow/examples/blob/master/tensorflow_examples/lite/model_maker/demo/recommendation_demo.py">https://github.com/tensorflow/examples/blob/master/tensorflow_examples/lite/model_maker/demo/recommendation_demo.py</a>
spec module: APIs for recommendation specifications.
class DataLoader: Recommendation data loader.
class ModelSpec: Recommendation model spec.
class Recommendation: Recommendation task class.
create(...): Loads data and train the model for recommendation.