Skip to content

samruddhideode/YogaRec

Repository files navigation

Yogasana_Recommender

Web App which recommends a Yoga Asana based on your goals.
home You have to rate your goals on a scale of 1 to 10 when you sign up on the app.
signup


We calculate a match score of the User with each Asana. The User is then given an assortment of the top 3 asanas that would help him/her reach her goals.

How do we calculate this match score?


The User matrix will be a 1D array of the values for each goal presented to him/her.
Eg. I have severe asthama, I am not obese but still want to shed a couple kilos and I am diagnosed with PCOS. I will rate my goals in the following way:
  • Imporove Lung Function: 10
  • Control PCOS: 6
  • Lose weight: 3
While I'll rate the rest of the goals like Controlling hypertension, diabetes, etc. with a 0.
User Array = [3,0,0,0,10,6]
Now, each Asana will have a boolean value for each goal depending on whether it is helpful to reach that goal or not. Eg. For Bhujangasana:
  • Weight Loss: 1
  • Control Hypertension: 0
  • Reduce Anxiety: 0
  • Control Diabetes: 1
  • Improve Lung Function: 1
  • Manage PCOS: 1
Asana Array = [1,0,0,1,1,1] A dot product of these two arrays will give us the match score, which here is 19. The Asanas with the top 3 match scores would be recommended to the user.

recommend

update

Tech Stack

  • Node js
  • Express
  • Mongodb
  • EJS, CSS, JS
  • About

    A Web App which recommends you the best Yoga Poses depending upon your goals built using MongoDB, Nodejs and Express frameworks.

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

     
     
     

    Contributors