Unsupervised Learning based Element Resource Allocation for Reconfigurable Intelligent Surfaces in mmWave Network