Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

AssociationRuleLearning

Guides

  • Association rule learning

Symbols

  • Apriori
  • Eclat
AntonAntonov`AssociationRuleLearning`
Apriori
​
Apriori
[baskets,minSup]
finds frequent sets in the list of lists
baskets
with support at
minSup
.
​
Details and Options

Examples  
(3)
Basic Examples  
(1)
In[1]:=
ExampleData[{"Statistics","USCars1993"}]
Here is a dataset
In[2]:=
dsCars=ResourceFunction["ExampleDataset"][{"Statistics","USCars1993"}];​​dsCars[1;;4]
Out[2]=
Here we find the frequent sets of variable values of size
4
or
5
in the dataset above that appear more than
16
times:
In[3]:=
Apriori
[dsCars[All,{"Manufacturer","Model","Type","AirBags","DriveTrain","Cylinders","ManTransAvail","Passengers"}],16,4,5]
Out[3]=
{4,5,Front,Yes}22.,{4,Front,None,Yes}21.,{4,Front,Small,Yes}19.,{4,None,Small,Yes}16.
Scope  
(1)

Options  
(1)

SeeAlso
Eclat
RelatedGuides
▪
Association rule learning
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com