in src/ppxgboost/PPBooster.py [0:0]
def hmac_feature(prf_hash_key, input_vector):
"""
hmac vector's column name
:param prf_hash_key: hash key
:param input_vector: the vector (as dataframe)
:return:
"""
new_header = list()
for col in input_vector.columns:
new_header.append(hmac_msg(prf_hash_key, col))
# Reassign the column names to the input vector
input_vector.columns = new_header
return input_vector