stefanfroth / nmf_extension Goto Github PK
View Code? Open in Web Editor NEWThis repository extends the functionality of the class sklearn.decomposition.NMF
License: GNU General Public License v3.0
This repository extends the functionality of the class sklearn.decomposition.NMF
License: GNU General Public License v3.0
The values of the ratings rise substantially above 5 (eg. 10 or higher). Implement a method to bound the values.
So far it is not possible in the scikit-learn implementation of NMF to add bias terms. Make this possible.
Hi Stefan (I saw your comment https://github.com/spicedacademy/datascience_source/issues/223#issuecomment-737381613),
for inspiration you maybe also want to have a look at these two issues/ pull requests from the sklearn project:
I think, the idea is, that you modify the loss function in such a way that it ignores missing entries.
In the current version of the project the attribute .reconstruction_err_ is not created.
Currently, the code assumes that the input matrix is a pd.DataFrame
, because functions such as df.isna()
are used. I think one could easily switch to numpy
only (e.g. by using np.isnan
) which is also the default in sklearn
.
The performance of the algorithm is currently very slow. It needs massive speed improvement to be actually useful.
The learning rate is currently hard coded. It will fail for some problems and work for others. Either adjust the learning rate automatically or introduce it as an attribute.
Currently the nmf.transform() cannot handle NaNs
Include the use of transform in the README file
Evaluate whether the performance of this implementation outperforms the original implementation with imputation on the MovieLens Data.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.