Skip to content
This repository has been archived by the owner on Jan 12, 2025. It is now read-only.

Commit

Permalink
20170109
Browse files Browse the repository at this point in the history
Major Changes:
- Inqeuality Constraint w.r.t. to objectives can now be applied for expected improvement
- Modification in plotParetoFront and predictParetoFront regading the 2D case
- Debugging of AnalyzeMixture Class
- Heterodedastic noise can now be estimated (generateNoiseModel)
- Major improvements in TaylorKriging (Kriging with non-linear mechanistic models)
- Speedup in calculation of 2D expected hypervolume improvement

Minor Changes:
- Small changes w.r.t. to the tutorial
- New color scheme avaiable: FZJ
- use now surf instead of surf for 3D plots
- the class BaysianOptimization was renamed to BaysianOptimizationClass

Signed-off-by: Lazloo <freier@ibt-w2k.kfa-juelich.de>
  • Loading branch information
Lazloo committed Jan 9, 2017
1 parent ae5bda0 commit 1c3fa6b
Show file tree
Hide file tree
Showing 71 changed files with 4,831 additions and 492 deletions.
39 changes: 27 additions & 12 deletions Tutorial/ActualTutorial/CreatingObject/tutorialCreatingObject.html

Large diffs are not rendered by default.

323 changes: 323 additions & 0 deletions Tutorial/ScriptsForDocu/html/tutorialCreatingObject.html

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion Tutorial/ScriptsForDocu/tutorialCreatingObject.m
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,11 @@
% Matlab's statistic toolbox (2015b and newer) is able to efficiently
% estimate the covariogram parameters. This is in general very robust and
% should be used if possible
KrigingObj.KrigingObjects{indexKrigingObj}.setUseMatlabRegressionGP(true);
try
KrigingObj.KrigingObjects{indexKrigingObj}.setUseMatlabRegressionGP(true);
catch ex
warning(ex.message)
end

%%%
% Alternatively, one of the integrated solver can be used. Here, an open
Expand Down
46 changes: 44 additions & 2 deletions dependencies/@AnalyzeKriging/AnalyzeKriging.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
% See the license note at the end of the file.

%% Private Members
properties(GetAccess='public',SetAccess='private')
properties(GetAccess='public',SetAccess='public')
KrigingObjects = cell(0);
end
%% Protected Members
Expand All @@ -28,6 +28,7 @@
SuppressFigure=0;
% Decide how many point of each input variable shall tested
Accuracy = 100;
AccuracyOutput = 100;
% Decide if only the basis function should be plotted
ShowBasisFct = 0;
% Plot Lower and Upper Bounds (1) or not (0)
Expand Down Expand Up @@ -83,6 +84,9 @@
UseDataPointsAsComparisonPoint = false;
% Signifcance level (error Erro Type I) used for z-test
SignificanceLevel = 0.05;
% Used for the contour plot in order to defined a minimum value
% which is plotted. This prevents that the entrie plot is colored
ThresholdQuantile = -inf;
%% Interpolation Options
% Subplot contains nPlots X nPlots figures
nPlots =5;
Expand Down Expand Up @@ -181,6 +185,8 @@
% Matrix (nLevelX3) containing the color map used for plots like 3D
% interpolation
ColormapToolbox = [];
%% Prediction of Pareto Front
RepeatDesign = true;
end
methods
%% Constructor
Expand Down Expand Up @@ -357,6 +363,10 @@
Accuracy = obj.Accuracy;
end
% ----------------------------------------------------------------
function [AccuracyOutput]=getAccuracyOutput(obj)
AccuracyOutput = obj.AccuracyOutput;
end
% ----------------------------------------------------------------
function [ShowBounds]=getShowBounds(obj)
ShowBounds = obj.ShowBounds;
end
Expand Down Expand Up @@ -657,11 +667,29 @@
function [PlottingRange]=getPlottingRange(obj)
PlottingRange = obj.PlottingRange;
end
% ----------------------------------------------------------------
function [RepeatDesign] = getRepeatDesign(obj)
RepeatDesign = obj.RepeatDesign;
end
% ----------------------------------------------------------------
function [ThresholdQuantile] = getThresholdQuantile(obj)
ThresholdQuantile = obj.ThresholdQuantile;
end
%% Set Functions
function []=setAccuracy(obj,Accuracy)
if any(size(Accuracy)>1)
error('Accuracy has to be a scalar')
end
obj.Accuracy = Accuracy;
end
% ----------------------------------------------------------------
function []=setAccuracyOutput(obj,AccuracyOutput)
if any(size(AccuracyOutput)>1)
error('AccuracyOutput has to be a scalar')
end
obj.AccuracyOutput = AccuracyOutput;
end
% ----------------------------------------------------------------
function []=setShowBounds(obj,ShowBounds)
if ~islogical(ShowBounds)
error('ShowBounds has to be logical')
Expand Down Expand Up @@ -958,14 +986,28 @@
if isempty(varargin)||isempty(varargin{1})
obj.ColormapToolbox = load('ColormapWinterInverse.txt');
return;
elseif strcmp(varargin{1},'FZJ')
obj.ColormapToolbox = load('ColormapFZJ.txt');
return;
end

if size(varargin{1},2)~=3
if size(varargin{1},2)~=3&&~ischar(varargin{1})
error('ColormapToolbox must have three columns')
end

obj.ColormapToolbox = varargin{1};
end
% ----------------------------------------------------------------
function [] = setRepeatDesign(obj,RepeatDesign)
if ~islogical(RepeatDesign)
error('RepeatDesign must be logical')
end
obj.RepeatDesign = RepeatDesign;
end
% ----------------------------------------------------------------
function [] = setThresholdQuantile(obj,ThresholdQuantile)
obj.ThresholdQuantile = ThresholdQuantile;
end

end

Expand Down
Loading

0 comments on commit 1c3fa6b

Please sign in to comment.