Skip to content

Instantly share code, notes, and snippets.

@joxer
Created August 22, 2017 17:27
Show Gist options
  • Save joxer/0abdb70f9e1176ec735a4d220e3c68fd to your computer and use it in GitHub Desktop.
Save joxer/0abdb70f9e1176ec735a4d220e3c68fd to your computer and use it in GitHub Desktop.
A-Priori Pseudo Code IT
L[1] = Genera gli elementi di dimensione 1
Calcola la frequenza degli elementi di dimensione 1 che superano minsup
C[1] = L[1]
Per K=2, finchè L[K-1] != vuoto; k++ {
C[K] = genera le coppie da L[K-1] con cardinalità K
L[K] = Calcola la frequenza degli elementi in C[K] che superano minsup
}
Ritorna L[K]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment