Skip to content

Commit

Permalink
* Add LICENSE
Browse files Browse the repository at this point in the history
Former-commit-id: 26297ea
  • Loading branch information
zuoxingdong committed Jul 12, 2018
1 parent 5e2d3d7 commit 4bc9e6e
Show file tree
Hide file tree
Showing 5 changed files with 253 additions and 254 deletions.
9 changes: 9 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
MIT License

Copyright (c) 2018 Xingdong Zuo

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
48 changes: 18 additions & 30 deletions examples/es/es_gym.ipynb
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"# TEMP: Import lagom\n",
"# Not useful once lagom is installed\n",
"import sys\n",
"sys.path.append('/home/zuo/Code/lagom/')"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand All @@ -28,7 +16,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -122,7 +110,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 2,
"metadata": {},
"outputs": [
{
Expand All @@ -131,7 +119,7 @@
"194"
]
},
"execution_count": 3,
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -149,7 +137,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -193,26 +181,26 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 4,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"(30_w,60)-aCMA-ES (mu_w=16.6,w_1=12%) in dimension 194 (seed=400889, Wed Jul 11 17:16:42 2018)\n",
"Best function value at generation 1: -267.0451211258769\n",
"Best function value at generation 100: -53.67015787605196\n",
"Best function value at generation 200: -28.48752606920898\n",
"Best function value at generation 300: -28.48752606920898\n",
"Best function value at generation 400: -28.48752606920898\n",
"Best function value at generation 500: -1.7494624838232995\n",
"Best function value at generation 600: -1.7494624838232995\n",
"Best function value at generation 700: -1.7494624838232995\n",
"Best function value at generation 800: -1.7494624838232995\n",
"Best function value at generation 900: -1.7494624838232995\n",
"Best function value at generation 1000: -1.7494624838232995\n",
"Total time: 3.14e+02 s\n"
"(30_w,60)-aCMA-ES (mu_w=16.6,w_1=12%) in dimension 194 (seed=492886, Thu Jul 12 12:54:13 2018)\n",
"Best function value at generation 1: -274.81550405025484\n",
"Best function value at generation 100: -30.490639524441214\n",
"Best function value at generation 200: -26.765747442189603\n",
"Best function value at generation 300: -24.436559721687807\n",
"Best function value at generation 400: -3.8921948190778495\n",
"Best function value at generation 500: -3.8921948190778495\n",
"Best function value at generation 600: -3.8921948190778495\n",
"Best function value at generation 700: -1.0937648743391037\n",
"Best function value at generation 800: -1.0937648743391037\n",
"Best function value at generation 900: -1.0937648743391037\n",
"Best function value at generation 1000: -1.0937648743391037\n",
"Total time: 3.24e+02 s\n"
]
}
],
Expand Down
Loading

0 comments on commit 4bc9e6e

Please sign in to comment.