def METHOD_NAME(self, X, X_train):
    """
    get kernel matrix
    """
    X = np.array(X)
    X_train = np.array(X_train)
    l_c = X.shape[0]
    l_r = X_train.shape[0]
    cor_mat = []
    for c_idx in range(l_c):
        col = []
        c_mat = X[c_idx].copy()
        for r_idx in range(l_r):
            r_mat = X_train[r_idx].copy()
            temp_cor = self._get_corelation(c_mat, r_mat)
            col.append(temp_cor)
        cor_mat.append(col)
    return np.mat(cor_mat)