notebook 04, some pics
120
data/04_climb_features/feature_list.txt
Normal file
@@ -0,0 +1,120 @@
|
|||||||
|
angle
|
||||||
|
total_holds
|
||||||
|
hand_holds
|
||||||
|
foot_holds
|
||||||
|
start_holds
|
||||||
|
finish_holds
|
||||||
|
middle_holds
|
||||||
|
is_nomatch
|
||||||
|
mean_x
|
||||||
|
mean_y
|
||||||
|
std_x
|
||||||
|
std_y
|
||||||
|
range_x
|
||||||
|
range_y
|
||||||
|
min_y
|
||||||
|
max_y
|
||||||
|
start_height
|
||||||
|
start_height_min
|
||||||
|
start_height_max
|
||||||
|
finish_height
|
||||||
|
finish_height_min
|
||||||
|
finish_height_max
|
||||||
|
height_gained
|
||||||
|
height_gained_start_finish
|
||||||
|
bbox_area
|
||||||
|
bbox_aspect_ratio
|
||||||
|
bbox_normalized_area
|
||||||
|
hold_density
|
||||||
|
holds_per_vertical_foot
|
||||||
|
left_holds
|
||||||
|
right_holds
|
||||||
|
left_ratio
|
||||||
|
symmetry_score
|
||||||
|
hand_left_ratio
|
||||||
|
hand_symmetry
|
||||||
|
upper_holds
|
||||||
|
lower_holds
|
||||||
|
upper_ratio
|
||||||
|
max_hand_reach
|
||||||
|
min_hand_reach
|
||||||
|
mean_hand_reach
|
||||||
|
std_hand_reach
|
||||||
|
hand_spread_x
|
||||||
|
hand_spread_y
|
||||||
|
max_foot_spread
|
||||||
|
mean_foot_spread
|
||||||
|
foot_spread_x
|
||||||
|
foot_spread_y
|
||||||
|
max_hand_to_foot
|
||||||
|
min_hand_to_foot
|
||||||
|
mean_hand_to_foot
|
||||||
|
std_hand_to_foot
|
||||||
|
mean_hold_difficulty
|
||||||
|
max_hold_difficulty
|
||||||
|
min_hold_difficulty
|
||||||
|
std_hold_difficulty
|
||||||
|
median_hold_difficulty
|
||||||
|
difficulty_range
|
||||||
|
mean_hand_difficulty
|
||||||
|
max_hand_difficulty
|
||||||
|
std_hand_difficulty
|
||||||
|
mean_foot_difficulty
|
||||||
|
max_foot_difficulty
|
||||||
|
std_foot_difficulty
|
||||||
|
start_difficulty
|
||||||
|
finish_difficulty
|
||||||
|
hand_foot_ratio
|
||||||
|
movement_density
|
||||||
|
hold_com_x
|
||||||
|
hold_com_y
|
||||||
|
weighted_difficulty
|
||||||
|
convex_hull_area
|
||||||
|
convex_hull_perimeter
|
||||||
|
hull_area_to_bbox_ratio
|
||||||
|
min_nn_distance
|
||||||
|
mean_nn_distance
|
||||||
|
max_nn_distance
|
||||||
|
std_nn_distance
|
||||||
|
mean_neighbors_12in
|
||||||
|
max_neighbors_12in
|
||||||
|
clustering_ratio
|
||||||
|
path_length_vertical
|
||||||
|
path_efficiency
|
||||||
|
difficulty_gradient
|
||||||
|
lower_region_difficulty
|
||||||
|
middle_region_difficulty
|
||||||
|
upper_region_difficulty
|
||||||
|
difficulty_progression
|
||||||
|
max_difficulty_jump
|
||||||
|
mean_difficulty_jump
|
||||||
|
difficulty_weighted_reach
|
||||||
|
max_weighted_reach
|
||||||
|
mean_x_normalized
|
||||||
|
mean_y_normalized
|
||||||
|
std_x_normalized
|
||||||
|
std_y_normalized
|
||||||
|
start_height_normalized
|
||||||
|
finish_height_normalized
|
||||||
|
start_offset_from_typical
|
||||||
|
finish_offset_from_typical
|
||||||
|
mean_y_relative_to_start
|
||||||
|
max_y_relative_to_start
|
||||||
|
spread_x_normalized
|
||||||
|
spread_y_normalized
|
||||||
|
bbox_coverage_x
|
||||||
|
bbox_coverage_y
|
||||||
|
y_q25
|
||||||
|
y_q50
|
||||||
|
y_q75
|
||||||
|
y_iqr
|
||||||
|
holds_bottom_quartile
|
||||||
|
holds_top_quartile
|
||||||
|
display_difficulty
|
||||||
|
angle_x_holds
|
||||||
|
angle_x_difficulty
|
||||||
|
angle_squared
|
||||||
|
difficulty_x_height
|
||||||
|
difficulty_x_density
|
||||||
|
complexity_score
|
||||||
|
hull_area_x_difficulty
|
||||||
|
Before Width: | Height: | Size: 1.9 MiB After Width: | Height: | Size: 1.9 MiB |
|
Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 1.8 MiB |
|
Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 1.8 MiB |
|
Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 1.8 MiB |
|
Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 1.8 MiB |
BIN
images/04_climb_features/feature_correlations.png
Normal file
|
After Width: | Height: | Size: 1.3 MiB |
|
Before Width: | Height: | Size: 1.4 MiB |
@@ -5,7 +5,7 @@
|
|||||||
"id": "37e8cfe9",
|
"id": "37e8cfe9",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
"# Tension Board 2 / Tension Board 1: Data Overview and Climbing Statistics\n",
|
"Kilter Board: Data Overview and Climbing Statistics\n",
|
||||||
"\n",
|
"\n",
|
||||||
"## Purpose\n",
|
"## Purpose\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
|||||||
1237
notebooks/04_feature_engineering.ipynb
Normal file
@@ -411,6 +411,21 @@ id |product_id|name |x |y|mirrored_hole_id|mirror_group|
|
|||||||
1137| 1|31,KB1|124|4| 0| 0|
|
1137| 1|31,KB1|124|4| 0| 0|
|
||||||
*
|
*
|
||||||
* These tell us the coordinates on the board.
|
* These tell us the coordinates on the board.
|
||||||
|
* Let's see what our range is for the Kilter Board Original
|
||||||
|
*/
|
||||||
|
|
||||||
|
SELECT
|
||||||
|
MIN(x) AS x_min,
|
||||||
|
MAX(x) AS x_max,
|
||||||
|
MIN(y) AS y_min,
|
||||||
|
MAX(y) AS y_max
|
||||||
|
FROM holes WHERE product_id=1;
|
||||||
|
|
||||||
|
/*
|
||||||
|
x_min|x_max|y_min|y_max|
|
||||||
|
-----+-----+-----+-----+
|
||||||
|
-20| 164| 4| 176|
|
||||||
|
*
|
||||||
*
|
*
|
||||||
* Lastly, let's look at leds.
|
* Lastly, let's look at leds.
|
||||||
*/
|
*/
|
||||||
@@ -780,6 +795,15 @@ AND h.id NOT IN (
|
|||||||
/*
|
/*
|
||||||
id|product_id|name|x|y|mirrored_hole_id|mirror_group|
|
id|product_id|name|x|y|mirrored_hole_id|mirror_group|
|
||||||
--+----------+----+-+-+----------------+------------+
|
--+----------+----+-+-+----------------+------------+
|
||||||
|
*
|
||||||
|
* Lastly, the following is important when we wish to visualize hold patterns. We need the edges.
|
||||||
|
*/
|
||||||
|
SELECT * FROM product_sizes ps WHERE id=28;
|
||||||
|
/*
|
||||||
|
id|product_id|edge_left|edge_right|edge_bottom|edge_top|name |description|image_filename |position|is_listed|
|
||||||
|
--+----------+---------+----------+-----------+--------+-------+-----------+--------------------+--------+---------+
|
||||||
|
28| 1| -24| 168| 0| 156|16 x 12|Super Wide |product_sizes/28.png| 5| 1|
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
---------------------------------------------------------------
|
---------------------------------------------------------------
|
||||||
@@ -791,7 +815,3 @@ id|product_id|name|x|y|mirrored_hole_id|mirror_group|
|
|||||||
* - Hold positions are decoded via mapping placements to (x,y) coordinates (from the holes tables)
|
* - Hold positions are decoded via mapping placements to (x,y) coordinates (from the holes tables)
|
||||||
* - There are four hold types: start, middle, finish, foot. 692 holds on the Original (16x12)
|
* - There are four hold types: start, middle, finish, foot. 692 holds on the Original (16x12)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||