0
$\begingroup$

The difference between machine leaning models and rule based model is that you feed input and output to machine learning models to get rules where you feed input and rules to rule based models to get output.

Say you have a dataset with 10k records. You might use 8k of them to build a machine learning model and the rest to validate your model. On the other hand, you would probably use all the 10k records to create a rule based model. If this was a classification model, how should I compare the 2 models? Accuracy of the machine learning model from the test dataset (2k) and accuracy of the rule based model from all the records?

$\endgroup$
2
  • $\begingroup$ Your premise "you would probably use all the 10k records to create a rule based model" is wrong. $\endgroup$
    – desertnaut
    Feb 10, 2021 at 13:24
  • $\begingroup$ thats how my boss made the model so I just assumed it was right. good to know!! $\endgroup$
    – Jack Smith
    Feb 11, 2021 at 5:25

1 Answer 1

1
$\begingroup$

For the rule base model I would take the exact same approach as for ML model, split the data into train and test set since at the end you want to check whether or not your rule base and ml models generalize well

It is also recommended to used the same sets to train and evaluate both models in such a way that it is a fair comparison.

$\endgroup$
3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.