wekakt / com.github.stevenlang.wekakt.extensions / weka.core.Instances / removeAttribute
fun Instances.removeAttribute(attIndex: Int): Instances
Remove a given attribute by index.
val iris: Instances = getIris()
// Remove the third attribute
val irisReduced: Instances = iris.removeAttribute(3)
attIndex - Attribute index
Return This data without the specified attribute