Use the function varimp() on the output of train() and save it to an object called imp object.
<h3>What is the classification that has More than Two Classes and the Caret Package</h3>
In the Classification that has More than Two Classes and the Caret Package section, one need to use the methods that can be able to adapt to higher forms or dimensions and through a lot of different machine learning algorithms.
Note that varImp is seen as a generic method for calculating variable .
Hence, Use the function varimp() on the output of train() and save it to an object called imp object.
Learn more about Computer function from
brainly.com/question/17048576
#SPJ1
Answer:
// C++ program to demonstrate inheritance
#include <iostream>
using namespace std;
// base class
class Animal {
public:
void eat() {
cout << "I can eat!" << endl;
}
void sleep() {
cout << "I can sleep!" << endl;
}
};
// derived class
class Dog : public Animal {
public:
void bark() {
cout << "I can bark! Woof woof!!" << endl;
}
};
int main() {
// Create object of the Dog class
Dog dog1;
// Calling members of the base class
dog1.eat();
dog1.sleep();
// Calling member of the derived class
dog1.bark();
return 0;
}