mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-22 07:30:43 +00:00
todo
This commit is contained in:
parent
a4634b335a
commit
c4a5d329d1
2 changed files with 11 additions and 4 deletions
|
|
@ -348,8 +348,8 @@ static void mlr_logistic_regression_aux(double* xs, double* ys, int n, double* p
|
|||
// Check for convergence
|
||||
double err = fabs(ell - ell0);
|
||||
|
||||
#if 0
|
||||
printf("its=%d,m=%e,b=%e,ell=%e\n", its, m0, b0, ell);
|
||||
#if 1
|
||||
printf("its=%d,m=%e,b=%e,dm=%e,db=%e,ell=%e\n", its, m0, b0, -Hinvgradm, -Hinvgradb, ell);
|
||||
#endif
|
||||
|
||||
if (err < tol)
|
||||
|
|
@ -370,8 +370,8 @@ static void mlr_logistic_regression_aux(double* xs, double* ys, int n, double* p
|
|||
}
|
||||
|
||||
void mlr_logistic_regression(double* xs, double* ys, int n, double* pm, double* pb) {
|
||||
double m0 = -0.001;
|
||||
double b0 = 0.002;
|
||||
double m0 = 0.001;
|
||||
double b0 = -0.002;
|
||||
double tol = 1e-9;
|
||||
int maxits = 100;
|
||||
mlr_logistic_regression_aux(xs, ys, n, pm, pb, m0, b0, tol, maxits);
|
||||
|
|
|
|||
|
|
@ -14,6 +14,13 @@ BUGFIXES
|
|||
================================================================
|
||||
TOP OF LIST
|
||||
|
||||
* make a 2.3.2
|
||||
- filter -x
|
||||
- logireg w/ caveat
|
||||
- stats2 hold-and-fit
|
||||
- improved heterogeneity for sort,stats1,stats2,step,head,tail,top,sample,uniq,count-distinct
|
||||
- implicit-csv-header feature
|
||||
|
||||
! join on partial value-field matches
|
||||
|
||||
MINOR: star-put fcn (for cheesy bar-charts) w/ min/max
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue