Giter Site home page Giter Site logo

swapuniba / clayrs Goto Github PK

View Code? Open in Web Editor NEW
32.0 32.0 5.0 33.29 MB

Complexly represent contents, build recommender systems, evaluate them. All in one place!

Home Page: https://swapuniba.github.io/ClayRS

License: GNU General Public License v3.0

Python 70.21% Jupyter Notebook 29.79%
content-based-recommendation evaluation-metrics graph-based-recommendation python recommender-system

clayrs's People

Contributors

giuseppe199925 avatar itfra avatar m-elio avatar marcopoli avatar raimondodisangro avatar silleellie avatar yukiroby avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

clayrs's Issues

[Question/Request] Is it possible to make the framework back-end agnostic?

Is your feature request related to a problem? Please describe.
Currently, we have an interesting variety of possible back-ends for mathematical processing. However, to minimize the differences and allow a quick transition between them, frameworks like Ivy are growing and allowing users/developers/researchers/etc to implement their models through an agnostic interface and execute them in any back-end they want. This solution would also make PyTorch not a mandatory dependency for the project, and we would be able to install ClayRS along a specific back-end with commands like pip install clayrs[tf] or pip install clayrs[torch] - which also complies with HuggingFace, for instance.

Describe the solution you'd like
Something like this would be interesting if I have more than one backend available:

from clayrs.backend import use_tensorflow
use_tensorflow()

If there is only one backend available, use it as default with an info/warning message in the first usage.

Additional context
Filling this issue while attending Marco Polignano's lecture at RecSys Summer School 2023 :)

[Question/Request] Collaborative Filtering?

Is your feature request related to a problem? Please describe.
Is it a plan to evolve and include Collaborative Filtering in the package? It would be exciting if we could have methods like matrix factorization off-the-shelf, considering that the validation and evaluation are the same in many cases.

Describe the solution you'd like
I want to be able to import a Matrix Factorization with something like this:

from clayrs import recsys as rs
strategy = rs.MatrixFactorization(...)
collaborative_rs = rs.CollaborativeFilteringRS(strategy, ...)

Describe alternatives you've considered
There are a few models already implemented in other frameworks shared during previous editions of RecSys, including DRecPy, which also provides efficient memory-disk management.

Additional context
Filling this issue while attending Marco Polignano's lecture at RecSys Summer School 2023 :)

Set default number of cpus to 1 for the RecSys module

At the moment, the default number of cpus for the recsys module is 0, meaning that all possible cpus will be used: this is a problem since python multiprocessing relies on pickling contexts which may be slow depending on the environment (mainly colab).

Change the default value to 1 to improve ease of use and speed for the above cases

[Question] Are all the dependencies really mandatory?

Is your feature request related to a problem? Please describe.
Currently, it takes a long time to install the package and it also requires the installation of other resources - such as MySQL - which may often not be used. Is it possible to reduce the mandatory dependencies to the core ones, and require other ones as long as the user needs them?

Describe the solution you'd like
For example, NLTK only downloads text corpora when requested by the user. Following these optics, I am a user that will likely never use such a package for knowledge-aware recommenders or building knowledge graphs, but I have a great interest in using it for Collaborative Filtering - and perhaps, in the future, Sequential and Session-based recommendation.

Additional context
Filling this issue while attending Marco Polignano's lecture at RecSys Summer School 2023 :)

Improve coherence Transformer embedding technique

At the moment, the class Transformer of the content analyzer has embedded inside the pooling operation which is instead done for the other embedding techniques by the Words2Sentence class, Words2Doc class, etc.

Fix this to improve coherence

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.