A Method of Activity Classification based on Behavioral Similarity and its Accuracy Verification