Comments (7)
Just found a solution,
Input matrix should be float64 type only,
float32 gives this error.
from implicit.
There is some code to specify if you want to generate 32 or 64 bit factors as the output of this function, but the input data needs to be a float64 confidence matrix right now =(
I'll add something soon to allow float32 inputs (and will update this issue when done) - but in the meantime pass in a float64 matrix as a workaround.
from implicit.
Ok, thanks, I am continuing to play with your great library and comparing results to the raw matrix factorization (with missed data points). Is the github is convenient/appropriate place to ask you about different results ?
Also I would like to suggest a small addition: should be an option to initialize X,Y feature vectors before running matrix factorization (to be able to update existing trained model or use other methods for initialization).
P.S. Also thank you for a insightful blog posts with visualisations 👍
from implicit.
Thanks for the feedback!
Either GitHub or email works for contacting me - if you think that it might be of interest to other people, maybe just create another issue, otherwise my email address is on my github profile.
I'll make sure to add the option to train on pre-initialized factors. I'm changing around a little bit anyways (moving to a class with methods for fitting the model, predicting for a user etc) - and I can easily put that in at the same time.
from implicit.
The last commit allows training on pre-initialized factors: 8c18f16#diff-604d1b48a6ae71b2cc39b27249942f12R60. It will only initialize the factors if they haven't been set already.
from implicit.
Thanks,
I am already made modifications to my local copy of repository to be able to supply preinitialised vectors. I see you are refactoring your code to make it more scikit-learn style.
from implicit.
This commit should enable this: #62
from implicit.
Related Issues (20)
- Saving NmsLibModel HOT 1
- numpy has teriminated the `get_info` method HOT 4
- Evaluation module not working HOT 1
- Adding `numpy` to `requirements.txt`
- pip install implicit is not work to use GPU HOT 3
- Incremental update with old users but new items HOT 4
- als explain method bug
- Usage of the trained model on testing.
- ranking metrics fail when model trained on CPU but not GPU?; implicit 0.7.2 HOT 1
- Python issue HOT 4
- Is it possible to compare scores across multiple results?
- function get_lastfm() error
- getting index error while using recommend function while ALS algorithm
- What is a good enough Precision@K and MAP@K value?
- BPR results not reproducible using multiple threads
- gpu issue on colab (implicit==0.7.2 / cuda ==12.1) HOT 1
- Potential error in the calculation of precision@k HOT 2
- Early stopping for ALS
- How recommend method works in Nearest Neighbour Models? HOT 1
- Potential bug in calculation of gradient updates for BPR
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 implicit.