K-means and k-medoids clustering techniques are illustrated using RapidMiner tool and a Java application. K-means partitions data into k groups based on minimizing distance between data points and cluster centers. It assigns each data point to exactly one cluster. K-medoids is similar but uses actual data points as centers instead of means. Both require specifying the number of clusters k in advance and can be impacted by outliers, though k-medoids is less sensitive to outliers. The document demonstrates implementing both techniques using different software and compares the results.