{"id":15008973,"url":"https://github.com/abdullahselek/koolsla","last_synced_at":"2025-04-09T16:23:33.098Z","repository":{"id":62574561,"uuid":"121782074","full_name":"abdullahselek/koolsla","owner":"abdullahselek","description":"Food recommendation tool with Machine learning.","archived":false,"fork":false,"pushed_at":"2022-02-17T20:56:24.000Z","size":14075,"stargazers_count":21,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T18:39:19.134Z","etag":null,"topics":["cosine-similarity","machine-learning","pypi-packages","python-2","python-3","tf-idf"],"latest_commit_sha":null,"homepage":"https://koolsla.abdullahselek.com/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abdullahselek.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-16T17:53:36.000Z","updated_at":"2024-10-04T02:52:59.000Z","dependencies_parsed_at":"2022-11-03T17:46:36.583Z","dependency_job_id":null,"html_url":"https://github.com/abdullahselek/koolsla","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullahselek%2Fkoolsla","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullahselek%2Fkoolsla/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullahselek%2Fkoolsla/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullahselek%2Fkoolsla/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abdullahselek","download_url":"https://codeload.github.com/abdullahselek/koolsla/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247887203,"owners_count":21012966,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cosine-similarity","machine-learning","pypi-packages","python-2","python-3","tf-idf"],"created_at":"2024-09-24T19:22:03.029Z","updated_at":"2025-04-09T16:23:33.069Z","avatar_url":"https://github.com/abdullahselek.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"|logo| koolsla\n==============\n\n.. |logo| image:: https://images1-focus-opensocial.googleusercontent.com/gadgets/proxy?url=https://raw.githubusercontent.com/abdullahselek/koolsla/master/resources/logo.png\u0026container=focus\u0026resize_w=20\u0026resize_h=20\n\n.. image:: https://github.com/abdullahselek/koolsla/workflows/koolsla%20ci/badge.svg\n    :target: https://github.com/abdullahselek/koolsla/actions\n\n.. image:: https://img.shields.io/pypi/v/koolsla.svg\n    :target: https://pypi.python.org/pypi/koolsla/\n\n.. image:: https://img.shields.io/pypi/pyversions/koolsla.svg\n    :target: https://pypi.org/project/koolsla\n\n.. image:: https://readthedocs.org/projects/koolsla/badge/?version=latest\n    :target: http://koolsla.readthedocs.org/en/latest/?badge=latest\n\n.. image:: https://codecov.io/gh/abdullahselek/koolsla/branch/master/graph/badge.svg\n    :target: https://codecov.io/gh/abdullahselek/koolsla\n\n+--------------------------------------------------------------------------+------------------------------------------------------------------------------------+\n|                                Linux                                     |                                       Windows                                      |\n+==========================================================================+====================================================================================+\n| .. image:: https://travis-ci.org/abdullahselek/koolsla.svg?branch=master | .. image:: https://ci.appveyor.com/api/projects/status/l5bt8yw7n35cvsov?svg=true   |\n|   :target: https://travis-ci.org/abdullahselek/koolsla                   |    :target: https://ci.appveyor.com/project/abdullahselek/koolsla                  |\n+--------------------------------------------------------------------------+------------------------------------------------------------------------------------+\n\nDescription\n===========\n\nkoolsla (`Coleslaw \u003chttps://en.wikipedia.org/wiki/Coleslaw\u003e`_) is a recommendation tool based on Machine Learning with contents.\nDeveloped with the power of `tf-idf \u003chttps://en.wikipedia.org/wiki/Tf%E2%80%93idf\u003e`_ and `Cosine Similarity \u003chttps://en.wikipedia.org/wiki/Cosine_similarity\u003e`_.\n\nThe user gives a natural number that corresponds to the ID of a unique dish name. Through `tf-idf` the plot summaries of 424508 different dishes that reside in the dataset, are analyzed and vectorized. \nSet of dishes (number set by user) is chosen as recommendations based on their `cosine similarity` with the vectorized input.\n\nkoolsla is mainly an educational project.\n\nInstallation\n============\n\nYou can install koolsla using::\n\n    $ pip install koolsla\n\nGetting the code\n================\n\nThe code is hosted at https://github.com/abdullahselek/koolsla\n\nCheck out the latest development version anonymously with::\n\n    $ git clone git://github.com/abdullahselek/koolsla.git\n    $ cd koolsla\n\nTo install test dependencies, run either::\n\n    $ pip install -Ur requirements.testing.txt\n\nRunning Tests\n=============\n\nThe test suite can be run against a single Python version which requires ``pip install pytest`` and optionally ``pip install pytest-cov``\n(these are included if you have installed dependencies from ``requirements.testing.txt``)\n\nTo run the unit tests with a single Python version::\n\n    $ py.test -v\n\nTo also run code coverage::\n\n    $ py.test --cov=koolsla\n\nTo run the unit tests against a set of Python versions::\n\n    $ tox\n\nSample Usage\n============\n\nImport recommender::\n\n    from koolsla import recommender\n\nGetting recommendations with dish id and recommendation count::\n\n    // Returns dictionary of tuples [(dish_id_1, similarity_ratio1), (dish_id_2, similarity_ratio2), (dish_id_3, similarity_ratio3)]\n    recommendatons = recommender.recommend(82, 3)\n\nCLI\n===\n\nAfter getting the code from https://github.com/abdullahselek/koolsla, run command::\n\n    $ pip install -r requirements.txt\n\nAnd it's ready to use, there is detailed help menu which you can follow. One of the most used function for recommendation::\n\n    $ python koolsla.py -d 25 --recommend 3\n\nFor the help menu::\n\n    $ python koolsla.py --help\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdullahselek%2Fkoolsla","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdullahselek%2Fkoolsla","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdullahselek%2Fkoolsla/lists"}