Commit 6a026356 authored by 张彦钊's avatar 张彦钊

add note for test

parent 89c44bec
...@@ -180,8 +180,8 @@ def predict(user_profile): ...@@ -180,8 +180,8 @@ def predict(user_profile):
instance_file_path = transform_ffm_format(instance, user_profile["device_id"]) instance_file_path = transform_ffm_format(instance, user_profile["device_id"])
ffm_model = xl.create_ffm() ffm_model = xl.create_ffm()
print("模型初始化成功") ffm_model.setTest(instance_file_path)
# ffm_model.setTest(instance_file_path) print("模型settest成功")
# ffm_model.setSigmoid() # ffm_model.setSigmoid()
# ffm_model.predict(DIRECTORY_PATH + "model_{0}-{1}_lr{2}_lambda{3}.out".format(DATA_START_DATE, # ffm_model.predict(DIRECTORY_PATH + "model_{0}-{1}_lr{2}_lambda{3}.out".format(DATA_START_DATE,
# DATA_END_DATE, lr, l2_lambda), # DATA_END_DATE, lr, l2_lambda),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment