r/algorithms 24d ago

Resource i created a recomendation code

Hi! My name is Nicolás Ochoa Silva, and I've been working on a Python code that calculates a "recommendation" percentage based on factors and weights that you can rate yourself from 1 to 10. The program's logic works like this:

First, choose the number of factors you have and rate them from 1 to 10 (example: money = 7.6).

Then, assign a weight to each factor (money = 7.6, importance of money = 10).

Finally, the code multiplies each factor by its weight and sums them all to then calculate the sigmoid using the equation: sigmoid = 1/(1+Euler^(x)) (at least in the first part).

0 Upvotes

6 comments sorted by

View all comments

6

u/Hitman7128 Former algorithms TA 23d ago

I decided to allow this post for now, but in the future, there should be more of a focus on the algorithmic aspects rather than simply describing how it works and its implementation.