The Internet-of-Things (IoT) technology is widely used in various fields. In the Earth observation system, hyperspectral images (HSIs) are acquired by hyperspectral sensors and always transmitted to the cloud for analysis. In order to reduce cost and reply promptly, we deploy artificial intelligence (AI) models for data analysis on edge servers. Subspace clustering, the core of the AI model, is employed to analyze high-dimensional image data such as HSIs. However, most traditional subspace clustering algorithms construct a single model, which can be affected by noise more easily. It hardly balances the sparsity and connectivity of the representation coefficient matrix. Therefore, we proposed a postprocess strategy of subspace clustering for taking account of sparsity and connectivity. First, we define close neighbors as having more common neighbors and higher coefficients neighbors, where the close neighbors are selected according to the nondominated sorting algorithm. Second, the coefficients between the sample and close neighbors are reserved, incorrect, or useless connections are pruned. Then, the postprocess strategy can reserve the intrasubspace connection and prune the intersubspace connection. In experiments, we verified the universality and effectiveness of postprocessing strategies in the traditional image recognition field and IoT field, respectively. The experiment results demonstrate that the proposed strategy can process noise data in the IoT to improve clustering accuracy.