How to deploy model using node js
- Dominant language
- Python
- Stars
- 5.1k
- Forks
- 724
- PR merge metrics
- No merged PRs in 30d
Description
I created a recommendation system using lightFM on Google Colab. I want to deploy this model using Node JS. I read this [article](https://www.geeksforgeeks.org/how-to-deploy-a-machine-learning-model-using-node-js/) and tried the method recommended here. It recommended using tensorflow.js. For that the model needed to be saved and this is where the problem arose since I wrote my model using lightFM.
This gave rise to following error:
`
AttributeError Traceback (most recent call last)
in
----> 1 model.save("model.h5")
AttributeError: 'LightFM' object has no attribute 'save'
`
What is the alternative to model.save in lightfm? How can we deploy model written in lightfm using node js?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing LightFM's model serialization capabilities and the linked Node.js deployment approach. Determine whether a supported export or interoperability path is required for deploying a LightFM model in Node.js; done would mean a documented, reproducible deployment path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, python
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100