TB_ML
An attempt at writing a machine learning library in C, using tb_db as the data input layer.
tb_db
References
- Computerphile – Random Numbers (YouTube)
- PCG Random – O'Neill (pcg-random.org)
- Pattern Recognition and Machine Learning – Bishop (PDF)
- Mean Squared Error – Wikipedia
- Linear Approximation – Wikipedia (NL)
- Partial Differential Equations – Wikipedia
- Linear Regression
- [ChatGPT]: used for navigating unfamiliar topics and finding relevant material
- [Claude]: used for mathematical implementations, because I suck
Dependencies
tb_db— custom CSV query engine / database layer
Status
Work in progress.
Output
[2038] header_index=17, row_index=100, payload=0xfffe9924e087
[2039] header_index=18, row_index=99, payload=0xfffe9924de07
[2040] header_index=19, row_index=98, payload=0xfffe9924db87
[2041] header_index=17, row_index=101, payload=0xfffe9924e327
[2042] header_index=18, row_index=100, payload=0xfffe9924e0a7
[2043] header_index=19, row_index=99, payload=0xfffe9924de27
[2044] header_index=18, row_index=101, payload=0xfffe9924e347
[2045] header_index=19, row_index=100, payload=0xfffe9924e0c7
[2046] header_index=19, row_index=101, payload=0xfffe9924e367
trained value :: 1.062144
Prediction for new house: 2202.942871
Issues
- Children are null.
- Rows are wrong.
- The prediction isn't taking enough parameters.