-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodels.py
86 lines (86 loc) · 2.48 KB
/
models.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
class Entry:
def __init__(
self,
username,
image_id,
pleasant,
interesting,
beautiful,
normal,
calm,
spacious,
bright,
opennes,
simpleness,
safe,
walkability,
pedAccessibilityWalkability,
aestheticWalkability,
firstFloorUse,
prop1FloorWind,
pavementQuality,
scenery,
pavementContinuity,
streetLink,
buildingScale,
propStreetWall,
propSkyAcross,
streetWidth,
vivid,
damagedBuilding,
humanPopulation,
carParking,
allStreetFurn,
smallPlant,
histBuildings,
contemporaryBuildings,
urbanFeat,
greenness,
accentColor,
publicSpaceUsage,
community,
trafficVol,
posSamples,
negSamples,
):
self.username = username
self.image_id = image_id
self.pleasant = pleasant
self.interesting = interesting
self.beautiful = beautiful
self.normal = normal
self.calm = calm
self.spacious = spacious
self.bright = bright
self.opennes = opennes
self.simpleness = simpleness
self.safe = safe
self.walkability = walkability
self.pedAccessibilityWalkability = pedAccessibilityWalkability
self.aestheticWalkability = aestheticWalkability
self.firstFloorUse = firstFloorUse
self.prop1FloorWind = prop1FloorWind
self.pavementQuality = pavementQuality
self.scenery = scenery
self.pavementContinuity = pavementContinuity
self.streetLink = streetLink
self.buildingScale = buildingScale
self.propStreetWall = propStreetWall
self.propSkyAcross = propSkyAcross
self.streetWidth = streetWidth
self.vivid = vivid
self.damagedBuilding = damagedBuilding
self.humanPopulation = humanPopulation
self.carParking = carParking
self.allStreetFurn = allStreetFurn
self.smallPlant = smallPlant
self.histBuildings = histBuildings
self.contemporaryBuildings = contemporaryBuildings
self.urbanFeat = urbanFeat
self.greenness = greenness
self.accentColor = accentColor
self.publicSpaceUsage = publicSpaceUsage
self.community = community
self.trafficVol = trafficVol
self.posSamples = posSamples
self.negSamples = negSamples