laurajul commited on
Commit
4c5f48c
·
verified ·
1 Parent(s): 5116b5c

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +17 -0
README.md ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ### Penalty (Time Penalty)
2
+ - **Purpose**: To reduce the influence of older posts by applying a decay based on how long the content has been on the platform.
3
+ - **Formula**: \( \text{timePenalty} = \frac{1}{1 + \log(\text{daysOnPlatform} + \text{offset})} \)
4
+ - **Logarithmic Decay**: Older posts (higher `daysOnPlatform`) have smaller penalty values.
5
+ - **Offset**: Ensures stability and avoids division by zero or undefined log values.
6
+ - **Effect**:
7
+ - Recent posts get higher scores.
8
+ - Older posts are de-emphasized in engagement calculation.
9
+
10
+ ### Normalizing (Reactions Normalization)
11
+ - **Purpose**: To scale raw social reaction values into a standardized range (0–1), enabling comparisons.
12
+ - **Method**: Min-Max Scaling
13
+ - Formula: \( \text{normalizedReactions} = \frac{\text{value} - \text{min}}{\text{max} - \text{min}} \)
14
+ - Adjusts all reaction values relative to the minimum and maximum in the dataset.
15
+ - **Effect**:
16
+ - Converts raw reaction values into a uniform scale.
17
+ - Ensures different ranges of reactions are treated fairly in further calculations.