Skip to content

Commit

Permalink
Delete unused variable
Browse files Browse the repository at this point in the history
`train_mask` is not used.
  • Loading branch information
oooo26 authored Sep 2, 2024
1 parent 58f7a2a commit d43ab4e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Algorithm.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ class Algorithm {
int group_df = 0; // freedom
int sparsity_level = 0; // Number of non-zero coefficients.
double lambda_level = 0; // l2 normalization coefficients.
// Eigen::VectorXi train_mask;
int max_iter; // Maximum number of iterations taken for the splicing algorithm to converge.
int exchange_num; // Max exchange variable num.
bool warm_start; // When tuning the optimal parameter combination, whether to use the last solution as a warm start
Expand Down Expand Up @@ -159,8 +158,6 @@ class Algorithm {
this->lambda_level = lambda_level;
}

void update_train_mask(Eigen::VectorXi &train_mask) { this->train_mask = train_mask; }

void update_exchange_num(int exchange_num) { this->exchange_num = exchange_num; }

void update_beta_range(double beta_low, double beta_high) {
Expand Down

0 comments on commit d43ab4e

Please sign in to comment.