Posts by user568459 • 178 points
3 posts
-
4
votes7
answers8546
viewsA: How to implement a linear regression algorithm?
Using the same algorithm from the @Marcos Banik response, I wrote a small algorithm in C based on the least squares method: void lms(double *x, double *y, int n, double *m, double *b) { int i;…
-
6
votes11
answers8299
viewsA: Should I write my program in English or Portuguese?
If you are a programmer and the rules are already set by hierarchically superior people, you can only follow them. Now, if you are responsible or are one of those responsible for defining these…
-
7
votes6
answers1852
viewsA: C programming for ARM
Not necessarily agreeing or disagreeing with colleagues, I prefer to go another way: it depends. It depends on the type of application you want to do. Essentially, as already said, the compiler must…