{"id":16696896,"url":"https://github.com/seratch/apriori4j","last_synced_at":"2025-10-08T10:10:59.036Z","repository":{"id":24509063,"uuid":"27914779","full_name":"seratch/apriori4j","owner":"seratch","description":"Apriori Algorithm Implementation in Java, Scala","archived":false,"fork":false,"pushed_at":"2019-02-06T00:27:55.000Z","size":26,"stargazers_count":26,"open_issues_count":0,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-02T18:23:40.633Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","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/seratch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-12T09:53:23.000Z","updated_at":"2023-06-20T01:03:57.000Z","dependencies_parsed_at":"2022-08-23T00:01:05.015Z","dependency_job_id":null,"html_url":"https://github.com/seratch/apriori4j","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/seratch%2Fapriori4j","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seratch%2Fapriori4j/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seratch%2Fapriori4j/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seratch%2Fapriori4j/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seratch","download_url":"https://codeload.github.com/seratch/apriori4j/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239120130,"owners_count":19584978,"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":[],"created_at":"2024-10-12T17:45:11.673Z","updated_at":"2025-10-08T10:10:53.998Z","avatar_url":"https://github.com/seratch.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# apriori4j - Apriori Algorithm Implementation in Java\n\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.seratch/apriori4j/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.seratch/apriori4j)\n\n[Apriori Algorithm](http://en.wikipedia.org/wiki/Apriori_algorithm) implementation in Java which is based on https://github.com/asaini/Apriori/blob/master/apriori.py.\n\n## apriori4j\n\n### How to use\n\n#### Maven\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.github.seratch\u003c/groupId\u003e\n  \u003cartifactId\u003eapriori4j\u003c/artifactId\u003e\n  \u003cversion\u003e0.4\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n#### Gradle\n\n```\ncompile 'com.github.seratch:apriori4j:0.4'\n```\n\n#### Example\n\n```java\nimport apriori4j.*;\nimport java.util.List;\n\nList\u003cTransaction\u003e transactions = prepareTranscations();\nDouble minSupport = 0.15;\nDouble minConfidence = 0.6;\n\nAprioriAlgorithm apriori = new AprioriAlgorithm(minSupport, minConfidence);\nAnalysisResult result = apriori.analyze(transactions);\n```\n\n## apriori4s\n\nScala interface is also available for the following Scala binary versions.\n\n- Scala 2.10\n- Scala 2.11\n- Scala 2.12\n\n### How to use\n\n#### sbt\n\n```scala\nlibraryDependencies += \"com.github.seratch\" %% \"apriori4s\" % \"0.4\"\n```\n\n#### Example\n\n```scala\nimport apriori4s._\n\nval transactions: Seq[Transaction] = prepareTransactions();\nval apriori = AprioriAlgorithm(minSupport = 0.15, minConfidence = 0.6)\nval result: AnalysisResult = apriori.analyze(transactions)\n```\n\n## License\n\n(The MIT License)\n\nCopyright (c) 2014 - 2015 Kazuhiro Sera\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseratch%2Fapriori4j","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseratch%2Fapriori4j","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseratch%2Fapriori4j/lists"}