Skip to content

Commit d05ab39

Browse files
authored
Merge pull request #46817 from edjez/patch-13
add location concepts
2 parents fd7bf8f + 0f8ff00 commit d05ab39

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

articles/cognitive-services/personalizer/concepts-features.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ It is possible to improve your feature sets by editing them to make them larger
128128

129129
For example, a timestamp down to the second is a very sparse feature. It could be made more dense (effective) by classifying times into "morning", "midday", "afternoon", etc.
130130

131+
Location information also typically benefits from creating broader classifications. For example, a Latitude-Longitude coordinate such as Lat: 47.67402° N, Long: 122.12154° W is too precise, and forces the model to learn latitude and longitude as distinct dimensions. When you are trying to personalize based on location information, it helps to group location information in larger sectors. An easy way to do that is to choose an appropriate rounding precision for the Lat-Long numbers, and combine latitude and longitude into "areas" by making them into one string. For example, a good way to represent 47.67402° N, Long: 122.12154° W in regions approximately a few kilometers wide would be "location":"34.3 , 12.1".
132+
131133

132134
#### Expand feature sets with extrapolated information
133135

0 commit comments

Comments
 (0)