Answers.Body: <p>That is not what an auto-encoder is doing. An auto-encoder gives you a compressed representation of the input. It is trained by mapping the input data to itself, with the compressed form in between.</p>
  
  <p>To predict recommendations, you need to train your input data on existing user recommendations.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-02-20T18:22:21.280Z
Answers.Text: Hey, thank you for responding. Can you share any useful links? or examples that is doing this predict recommendation part?
Answers.UserDisplayName: Debugger
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-02-20T22:57:48.240Z
Answers.Text: @Debugger you can try to use recommendation system algorithm, for example matrix factorization
Answers.UserDisplayName: malioboro
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-02-20T09:58:38.100Z
Answers.LastActivityDate: 2020-02-20T09:58:38.100Z
Answers.UserDisplayName: Feodoran
Body: <p>I have trained a model using Auto-encoder on movielens dataset. Below is how i trained the model.</p>
  
  
  
  <pre><code>r = model.fit_generator(
    generator(A, mask),
    validation_data=test_generator(A_copy, mask_copy, A_test_copy, mask_test_copy),
    epochs=epochs,
    steps_per_epoch=A.shape[0] // batch_size + 1,
    validation_steps=A_test.shape[0] // batch_size + 1,
  )
  </code></pre>
  
  <p>It is giving good results but now i am confused how should i get the top 5 recommendation on user input. </p>
  
  <p>Just wanted to print the result on console. Can anyone help me please?</p>
  
Tags: <deep-learning><autoencoders><recommender-system>
Title: How to get top 5 movies recommendations from Auto-Encoder
UserDisplayName: Debugger
ThreadText: # How to get top 5 movies recommendations from Auto-Encoder
  
  (Asked by: username_0 on 2020-02-19)
  
  I have trained a model using Auto-encoder on movielens dataset. Below is how i trained the model.
  r = model.fit_generator(
    generator(A, mask),
    validation_data=test_generator(A_copy, mask_copy, A_test_copy, mask_test_copy),
    epochs=epochs,
    steps_per_epoch=A.shape[0] // batch_size + 1,
    validation_steps=A_test.shape[0] // batch_size + 1,
  )
  
  It is giving good results but now i am confused how should i get the top 5 recommendation on user input. 
  Just wanted to print the result on console. Can anyone help me please?
  
  **Tags:** deep-learning, autoencoders, recommender-system
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-02-20. Score: 1
  
  That is not what an auto-encoder is doing. An auto-encoder gives you a compressed representation of the input. It is trained by mapping the input data to itself, with the compressed form in between.
  
  To predict recommendations, you need to train your input data on existing user recommendations.
  
  > **Comments:**
  > **username_0**: Hey, thank you for responding. Can you share any useful links? or examples that is doing this predict recommendation part?  
  > **username_2**: @Debugger you can try to use recommendation system algorithm, for example matrix factorization  
  
  ---
  
  