添加估值测试脚本
This commit is contained in:
@@ -85,7 +85,7 @@ normal_community_base_price.sort_values(by="cityrank", inplace=True)
|
||||
import_avm_evaluation_item_deal.sort_values(by="cityrank", inplace=True)
|
||||
import_avm_evaluation_item_third.sort_values(by="cityrank", inplace=True)
|
||||
|
||||
file_name = f"估值模型测试{year_month}_{dateutils.format_date(datetime.now(), '%H%M%S')}.xlsx"
|
||||
file_name = f"{year_month}估值模型测试.xlsx"
|
||||
aim_file_name = path + '/' + file_name
|
||||
with pd.ExcelWriter(aim_file_name) as writer:
|
||||
avm_evaluation.to_excel(writer, sheet_name="92个城市估值概况", columns=["cityname","community_num","price_coverage","sample_calc_coverage","ann_calc_coverage","artificial_calc_coverage","deal_test_case_num","deal_ppe15_coverage","deal_test_comm_num","deal_test_comm_coverage","deal_rate_median","deal_coefficient","third_test_comm_num","third_test_comm_coverage","third_ppe15_coverage","third_rate_median","third_coefficient"], header=["城市名称","小区量","可输出均价小区占比","样本计算占比","神经网络计算占比","人工指导价占比","成交测试案例总量","成交测试PPE15占比","成交测试小区量","成交测试小区量占比","成交比率中位数","成交比率离散系数","第三方均价测试小区量","第三方均价测试小区量占比","第三方均价测试PPE15占比","第三方比率中位数","第三方比率离散系数"], index=False)
|
||||
|
||||
Reference in New Issue
Block a user