{"id":16925417,"url":"https://github.com/alejandrodevs/classiphier","last_synced_at":"2025-03-21T01:28:37.502Z","repository":{"id":35096278,"uuid":"39262991","full_name":"alejandrodevs/classiphier","owner":"alejandrodevs","description":"Classifier module using Bayesian's theorem.","archived":false,"fork":false,"pushed_at":"2019-08-21T13:24:56.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-26T04:47:33.747Z","etag":null,"topics":["artificial-intelligence","bayesian","classifier"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"fwang91/IMDb-Face","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alejandrodevs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-17T16:08:13.000Z","updated_at":"2019-08-21T13:23:20.000Z","dependencies_parsed_at":"2022-08-04T00:00:14.304Z","dependency_job_id":null,"html_url":"https://github.com/alejandrodevs/classiphier","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/alejandrodevs%2Fclassiphier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejandrodevs%2Fclassiphier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejandrodevs%2Fclassiphier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejandrodevs%2Fclassiphier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alejandrodevs","download_url":"https://codeload.github.com/alejandrodevs/classiphier/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244720473,"owners_count":20498800,"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":["artificial-intelligence","bayesian","classifier"],"created_at":"2024-10-13T20:10:35.676Z","updated_at":"2025-03-21T01:28:37.483Z","avatar_url":"https://github.com/alejandrodevs.png","language":"Ruby","readme":"# Classiphier\n[![Build Status](https://travis-ci.com/alejandrodevs/classiphier.svg?branch=master)](https://travis-ci.org/alejandrodevs/classiphier)\n\nClassifier module using Bayesian's theorem.\n*This is another implementation based on cardmagic/classifier.*\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'classiphier'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install classiphier\n\n## Usage\n\n```ruby\nrequire 'classiphier'\n\nclassifier = Classiphier::Bayes.new\nclassifier.train :positive, 'This is a great tweet. I like it!'\nclassifier.train :positive, 'With great power comes great responsibility'\nclassifier.train :negative, 'This tweet is not good. I hate it!'\nclassifier.train :negative, 'Here are some bad words, I hate you'\n\nclassifier.classify 'I like these tweets' # =\u003e :positive\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/alejandrodevs/classiphier. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the Classiphier project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/alejandrodevs/classiphier/blob/master/CODE_OF_CONDUCT.md).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falejandrodevs%2Fclassiphier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falejandrodevs%2Fclassiphier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falejandrodevs%2Fclassiphier/lists"}