A Study of Clustering Techniques and Hierarchical Matrix Formats for Kernel Ridge Regression