Skip to content

Commit

Permalink
Corrected the data
Browse files Browse the repository at this point in the history
  • Loading branch information
NiharGharat committed May 10, 2023
1 parent a3136dc commit 33fe549
Show file tree
Hide file tree
Showing 4 changed files with 87 additions and 3 deletions.
33 changes: 33 additions & 0 deletions notes/CreationOfDerivedExercise.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
1. Entities.Exercise

Class Name:
Entities.Exercise_Derived

Datafile Name:
exercise.csv



2.
Class Name:
Entities.Exercise_Derived

Gist:
The exercise derived dataset gives the computed trainables variables which we will give to the neural network.

Class Name:

Class Variables:
1. id: int
- Gives the id of the derived exercise. This is the same as that used in exercise.csv
2. name: str
- Same as exercise.csv
3. exercise_importance: int
- Calculated as:

4. exercise_cost: int
5. exercise_recurrance_factor_per_cycle: int
6. exercise_rpe: int
7. exercise_overall_fun_factor: int
8. exercise_exhaustion_factor: int
9. missed_in_cycle_count: int
6 changes: 3 additions & 3 deletions src/Entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ def __init__(self, id: int, name: str, muscles_targeted: str, calories_10_min: f
self.muscles_targeted: str = muscles_targeted
# A single number
self.calories_10_min: float = calories_10_min
# User given 0 - 10
# User given 0 - 5
self.fun_factor: int = fun_factor
# Number, 0: false, 1: true
self.is_compound: int = is_compound
# Number 0 - 10
# Number 0 - 5
self.how_critical: int = how_critical

# The entity which is stored in the csv file
Expand Down Expand Up @@ -82,4 +82,4 @@ def __init__(self, id, name, exercise_importance, exercise_cost, exercise_recurr
class Workout_Derived:

def __init__(self) -> None:

pass
51 changes: 51 additions & 0 deletions src/resources/data/exercise_derived.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
id,name,exercise_importance,exercise_cost,exercise_recurrance_factor_per_cycle,exercise_rpe,exercise_overall_fun_factor,exercise_exhaustion_factor,missed_in_cycle_count
1,Bicep Curl,,,,,,,
2,Burpee,,,,,,,
3,Deadlift,,,,,,,
4,Squat,,,,,,,
5,Bench Press,,,,,,,
6,Push-up,,,,,,,
7,Pull-up,,,,,,,
8,Lat Pulldown,,,,,,,
9,Leg Press,,,,,,,
10,Leg Extension,,,,,,,
11,Leg Curl,,,,,,,
12,Lunge,,,,,,,
13,Dumbbell Row,,,,,,,
14,Dumbbell Fly,,,,,,,
15,Tricep Extension,,,,,,,
16,Shoulder Press,,,,,,,
17,Crunches,,,,,,,
18,Plank,,,,,,,
19,Russian Twist,,,,,,,
20,Plank,,,,,,,
21,Superman,,,,,,,
22,Bird Dog,,,,,,,
23,Squat Jump,,,,,,,
24,Jumping Jacks,,,,,,,
25,High Knees,,,,,,,
26,Jump Rope,,,,,,,
27,Mountain Climbers,,,,,,,
28,Running,,,,,,,
29,Cycling,,,,,,,
30,Swimming,,,,,,,
31,Yoga,,,,,,,
32,Pilates,,,,,,,
33,Tai Chi,,,,,,,
34,Foam Rolling,,,,,,,
35,Stair Climbing,,,,,,,
36,Rowing Machine,,,,,,,
37,Battle Ropes,,,,,,,
38,Box Jumps,,,,,,,
39,Farmers Walk,,,,,,,
40,Tire Flips,,,,,,,
41,Kettlebell Swing,,,,,,,
42,Bulgarian Split Squat,,,,,,,
43,Lateral Lunges,,,,,,,
44,Push Press,,,,,,,
45,Tricep Dips,,,,,,,
46,Side Plank,,,,,,,
47,Medicine Ball Slam,,,,,,,
48,Wall Balls,,,,,,,
49,Elliptical,,,,,,,
50,Box Jumps,,,,,,,
File renamed without changes.

0 comments on commit 33fe549

Please sign in to comment.