Skip to content

Commit 9268fbd

Browse files
committed
multipoint -> multi-point
1 parent 71651f4 commit 9268fbd

19 files changed

+39
-62
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Description: Flexible and comprehensive R toolbox for model-based optimization
66
conditional parameters. The machine learning toolbox 'mlr' provide dozens
77
of regression learners to model the performance of the target algorithm with
88
respect to the parameter settings. It provides many different infill criteria
9-
to guide the search process. Additional features include multipoint batch
9+
to guide the search process. Additional features include multi-point batch
1010
proposal, parallel execution as well as visualization and sophisticated
1111
logging mechanisms, which is especially useful for teaching and understanding
1212
of algorithm behavior. 'mlrMBO' is implemented in a modular fashion, such that

LICENSE

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,2 @@
1-
BSD 2-Clause License
2-
3-
Copyright (c) 2017, Bernd Bischl
4-
All rights reserved.
5-
6-
Redistribution and use in source and binary forms, with or without
7-
modification, are permitted provided that the following conditions are met:
8-
9-
* Redistributions of source code must retain the above copyright notice, this
10-
list of conditions and the following disclaimer.
11-
12-
* Redistributions in binary form must reproduce the above copyright notice,
13-
this list of conditions and the following disclaimer in the documentation
14-
and/or other materials provided with the distribution.
15-
16-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
20-
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21-
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22-
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
23-
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24-
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1+
YEAR: 2018
2+
COPYRIGHT HOLDER: Bernd Bischl

R/SMBO.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ updateSMBO = function(opt.state, x, y) {
6060

6161
assertDataFrame(x)
6262
if (nrow(x) > 1 && !is.list(y)) {
63-
stopf("For a multipoint update y has to be a list.")
63+
stopf("For a multi-point update y has to be a list.")
6464
}
6565
if (!is.list(y)) {
6666
y = list(y)

R/checkStuff.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ checkStuff = function(fun, design, learner, control) {
112112
"\nBut this learner does not support prediction of standard errors!"))
113113
}
114114
if (control$multipoint.method == "cl" && infill.crit.id != "ei")
115-
stopf("Multipoint proposal using constant liar needs the infill criterion 'ei' (expected improvement), but you used '%s'!", infill.crit.id)
115+
stopf("Multi-point proposal using constant liar needs the infill criterion 'ei' (expected improvement), but you used '%s'!", infill.crit.id)
116116
if (control$multipoint.method == "cb" && infill.crit.id != "cb")
117-
stopf("Multipoint proposal using parallel cb needs the infill criterion 'cb' (confidence bound), but you used '%s'!", infill.crit.id)
117+
stopf("Multi-point proposal using parallel cb needs the infill criterion 'cb' (confidence bound), but you used '%s'!", infill.crit.id)
118118
}
119119
}
120120

R/doc_error_handling.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#' \item{4}{The target function crashes the whole R process.}
1313
#' \item{5}{The surrogate machine learning model might crash.
1414
#' Kriging quite often can run into numerical problems.}
15-
#' \item{6}{The proposal mechanism - in multipoint or single point mode - produces
15+
#' \item{6}{The proposal mechanism - in multi-point or single point mode - produces
1616
#' a point which is either close to another candidate point in the same iteration or
1717
#' an already visited point in a previous iteration.}
1818
#' \item{7}{The mbo process exits / stops / crashes itself. Maybe because it hit a walltime.}

R/doc_mbo_OptPath.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#' \item{final\_eval}{If \code{final.evals} is set in \code{\link{makeMBOControl}}: Final evaluations of the proposed solution to reduce noise in y.}
1818
#' }
1919
#' }
20-
#' \item{parego.weight}{Weight vector sampled for multipoint ParEGO}
20+
#' \item{parego.weight}{Weight vector sampled for multi-point ParEGO}
2121
#' \item{...}{Depending on the chosen infill criterion there will be additional columns, e.g. \code{se} and \code{mean} for the Expected Improvement)}
2222
#' }
2323
#'

R/doc_mbo_parallel.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#' }
1717
#' Details regarding the latter:
1818
#' \describe{
19-
#' \item{single-objective MBO with LCB multipoint}{Parallel optimization of LCBs for the lambda-values.}
19+
#' \item{single-objective MBO with LCB multi-point}{Parallel optimization of LCBs for the lambda-values.}
2020
#' \item{Multi-objective MBO with ParEGO}{Parallel optimization of scalarization functions.}
2121
#' }
2222
#'

R/getExtras.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ getExtras = function(n, prop, train.time, control) {
2828
# pregenerate a dummmy "prop" data structure
2929
prop = list(crit.vals = matrix(NA_real_, nrow = n, ncol = k), propose.time = NA_real_, errors.model = NA_character_, prop.type = rep("initdesign", n))
3030
# a) no infill crit components for MCO
31-
# b) infill crit is ignored for multipoint moimbo, in which case we don't use any components
31+
# b) infill crit is ignored for multi-point moimbo, in which case we don't use any components
3232
if (allow.crit.components) {
3333
prop$crit.components = getMBOInfillCritDummyComponents(infill.crit)
3434
}

R/getSupportedMultipointInfillOptFunctions.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
#' @title Get names of supported multipoint infill-criteria optimizers.
1+
#' @title Get names of supported multi-point infill-criteria optimizers.
22
#'
33
#' @description
4-
#' Returns all names of supported multipoint infill-criteria optimizers.
4+
#' Returns all names of supported multi-point infill-criteria optimizers.
55
#'
66
#' @return [\code{character}]
77
#' @export

R/makeMBOControl.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
#' \dQuote{warn}: The error will be converted to a waring and a random point will be proposed.
8181
#' \dQuote{quiet}: Same as “warn” but without the warning.
8282
#' Default is: \dQuote{stop}.
83-
#'
83+
#'
8484
#' @return [\code{\link{MBOControl}}].
8585
#' @aliases MBOControl
8686
#' @family MBOControl
@@ -190,7 +190,7 @@ print.MBOControl = function(x, ...) {
190190
catf("Infill optimizer : %s", x$infill.opt)
191191
catf("Infill optimizer restarts : %i", x$infill.opt.restarts)
192192
} else {
193-
catf("Multipoint method : %s", x$multipoint.method)
193+
catf("Multi-point method : %s", x$multipoint.method)
194194
}
195195
catf("Final point by : %s", x$final.method)
196196
}

0 commit comments

Comments
 (0)