webxos commited on
Commit
cdbcaaf
·
verified ·
1 Parent(s): cb9cb94

Upload 125 files

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
README.md ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # fisr_algorithm_dataset
2
+
3
+ ## Fast Inverse Square Root Algorithm Visualization Dataset
4
+
5
+ Generated with UNDERGROUND: FISR by webXOS
6
+ Educational visualization of the Quake III Arena optimization algorithm
7
+
8
+ ### Algorithm Details
9
+ - Magic Number: 0x5f23aac5
10
+ - Newton Iterations: 3
11
+ - Input Range: 0.1 to 1000
12
+ - Maximum Error: 1.1742636926798086e+287%
13
+ - RMS Error: Infinity%
14
+
15
+ ### Files Included
16
+ frames
17
+ metadata
18
+ data
19
+ algorithm
20
+
21
+ ### Educational Value
22
+ This dataset demonstrates:
23
+ 1. The Fast Inverse Square Root algorithm implementation
24
+ 2. Error analysis of the approximation
25
+ 3. 3D visualization of mathematical functions
26
+ 4. Bit-level manipulation techniques
27
+
28
+ ### Usage for Training
29
+ 1. Use frames/ for visual sequence learning
30
+ 2. Use numerical_data.csv for regression tasks
31
+ 3. Use metadata.json for conditional generation
32
+ 4. Train models to understand optimization algorithms
33
+
34
+ ### Citation
35
+ If you use this dataset, please cite:
36
+ UNDERGROUND: FISR by webXOS, 2024
37
+
38
+ ### License
39
+ Creative Commons Attribution 4.0 International (CC BY 4.0)
algorithm_analysis.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "explanation": "The Fast Inverse Square Root algorithm computes 1/√x using bit manipulation and Newton's method.",
3
+ "original_use": "Used in Quake III Arena for lighting and reflection calculations.",
4
+ "performance": "Approximately 30x faster than standard floating-point division and square root.",
5
+ "steps": [
6
+ "1. Treat the floating-point number as an integer",
7
+ "2. Right shift the integer by 1 bit",
8
+ "3. Subtract from the magic number (0x5f3759df)",
9
+ "4. Treat the result as a floating-point number",
10
+ "5. Apply one iteration of Newton's method: y = y * (1.5 - (x2 * y * y))"
11
+ ],
12
+ "mathematical_basis": "The algorithm exploits the linear relationship between the logarithm of a number and its floating-point representation.",
13
+ "magic_number_derivation": "The magic number is derived from the IEEE 754 floating-point format and provides a good initial approximation."
14
+ }
dataset_info.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "description": "Fast Inverse Square Root algorithm visualization dataset for machine learning training",
3
+ "license": "CC BY 4.0",
4
+ "features": {
5
+ "frames": {
6
+ "dtype": "image",
7
+ "id": null
8
+ },
9
+ "metadata": {
10
+ "dtype": "string",
11
+ "id": null
12
+ },
13
+ "numerical_data": {
14
+ "dtype": "string",
15
+ "id": null
16
+ },
17
+ "algorithm_analysis": {
18
+ "dtype": "string",
19
+ "id": null
20
+ }
21
+ },
22
+ "homepage": "https://github.com/webXOS/UNDERGROUND-FISR",
23
+ "citation": "@misc{underground-fisr-2024,\n author = {webXOS},\n title = {Fast Inverse Square Root Algorithm Visualization Dataset},\n year = {2024},\n publisher = {GitHub},\n journal = {GitHub repository}\n}"
24
+ }
frames/00000.png ADDED
frames/00001.png ADDED
frames/00002.png ADDED
frames/00003.png ADDED
frames/00004.png ADDED
frames/00005.png ADDED
frames/00006.png ADDED
frames/00007.png ADDED
frames/00008.png ADDED
frames/00009.png ADDED
frames/00010.png ADDED
frames/00011.png ADDED
frames/00012.png ADDED
frames/00013.png ADDED
frames/00014.png ADDED
frames/00015.png ADDED
frames/00016.png ADDED
frames/00017.png ADDED
frames/00018.png ADDED
frames/00019.png ADDED
frames/00020.png ADDED
frames/00021.png ADDED
frames/00022.png ADDED
frames/00023.png ADDED
frames/00024.png ADDED
frames/00025.png ADDED
frames/00026.png ADDED
frames/00027.png ADDED
frames/00028.png ADDED
frames/00029.png ADDED
frames/00030.png ADDED
frames/00031.png ADDED
frames/00032.png ADDED
frames/00033.png ADDED
frames/00034.png ADDED
frames/00035.png ADDED
frames/00036.png ADDED
frames/00037.png ADDED
frames/00038.png ADDED
frames/00039.png ADDED
frames/00040.png ADDED
frames/00041.png ADDED
frames/00042.png ADDED
frames/00043.png ADDED
frames/00044.png ADDED
frames/00045.png ADDED
frames/00046.png ADDED