|
1492 | 1492 | "return_conf_list_from_var_dict(var_dict, fun_control)[0]" |
1493 | 1493 | ] |
1494 | 1494 | }, |
| 1495 | + { |
| 1496 | + "attachments": {}, |
| 1497 | + "cell_type": "markdown", |
| 1498 | + "metadata": {}, |
| 1499 | + "source": [ |
| 1500 | + "# Test Designs" |
| 1501 | + ] |
| 1502 | + }, |
| 1503 | + { |
| 1504 | + "cell_type": "code", |
| 1505 | + "execution_count": 5, |
| 1506 | + "metadata": {}, |
| 1507 | + "outputs": [ |
| 1508 | + { |
| 1509 | + "data": { |
| 1510 | + "text/plain": [ |
| 1511 | + "array([[0.66352963, 0.5892358 ],\n", |
| 1512 | + " [0.66352963, 0.5892358 ],\n", |
| 1513 | + " [0.55592803, 0.96312564],\n", |
| 1514 | + " [0.55592803, 0.96312564],\n", |
| 1515 | + " [0.16481882, 0.0375811 ],\n", |
| 1516 | + " [0.16481882, 0.0375811 ],\n", |
| 1517 | + " [0.215331 , 0.34468512],\n", |
| 1518 | + " [0.215331 , 0.34468512],\n", |
| 1519 | + " [0.83604909, 0.62202146],\n", |
| 1520 | + " [0.83604909, 0.62202146]])" |
| 1521 | + ] |
| 1522 | + }, |
| 1523 | + "execution_count": 5, |
| 1524 | + "metadata": {}, |
| 1525 | + "output_type": "execute_result" |
| 1526 | + } |
| 1527 | + ], |
| 1528 | + "source": [ |
| 1529 | + "import numpy as np\n", |
| 1530 | + "from spotPython.design.spacefilling import spacefilling\n", |
| 1531 | + "lhd = spacefilling(k=2, seed=123)\n", |
| 1532 | + "lhd.scipy_lhd(n=5, repeats=2, lower=np.array([0,0]), upper=np.array([1,1]))" |
| 1533 | + ] |
| 1534 | + }, |
1495 | 1535 | { |
1496 | 1536 | "cell_type": "code", |
1497 | 1537 | "execution_count": null, |
|
0 commit comments