The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
classification results of new instances
I am a novice in using the RapidMiner. My question is "How can I see the classification results of new instances after creating a classifier using a traning dataset?". Many thanks in advance.
Tagged:
0
Answers
Let's go step by step:
- Retrieve your training data. Let's sayĀ Titanic Training from the samples dataset on the Repository pane.
- Drag the algorithm you want to train. Let's sayĀ Random Forest from theĀ Modeling > Predictive > Trees folder in the Operators pane.
- Connect theĀ out port of your Titanic Training data to theĀ tra port on theĀ Random Forest operator.
- Drag theĀ Apply Model algorithm from theĀ Scoring folder in the operators pane.
- Connect theĀ mod port on theĀ Random Forest operator to theĀ mod port of theĀ Apply Model operator you just dragged.
- Retrieve your unlabeled data. Let's sayĀ Titanic UnlabeledĀ from the samples dataset on theĀ Repository pane.
- Connect theĀ out port from theĀ Titanic Unlabeled data to theĀ unl port in theĀ Apply Model operator.
- Connect both ports from theĀ Apply Model operator to theĀ res ports in the end of your canvas.
If you do this, you may be able to see this:
If you press play, theĀ Apply Model will just send results to theĀ Results tab. What you will see is a model (or a representation of it), and the results of your new instances after creating a classifier using a training dataset. Just like this:
The prediction is your target. Tweak a few times and come back to execute. This is your window.
BTW, RapidMiner Academy has all this knowledge available. You may want to check it out.
All the best,
Rodrigo.