feat: Update error message; update makefile; Update doc

This commit is contained in:
2024-09-29 22:57:06 +02:00
parent 442ebdd16c
commit 8b3dd78717
4 changed files with 18 additions and 8 deletions

3
main.c
View File

@@ -5,7 +5,6 @@
#include "main.h"
#include <stdio.h>
double sigmoid(double x)
{
if(x > 20) return 1.0;
@@ -104,7 +103,7 @@ int main(){
int trainingSetOrder[] = {0,1,2,3};
int numEpochs = 100000;
int numEpochs = 1000000;
//training loop
for(int epoch = 0; epoch < numEpochs; epoch++){