functiontest_targets=CART(train_patterns,train_targets,test_patterns,params)%Classifyusingclassificationandregressiontrees%Inputs:%training_patterns-Trainpatterns%training_targets-Traintargets%test_patterns-Testpatterns%params-[Impuritytype,Percentageofincorrectlyassigned