Skip to content

Commit 61fcd5c

Browse files
v0.9.0
preparing simplified interface
1 parent 9add31a commit 61fcd5c

7 files changed

Lines changed: 415 additions & 136 deletions

File tree

notebooks/testKriging.ipynb

Lines changed: 18 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -1856,34 +1856,9 @@
18561856
},
18571857
{
18581858
"cell_type": "code",
1859-
"execution_count": 3,
1860-
"metadata": {},
1861-
"outputs": [
1862-
{
1863-
"name": "stdout",
1864-
"output_type": "stream",
1865-
"text": [
1866-
"Batch Size: 5\n",
1867-
"---------------\n",
1868-
"Inputs: tensor([[1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0,\n",
1869-
" 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n",
1870-
" 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],\n",
1871-
" [1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0,\n",
1872-
" 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0,\n",
1873-
" 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0],\n",
1874-
" [1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1,\n",
1875-
" 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,\n",
1876-
" 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0],\n",
1877-
" [1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0,\n",
1878-
" 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n",
1879-
" 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],\n",
1880-
" [0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0,\n",
1881-
" 0, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0,\n",
1882-
" 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]])\n",
1883-
"Targets: tensor([ 0, 1, 6, 9, 10])\n"
1884-
]
1885-
}
1886-
],
1859+
"execution_count": null,
1860+
"metadata": {},
1861+
"outputs": [],
18871862
"source": [
18881863
"from spotPython.data.pkldataset import PKLDataset\n",
18891864
"import torch\n",
@@ -1905,18 +1880,9 @@
19051880
},
19061881
{
19071882
"cell_type": "code",
1908-
"execution_count": 4,
1909-
"metadata": {},
1910-
"outputs": [
1911-
{
1912-
"name": "stdout",
1913-
"output_type": "stream",
1914-
"text": [
1915-
"torch.Size([11, 64])\n",
1916-
"torch.Size([11])\n"
1917-
]
1918-
}
1919-
],
1883+
"execution_count": null,
1884+
"metadata": {},
1885+
"outputs": [],
19201886
"source": [
19211887
"from spotPython.data.pkldataset import PKLDataset\n",
19221888
"import torch\n",
@@ -1928,17 +1894,9 @@
19281894
},
19291895
{
19301896
"cell_type": "code",
1931-
"execution_count": 5,
1932-
"metadata": {},
1933-
"outputs": [
1934-
{
1935-
"name": "stdout",
1936-
"output_type": "stream",
1937-
"text": [
1938-
"11\n"
1939-
]
1940-
}
1941-
],
1897+
"execution_count": null,
1898+
"metadata": {},
1899+
"outputs": [],
19421900
"source": [
19431901
"from spotPython.data.pkldataset import PKLDataset\n",
19441902
"import torch\n",
@@ -1949,17 +1907,9 @@
19491907
},
19501908
{
19511909
"cell_type": "code",
1952-
"execution_count": 6,
1953-
"metadata": {},
1954-
"outputs": [
1955-
{
1956-
"name": "stdout",
1957-
"output_type": "stream",
1958-
"text": [
1959-
"<spotPython.data.pkldataset.PKLDataset object at 0x2c3542790>\n"
1960-
]
1961-
}
1962-
],
1910+
"execution_count": null,
1911+
"metadata": {},
1912+
"outputs": [],
19631913
"source": [
19641914
"from spotPython.data.pkldataset import PKLDataset\n",
19651915
"import torch\n",
@@ -1970,20 +1920,9 @@
19701920
},
19711921
{
19721922
"cell_type": "code",
1973-
"execution_count": 9,
1974-
"metadata": {},
1975-
"outputs": [
1976-
{
1977-
"data": {
1978-
"text/plain": [
1979-
"57002"
1980-
]
1981-
},
1982-
"execution_count": 9,
1983-
"metadata": {},
1984-
"output_type": "execute_result"
1985-
}
1986-
],
1923+
"execution_count": null,
1924+
"metadata": {},
1925+
"outputs": [],
19871926
"source": [
19881927
"from spotPython.data.pkldataset import PKLDataset\n",
19891928
"import torch\n",
@@ -1999,17 +1938,9 @@
19991938
},
20001939
{
20011940
"cell_type": "code",
2002-
"execution_count": 13,
2003-
"metadata": {},
2004-
"outputs": [
2005-
{
2006-
"name": "stderr",
2007-
"output_type": "stream",
2008-
"text": [
2009-
"Seed set to 1234\n"
2010-
]
2011-
}
2012-
],
1941+
"execution_count": null,
1942+
"metadata": {},
1943+
"outputs": [],
20131944
"source": [
20141945
"from spotPython.utils.init import fun_control_init\n",
20151946
"from spotPython.hyperparameters.values import set_data_module\n",

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
77

88
[project]
99
name = "spotPython"
10-
version = "0.8.21"
10+
version = "0.9.0"
1111
authors = [
1212
{ name="T. Bartz-Beielstein", email="tbb@bartzundbartz.de" }
1313
]

0 commit comments

Comments
 (0)