Comments (2)
@ZacharyDeBruine are you referring to the CRAN version of the package? May we know your sessionInfo()
?
Stopping criterion is following: https://github.com/rexyai/rsparse/blob/0ea378bc8c1cbe3e0ee2af3dbd9762e2a843655e/R/model_WRMF.R#L237
ALS optimization step by design should decrease loss. If loss starting to grow - there is no point to continue. Sudden loss increase seems related to the way NMF was initially implemented (somewhat similar to "projected gradient" method) - see discussion in #36. You can install github version of the pkg from master branch and test if it works for you.
However, if your algorithm really is not meant to handle missing values, then that should be in big bold letters at the top of the package documentation so the theoretical implications are understood by all users immediately.
First of all I would definitely phrase this differently as it sounds really rude. Secondly algorithm treats missing values as missing values but not zeros as in your dense.nnls
example. So it tries to minimize error only for observed values and ignores missing. Anyway there was a bug in implementation - see discussion in #35. Now it is fixed in master branch.
from rsparse.
Thanks for the quick reply! Ah, yes the discussion and fix in #36 is exactly what I was after. I was using the CRAN version. Opened up the GitHub latest commit and it's great now.
Thanks for all your hard work on this! Sorry I was a bit overstated on my frustration. Now I get the concept of minimizing error only for observed values but not for missing values.
from rsparse.
Related Issues (20)
- item_exclude HOT 2
- devtools::install_github("dselivanov/rsparse") Win7 Will not compile. HOT 15
- Classification Using Factorization Machines HOT 2
- How to use item_exclude HOT 1
- future float R version dependency HOT 2
- Error loading rsparse after install HOT 5
- Embarrassingly Shallow Autoencoders for Sparse Data HOT 1
- EigenRec: Generalizing PureSVD for Effective and Efficient Top-N Recommendations HOT 2
- HybridSVD: When Collaborative Information is Not Enough
- Optimization objective under explicit feedback HOT 7
- Non-negativity constraints HOT 10
- Cholesky solver HOT 8
- Development version failing compilation with devtools::install_github("rexyai/rsparse") HOT 1
- user and item biases in WRMF and explicit feedback HOT 30
- WRMF user and item biases for implicit feedback data HOT 15
- Dead wikipedia link
- Configure script doesn't pick OpenMP
- Huge performance degradataion for WRMF HOT 1
- Q; Python wrappers? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rsparse.