大專院校館舍用電資料分群與可視化探討 -以交通大學為例
A Discussion on the Clustering and Visualization of Electricity Data in University Buildings – A Case of National Chiao Tung University
摘要
本研究採用Kmeans 分群演算法對校園館舍用電資料進行分群,同時透過兩
種不同的數據資料標準化方法,Z Score 與Max-min,與調整時間區間單位,分析不同群集數的分群結果,並藉由可視化圖形包含曲線圖、熱力圖及分段聚合近似圖對群集與分群結果作分析與驗證。
比較各時間區間單位的分群結果顯示較少有群集數由少變多時,有前後分群不一致的情況;同時Max-min 與Z Score 之分群結果彼此間是有差異的;又時間區間單位為一周與一個月各群集所繪製出來的曲線圖大致能支持Max-min 與Z Score 標準化分群結果;惟Z Score 標準化的分群結果較常出現單一館舍為一群集的情況,這些單一館舍透過曲線圖能夠明顯看出其館舍用電資料的不規律。最後,以時間區間單位為一個月的分群結果基準下進行可視化探討顯示Z Score標準化的SAX 編碼結果較Max-min 標準化的結果有規律,但此可能受到SAX編碼各級距之間距大小不一所影響。
種不同的數據資料標準化方法,Z Score 與Max-min,與調整時間區間單位,分析不同群集數的分群結果,並藉由可視化圖形包含曲線圖、熱力圖及分段聚合近似圖對群集與分群結果作分析與驗證。
比較各時間區間單位的分群結果顯示較少有群集數由少變多時,有前後分群不一致的情況;同時Max-min 與Z Score 之分群結果彼此間是有差異的;又時間區間單位為一周與一個月各群集所繪製出來的曲線圖大致能支持Max-min 與Z Score 標準化分群結果;惟Z Score 標準化的分群結果較常出現單一館舍為一群集的情況,這些單一館舍透過曲線圖能夠明顯看出其館舍用電資料的不規律。最後,以時間區間單位為一個月的分群結果基準下進行可視化探討顯示Z Score標準化的SAX 編碼結果較Max-min 標準化的結果有規律,但此可能受到SAX編碼各級距之間距大小不一所影響。
In this study, the Kmeans algorithm was used to cluster the electricity consumption data of campus buildings. Also, through two different data processing standardization methods, Z Score and Max-min, and adjusting time interval units, the clustering results of different cluster numbers are analyzed. The visualization graphs include diachronic graphs, heatmaps, and aggregate approximations are used to analyze and verify the clustering results.
Comparing the clustering results of each time interval unit shows that there are seldom inconsistent clustering results when the number of clusters changes from less to more. Also, the clustering results between Max-min and Z Score are different. The diachronic graphs of one week and one month in time interval units can support the clustering results of the Max-min and Z Score standardization methods. However, the clustering results by Z Score often have a single building as a cluster, and the diachronic graph of these single buildings are often irregularity in some way. Finally, based on the clustering results of one month in time interval unit shows that the SAX coding results by Z Score are more regular than those results by Max-min. However, this may be affected by the difference in the distance between each level of SAX coding.
Comparing the clustering results of each time interval unit shows that there are seldom inconsistent clustering results when the number of clusters changes from less to more. Also, the clustering results between Max-min and Z Score are different. The diachronic graphs of one week and one month in time interval units can support the clustering results of the Max-min and Z Score standardization methods. However, the clustering results by Z Score often have a single building as a cluster, and the diachronic graph of these single buildings are often irregularity in some way. Finally, based on the clustering results of one month in time interval unit shows that the SAX coding results by Z Score are more regular than those results by Max-min. However, this may be affected by the difference in the distance between each level of SAX coding.