- 
                Notifications
    
You must be signed in to change notification settings  - Fork 160
 
Hypergraphs with Attention on Reviews for Explainable Recommendation #600
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Merged
      
      
    Conversation
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
    
              
                    lthoang
  
              
              reviewed
              
                  
                    Mar 13, 2024 
                  
              
              
            
            
              
                    lthoang
  
              
              reviewed
              
                  
                    Mar 13, 2024 
                  
              
              
            
            
              
                    lthoang
  
              
              reviewed
              
                  
                    Mar 13, 2024 
                  
              
              
            
            
              
                    lthoang
  
              
              reviewed
              
                  
                    Mar 13, 2024 
                  
              
              
            
            
              
                    lthoang
  
              
              reviewed
              
                  
                    Mar 13, 2024 
                  
              
              
            
            
              
                    lthoang
  
              
              reviewed
              
                  
                    Mar 13, 2024 
                  
              
              
            
            
              
                    lthoang
  
              
              reviewed
              
                  
                    Mar 13, 2024 
                  
              
              
            
            
| 
           LGTM  | 
    
              
                    qtuantruong
  
              
              requested changes
              
                  
                    Mar 13, 2024 
                  
              
              
            
            
| 
           @theisjendal @lthoang thanks for creating and reviewing this PR. Since there are many changes introduced, I would suggest to create separate PR that is dedicated to the changes in the LightGCN model first. I also would like to learn the motivation behind those changes. After that, we can revisit this PR for the purpose of adding the HypAR model. How does that sound?  | 
    
Added hyper and its functions.
              
                    qtuantruong
  
              
              reviewed
              
                  
                    Mar 19, 2024 
                  
              
              
            
            
| 
           LGTM  | 
    
              
                    qtuantruong
  
              
              approved these changes
              
                  
                    Mar 19, 2024 
                  
              
              
            
            
    
  qtuantruong 
      pushed a commit
        to qtuantruong/cornac
      that referenced
      this pull request
    
      Oct 25, 2025 
    
    
      
  
    
      
    
  
…referredAI#600) * Init method * Example file * Added HypAR Added hyper and its functions. * Added dataset standard files and virtual env names to ignore * Create graph comments * Flock comments * Graph wrapper comments * ao embedding comments * Remove learned ui embeddings * Learned embedding and norm comments * fit comments * Removed unused code * Comments on main file * Removed more and comments * More comments * More comments * Updated readmes * Fix dataset name * Reference fix * Path fix * Removed example * Removed HypAR from examples readme * Styling * Added hypar doc string * Removed spacing * Added paper link * Moved docstrings to earlier * Simplified model type * Added paper reference * Added lightgcn as part of HypAR * Updated url * Fix double normalize of first layer
    
  qtuantruong 
      pushed a commit
        to qtuantruong/cornac
      that referenced
      this pull request
    
      Oct 25, 2025 
    
    
      
  
    
      
    
  
…referredAI#600) * Init method * Example file * Added HypAR Added hyper and its functions. * Added dataset standard files and virtual env names to ignore * Create graph comments * Flock comments * Graph wrapper comments * ao embedding comments * Remove learned ui embeddings * Learned embedding and norm comments * fit comments * Removed unused code * Comments on main file * Removed more and comments * More comments * More comments * Updated readmes * Fix dataset name * Reference fix * Path fix * Removed example * Removed HypAR from examples readme * Styling * Added hypar doc string * Removed spacing * Added paper link * Moved docstrings to earlier * Simplified model type * Added paper reference * Added lightgcn as part of HypAR * Updated url * Fix double normalize of first layer
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
      
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Description
I have added a new model named HypAR, a new example file for HypAR, and made edits to Lightgcn.
For HypAR I've created the recom_hyper file, requirements.txt and requirements_cu116.txt.
The example file runs the method on the Cellphone dataset. As this is not part of Cornac, I simply define the methods for creating the dataset directly in the example. The parameters for HypAR are found on the validation set.
For LightGCN I have (see commit 1799bf8):
Without these LightGCN wouldn't perform as required.
Todo: Add reference to paper once publicised in readme.
Checklist:
README.md(if you are adding a new model).examples/README.md(if you are adding a new example).datasets/README.md(if you are adding a new dataset).