The RapidMiner community is on read-only mode until further notice. Technical support via cases will continue to work as is. For any urgent licensing related requests from Students/Faculty members, please use the Altair academic forum here.
"[Solved]Convert Numeric to Nominal after k-means clustering"
I am a new RapidMiner, I have an excel dataset
I wanted to apply k-means clustering on this dataset and then Bayesian classification on the result of the same
I imported excel(all fields except FID as text) and did Nominal to Numeric to apply kmeans now I want the clusters with original values of data as in input excel (not the numeric data) to apply Bayes classification on same
How can I do Numeric to Nominal conversion on all of fields ?
Sample Data(1100 rows)
FID Geology Geomorphology Land use_land cover Rainfall SLOPE Soil zone
0 Fissile hornblende biotite gneiss HIGHLY DISSECTED DIFLECTION SLOPE FOREST 1200-1400 >60% BROWN CLAY High
1 Fissile hornblende biotite gneiss HIGHLY DISSECTED DIFLECTION SLOPE FOREST 1200-1400 30-60% BROWN CLAY Moderate
I wanted to apply k-means clustering on this dataset and then Bayesian classification on the result of the same
I imported excel(all fields except FID as text) and did Nominal to Numeric to apply kmeans now I want the clusters with original values of data as in input excel (not the numeric data) to apply Bayes classification on same
How can I do Numeric to Nominal conversion on all of fields ?
Sample Data(1100 rows)
FID Geology Geomorphology Land use_land cover Rainfall SLOPE Soil zone
0 Fissile hornblende biotite gneiss HIGHLY DISSECTED DIFLECTION SLOPE FOREST 1200-1400 >60% BROWN CLAY High
1 Fissile hornblende biotite gneiss HIGHLY DISSECTED DIFLECTION SLOPE FOREST 1200-1400 30-60% BROWN CLAY Moderate
Tagged:
0
Answers
I'm not sure I understood you correctly, but does the example process below help you? It uses the Multiply operator to create multiple instances of your data and then at the end join the clustered result to your original data.
Regards,
Marco
PS :I am actually trying to integrate Bayes classification with k-means clustering
I am interested in that topic, too!
did you solve how to apply NB with clustering? can you show me how?