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
"[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?