修改: PriceSystem/fangjia/__init__.py
修改: PriceSystem/feature/region_feature.py 修改: PriceSystem/rent_price/district_map0413.py 修改: PriceSystem/rent_test.py
This commit is contained in:
@@ -67,7 +67,7 @@ def sample_pool(ct,rl,timd,timm):
|
||||
|
||||
query = {"city":ct,"cat":"rent","region":rl,
|
||||
"p_date":{"$gt":timd,"$lt":timm}}
|
||||
#query=f_del(query,rl)
|
||||
query=f_del(query,rl)
|
||||
|
||||
fields = {"total_price":1,"area":1, "city":1,"region":1,'p_date':1,
|
||||
"district_name":1,"rent_type":1,"fitment":1,"block":1}
|
||||
@@ -75,6 +75,8 @@ def sample_pool(ct,rl,timd,timm):
|
||||
###print(lt)
|
||||
#pos = list()
|
||||
#for s in seawater.find(query,fields1).skip(10000).limit(lt):
|
||||
|
||||
print('query=',query)
|
||||
return fangjia.rent_sample(query, fields)
|
||||
|
||||
def k_means(pp):
|
||||
|
||||
Reference in New Issue
Block a user