Skip to main content

Advertisement

Table 5 RF model

From: Analysis and classification of heart diseases using heartbeat features and machine learning algorithms

var   dTree-am   \(=\) new   RandomForestClassifier()
.setLabelCol("label")//beat type
.setFeaturesCol("features")//chosen features
.setNumTrees(20)//depth of GBT
.setMaxDepth(15)//iteration of GBT