MCPcopy Create free account
hub / github.com/antmachineintelligence/mtgbmcode / SaveMembersToString

Method SaveMembersToString

src/io/config_auto.cpp:587–699  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

585}
586
587std::string Config::SaveMembersToString() const {
588 std::stringstream str_buf;
589 str_buf << "[data: " << data << "]\n";
590 str_buf << "[valid: " << Common::Join(valid, ",") << "]\n";
591 str_buf << "[num_iterations: " << num_iterations << "]\n";
592 str_buf << "[learning_rate: " << learning_rate << "]\n";
593 str_buf << "[num_leaves: " << num_leaves << "]\n";
594 str_buf << "[num_threads: " << num_threads << "]\n";
595 str_buf << "[max_depth: " << max_depth << "]\n";
596 str_buf << "[min_data_in_leaf: " << min_data_in_leaf << "]\n";
597 str_buf << "[min_sum_hessian_in_leaf: " << min_sum_hessian_in_leaf << "]\n";
598 str_buf << "[bagging_fraction: " << bagging_fraction << "]\n";
599 str_buf << "[pos_bagging_fraction: " << pos_bagging_fraction << "]\n";
600 str_buf << "[neg_bagging_fraction: " << neg_bagging_fraction << "]\n";
601 str_buf << "[bagging_freq: " << bagging_freq << "]\n";
602 str_buf << "[bagging_seed: " << bagging_seed << "]\n";
603 str_buf << "[feature_fraction: " << feature_fraction << "]\n";
604 str_buf << "[feature_fraction_bynode: " << feature_fraction_bynode << "]\n";
605 str_buf << "[feature_fraction_seed: " << feature_fraction_seed << "]\n";
606 str_buf << "[early_stopping_round: " << early_stopping_round << "]\n";
607 str_buf << "[first_metric_only: " << first_metric_only << "]\n";
608 str_buf << "[max_delta_step: " << max_delta_step << "]\n";
609 str_buf << "[lambda_l1: " << lambda_l1 << "]\n";
610 str_buf << "[lambda_l2: " << lambda_l2 << "]\n";
611 str_buf << "[min_gain_to_split: " << min_gain_to_split << "]\n";
612 str_buf << "[drop_rate: " << drop_rate << "]\n";
613 str_buf << "[max_drop: " << max_drop << "]\n";
614 str_buf << "[skip_drop: " << skip_drop << "]\n";
615 str_buf << "[xgboost_dart_mode: " << xgboost_dart_mode << "]\n";
616 str_buf << "[uniform_drop: " << uniform_drop << "]\n";
617 str_buf << "[drop_seed: " << drop_seed << "]\n";
618 str_buf << "[top_rate: " << top_rate << "]\n";
619 str_buf << "[other_rate: " << other_rate << "]\n";
620 str_buf << "[min_data_per_group: " << min_data_per_group << "]\n";
621 str_buf << "[max_cat_threshold: " << max_cat_threshold << "]\n";
622 str_buf << "[cat_l2: " << cat_l2 << "]\n";
623 str_buf << "[cat_smooth: " << cat_smooth << "]\n";
624 str_buf << "[max_cat_to_onehot: " << max_cat_to_onehot << "]\n";
625 str_buf << "[top_k: " << top_k << "]\n";
626 str_buf << "[monotone_constraints: " << Common::Join(Common::ArrayCast<int8_t, int>(monotone_constraints), ",") << "]\n";
627 str_buf << "[feature_contri: " << Common::Join(feature_contri, ",") << "]\n";
628 str_buf << "[forcedsplits_filename: " << forcedsplits_filename << "]\n";
629 str_buf << "[forcedbins_filename: " << forcedbins_filename << "]\n";
630 str_buf << "[refit_decay_rate: " << refit_decay_rate << "]\n";
631 str_buf << "[cegb_tradeoff: " << cegb_tradeoff << "]\n";
632 str_buf << "[cegb_penalty_split: " << cegb_penalty_split << "]\n";
633 str_buf << "[cegb_penalty_feature_lazy: " << Common::Join(cegb_penalty_feature_lazy, ",") << "]\n";
634 str_buf << "[cegb_penalty_feature_coupled: " << Common::Join(cegb_penalty_feature_coupled, ",") << "]\n";
635 str_buf << "[verbosity: " << verbosity << "]\n";
636 str_buf << "[max_bin: " << max_bin << "]\n";
637 str_buf << "[max_bin_by_feature: " << Common::Join(max_bin_by_feature, ",") << "]\n";
638 str_buf << "[min_data_in_bin: " << min_data_in_bin << "]\n";
639 str_buf << "[bin_construct_sample_cnt: " << bin_construct_sample_cnt << "]\n";
640 str_buf << "[histogram_pool_size: " << histogram_pool_size << "]\n";
641 str_buf << "[data_random_seed: " << data_random_seed << "]\n";
642 str_buf << "[output_model: " << output_model << "]\n";
643 str_buf << "[snapshot_freq: " << snapshot_freq << "]\n";
644 str_buf << "[input_model: " << input_model << "]\n";

Callers

nothing calls this directly

Calls 1

JoinFunction · 0.50

Tested by

no test coverage detected