[fix] var
This commit is contained in:
@@ -117,7 +117,7 @@ inline bool stochastic_gradient_descent_sparse_finalize_weights(matrix_t *theta,
|
|||||||
double *theta_i = matrix_get_row(theta, i);
|
double *theta_i = matrix_get_row(theta, i);
|
||||||
uint32_t last_updated = updates[i];
|
uint32_t last_updated = updates[i];
|
||||||
regularize_row(theta_i, n, lambda, last_updated, t);
|
regularize_row(theta_i, n, lambda, last_updated, t);
|
||||||
updates[row] = t;
|
updates[i] = t;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user