-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfields.py
More file actions
46 lines (46 loc) · 1.49 KB
/
Copy pathfields.py
File metadata and controls
46 lines (46 loc) · 1.49 KB
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
NUMBER = {
"ModelEntity":
["ramAmount", "driveStorage",
"weight",
# "ramNumberOfFreeSlots", "ramMaxAmount",
"hddSpeed"],
"ScreenEntity": ["refreshRate", "diagonalScreenInches"],
"ProcessorEntity": ["cores", "frequency"],
("ProcessorEntity", "benchmark_entity"): ["benchmark"],
("GraphicsEntity", "benchmark_entity"): ["benchmark"],
"GraphicsEntity": ["graphicsCardVRam"],
}
CATEGORICAL = {
"ModelEntity": ["ramType", "driveType"],
"ScreenEntity": ["screenFinish"],
# touch screen is False for all laptops for some reason
# "ScreenEntity": ["touchScreen"],
}
CATEGORICAL_MULTI = {
# "ModelEntity": {
# "connections":[
# # fields that are just different variants (e.g. USB),
# # don't map directly into price (e.g. inne)
# # or have small counts were removed
# "RJ-45",
# "Thunderbolt",
# "D-Sub (VGA)",
# "mini DisplayPort",
# "złącze dokowania",
# "DisplayPort",
# "slot na kartę SIM",
# ],
# "communications":[
# # same as above
# "LAN 10/100/1000 Mbps",
# "LAN 10/100 Mbps",
# "modem 4G (LTE)",
# "Intel Wireless Display (WiDi)",
# "NFC (Near Field Communication)",
# ],
# # these aren't really meaningful
# #"controls":True,
# #"multimedia":True,
# #"drives":True
# },
}