How to use Apriori Association Rule Mining on mt own data set?

1 visualizzazione (ultimi 30 giorni)
I have a dataset with its a matrix(double , 700x16) like this (one row):
2.9514 -0.4094 -1.0403 2.8733 2.4015 -1.3503 3.7288 -2.3375 2.9514 -0.4094 -1.0403 2.8733 2.4015 -1.3503 3.7288 -2.3375
Its a medical dataset(local) and each row is a file of a patient and each column is a feature like age, I normalized it and remove noise.
No I want to use "Apriori Association Rule Mining" to extract some rules.
Every sample that I had looked on the internet like http://yarpiz.com/89/ypml115-apriori used a different data structure and their data set is a cell that have a one column with some data like this:
[1,2,5]
[2,4]
[2,3]
[1,2,4]
[1,3]
[2,3]
[1,3]
[1,2,3,5]
[1,2,3]
I know what's it but i am confused to how to conver my data to this shape or type , whats wrong with me?
How can I handle it?

Risposte (0)

Categorie

Scopri di più su Statistics and Machine Learning Toolbox in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by