Use circular mean to determine how categorical each attribute is

This commit is contained in:
Erica Fischer
2022-12-07 11:05:10 -08:00
parent f1df09f147
commit 3ae800745c
2 changed files with 27 additions and 0 deletions
+5
View File
@@ -22,6 +22,11 @@ struct type_and_string_stats {
double min = INFINITY;
double max = -INFINITY;
int type = 0;
// for circular mean of value hashes
double xsum = 0;
double ysum = 0;
size_t count = 0;
};
struct layermap_entry {