Commit 1fb7f442 authored by 张彦钊's avatar 张彦钊

add note for test

parent 6a026356
......@@ -181,8 +181,9 @@ def predict(user_profile):
ffm_model = xl.create_ffm()
ffm_model.setTest(instance_file_path)
print("模型settest成功")
# ffm_model.setSigmoid()
ffm_model.setSigmoid()
print("模型sigmoid成功")
# ffm_model.predict(DIRECTORY_PATH + "model_{0}-{1}_lr{2}_lambda{3}.out".format(DATA_START_DATE,
# DATA_END_DATE, lr, l2_lambda),
# DIRECTORY_PATH + "result/{0}_output.txt".format(user_profile['device_id']))
......
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