r/algorithms • u/nicolassiva • 13d 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
4
u/Winter-Rhubarb8690 12d ago
Is this not just logistic regression but with predefined weights? Do you have a method for learning optimal weight values?