Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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})} \)
|
|
|
1 |
+
### Step 1 - Scraping Data
|
2 |
+
- Utilizes the CivitAI API with cursor-based pagination to fetch image data over a two-year period.
|
3 |
+
- Saves progress in `cursors.txt` to resume scraping from the last retrieved point, avoiding redundant requests.
|
4 |
+
- Stores data in timestamped directories, organizing results into manageable batches of 50,000 images per session.
|
5 |
+
- Handles API constraints efficiently, with planned improvements for retrying failed requests.
|
6 |
+
-
|
7 |
+
|
8 |
+
# Step 2 - Normalizing Engagement Scores
|
9 |
### Penalty (Time Penalty)
|
10 |
- **Purpose**: To reduce the influence of older posts by applying a decay based on how long the content has been on the platform.
|
11 |
- **Formula**: \( \text{timePenalty} = \frac{1}{1 + \log(\text{daysOnPlatform} + \text{offset})} \)
|