Skip to content

Commit

Permalink
updates to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Alina Beygelzimer committed Nov 29, 2023
1 parent cc957b8 commit 59d5475
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 38 deletions.
19 changes: 6 additions & 13 deletions test/train-sets/ref/active-simulation.t24.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,13 @@ Output pred = SCALAR
average since example example current current current
loss last counter weight label predict features
1.000000 1.000000 1 1.0 -1.0000 0.0000 128
0.791125 0.755288 2 6.8 -1.0000 -0.1309 44
1.274829 1.444750 8 26.3 1.0000 -0.2020 34
1.083985 0.895011 73 52.8 1.0000 0.0214 21
0.887295 0.693362 130 106.3 -1.0000 -0.3071 146
0.788245 0.690009 233 213.6 -1.0000 0.0421 47
0.664628 0.541195 398 427.4 -1.0000 -0.1863 68
0.634406 0.604328 835 856.9 -1.0000 -0.4327 40

finished run
number of examples = 1000
weighted example sum = 1014.004519
weighted label sum = -68.618036
average loss = 0.630964
best constant = -0.067670
best constant's loss = 0.995421
weighted example sum = 1.000000
weighted label sum = -1.000000
average loss = 1.000000
best constant = -1.000000
best constant's loss = 0.000000
total feature number = 78739
total queries = 474
total queries = 1
31 changes: 6 additions & 25 deletions test/train-sets/ref/help.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -121,21 +121,6 @@ Input Options:
keep)
--flatbuffer Data file will be interpreted as a flatbuffer file (type: bool,
experimental)
--csv Data file will be interpreted as a CSV file (type: bool, experimental)
--csv_separator arg CSV Parser: Specify field separator in one character, " | : are
not allowed for reservation. (type: str, default: ,, experimental)
--csv_no_file_header CSV Parser: First line is NOT a header. By default, CSV files
are assumed to have a header with feature and/or namespaces names.
You MUST specify the header with --csv_header if you use this
option. (type: bool, default: false, experimental)
--csv_header arg CSV Parser: Override the CSV header by providing (namespace,
'|' and) feature name separated with ','. By default, CSV files
are assumed to have a header with feature and/or namespaces names
in the CSV first line. You can override it by specifying here.
Combined with --csv_no_file_header, we assume that there is no
header in the CSV file. (type: str, experimental)
--csv_ns_value arg CSV Parser: Scale the namespace values by specifying the float
ratio. e.g. --csv_ns_value=a:0.5,b:0.3,:8 (type: str, experimental)
Logging Options:
--quiet Don't output diagnostics and progress updates. Supplying this
implies --log_level off and --driver_output_off. Supplying this
Expand Down Expand Up @@ -221,8 +206,12 @@ Weight Options:
[Reduction] Active Learning Options:
--active Enable active learning (type: bool, keep, necessary)
--simulation Active learning simulation mode (type: bool)
--mellowness arg Active learning mellowness parameter c_0. Default 8 (type: float,
default: 8, keep)
--direct Active learning via the tag and predictions interface. Tag should
start with "query?" to get query decision. Returned prediction
is either -1 for no or the importance weight for yes. (type:
bool)
--mellowness arg Active learning mellowness parameter c_0. Default 1. (type: float,
default: 1, keep)
[Reduction] Active Learning with Cover Options:
--active_cover Enable active learning with cover (type: bool, keep, necessary)
--mellowness arg Active learning mellowness parameter c_0 (type: float, default:
Expand Down Expand Up @@ -624,14 +613,6 @@ Weight Options:
uint, keep, necessary)
--replay_m_count arg How many times (in expectation) should each example be played
(default: 1 = permuting) (type: uint, default: 1)
[Reduction] Experimental: Contextual Bandit Exploration with ADF with graph feedback Options:
--cb_explore_adf Online explore-exploit for a contextual bandit problem with multiline
action dependent features (type: bool, keep, necessary)
--gamma_scale arg Sets CB with graph feedback gamma parameter to gamma=[gamma_scale]*[num
examples]^1/2 (type: float, default: 1, keep)
--gamma_exponent arg Exponent on [num examples] in CB with graph feedback parameter
gamma (type: float, default: 0.5, keep)
--graph_feedback Graph feedback pdf (type: bool, keep, necessary, experimental)
[Reduction] Experimental: Contextual Bandit Exploration with ADF with large action space filtering Options:
--cb_explore_adf Online explore-exploit for a contextual bandit problem with multiline
action dependent features (type: bool, keep, necessary)
Expand Down

0 comments on commit 59d5475

Please sign in to comment.