Skip to content

Commit

Permalink
split public api into 1d,2d,nd and machine learning test functions
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonBlanke committed Jan 1, 2024
1 parent 0c5c645 commit abba8fb
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 1 deletion.
11 changes: 10 additions & 1 deletion surfaces/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,20 @@
__version__ = "0.1.0"
__license__ = "MIT"

from .mathematical_functions import mathematical_functions
from .mathematical_functions import (
mathematical_functions,
mathematical_functions_1d,
mathematical_functions_2d,
mathematical_functions_nd,
)

from .machine_learning_functions import machine_learning_functions


__all__ = [
"mathematical_functions",
"mathematical_functions_1d",
"mathematical_functions_2d",
"mathematical_functions_nd",
"machine_learning_functions",
]
36 changes: 36 additions & 0 deletions surfaces/mathematical_functions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,39 @@
StyblinskiTangFunction,
ThreeHumpCamelFunction,
]


mathematical_functions_1d = [
GramacyAndLeeFunction,
]


mathematical_functions_2d = [
AckleyFunction,
BealeFunction,
BoothFunction,
BukinFunctionN6,
CrossInTrayFunction,
DropWaveFunction,
EasomFunction,
EggholderFunction,
GoldsteinPriceFunction,
HimmelblausFunction,
HölderTableFunction,
LangermannFunction,
LeviFunctionN13,
MatyasFunction,
McCormickFunction,
RosenbrockFunction,
SchafferFunctionN2,
SimionescuFunction,
ThreeHumpCamelFunction,
]


mathematical_functions_nd = [
GriewankFunction,
RastriginFunction,
SphereFunction,
StyblinskiTangFunction,
]

0 comments on commit abba8fb

Please sign in to comment.