修改: PriceSystem/sell_price/zhuge0118A.py

This commit is contained in:
罗干
2018-05-25 18:28:19 +08:00
parent f1ea77404a
commit ddb40ad26d
2 changed files with 9 additions and 2 deletions
Binary file not shown.
+9 -2
View File
@@ -52,7 +52,7 @@ def front_step_time(weekend,day):
############################################################
############################################################
credit = pandas.Series([0.9,0.85, 0.8,0.75, 0.7, 0.6, 0.5], index=['0.9', '0.85','0.8','0.75', '0.7', '0.6', '0.5'])
credit = pandas.Series([0.9,0.88,0.85, 0.8,0.75, 0.7, 0.6, 0.5], index=['0.9', '0.88','0.85','0.8','0.75', '0.7', '0.6', '0.5'])
value_type = pandas.Series([1, 2, 3, 4, 5, 6, 7],
index=['指导价', '自身样本', '第三方', '交易数据', '周边楼盘', '推导', '优质样本'])
@@ -1247,7 +1247,14 @@ def commonprice(ct, rl, p,weekend):
dggg=map_time_price(junjia,dglg,ppd3)
if dggg[0]>0 :
if len(junjia)>4:
sample_size = len(junjia)
return dglg, float('%.2f' % credit['0.88']), value_type['第三方'], sample_size
elif dggg[0]>0 :
return dggg