Professional Documents
Culture Documents
DM Rec
DM Rec
sets.
Procedure:
1. Open a relation in weka using the following options:
Open file → weather.arff relation
2. Select edit
3. By clicking on the data delete few values from the relation
4. To replace these values automatically follow the options:
Choose → filters → unsupervised → attribute → ReplaceMissingValue
5. To replace these values manually follow the options:
Choose → filters → unsupervised → attribute → ReplaceMissingWithUserConstant
Original Dataset:
Edited dataset:
Procedure:
1. Open a relation in weka using the following options:
Open file → weather.arff relation
Apriori
=======
Procedure:
1. Open the relation credit-g.arff
2. Select the attributes and list them into nominal and real-valued attributes
Nominal attributes:
Real-valued Attributes:
Aim: Generate simple rules in plain English using credit risk assessment for selected attributes.
Procedure:
1. Select the attributes
• Checking_status
• Credit_history
• Duration
• Credit_amount
• Savings_status
• Installment_commitment
• Other_payment_plans
• Existing_credits
2. Discretize the relation using the following steps:
Choose → filters → unsupervised → attributes → discritize
3. Right click on the box, click on show properties and change the following:
Binsize=5
UseEqualFrequency=True
4. Generate rules using apriori by following the steps:
Associate → choose → apriori → start
Apriori
=======