-
Notifications
You must be signed in to change notification settings - Fork 95
/
Copy path1_tools.html
219 lines (200 loc) · 8.38 KB
/
1_tools.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>1.1 Tools and format</title>
<link rel="stylesheet" href="../reveal/css/reset.css">
<link rel="stylesheet" href="../reveal/css/reveal.css">
<link rel="stylesheet" href="../reveal/css/theme/evo.css">
<!-- <link rel="stylesheet" href="../reveal/css/custom.css"> -->
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="../reveal/lib/css/zenburn.css">
<!-- Printing and PDF exports -->
<script>
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( /print-pdf/gi ) ? '../reveal/css/print/pdf.css' : '../reveal/css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>
</head>
<body>
<div class="reveal">
<div class="slides">
<section>
<h1>Evolutionary Computation</h1>
<h3>Tools and format of the class</h3>
<br />
<img src="../imgs/logo.png" width="30%" height="auto">
</section>
<section>
<h2>Course overview</h2>
<br/>
Two main components:
<br/>
<ul>
<li>a tutorial overview of evolutionary computation</li>
<li>a research project in teams</li>
</ul>
<br/>
<br/>
Tutorials:
<br/>
<ol>
<li>Introduction and Evolutionary Algorithms</li>
<li>Genetic Algorithms</li>
<li>Evolutionary Strategies</li>
<li>Neuroevolution</li>
<li>Multi-Objective Optimization</li>
<li>Behavior and Novelty</li>
<li>Genetic Programming</li>
<li>Symbolic Regression</li>
</ol>
</section>
<section>
<h2>Course tools overview</h2>
<br/>
<ul>
<li><a href="https://github.com/">Git</a> for code sharing and class organization</li>
<li><a href="https://www.python.org/">Python</a> for tutorial code</li>
<li><a href="https://julialang.org/">Julia</a> used in previous tutorials</li>
<li><a href="https://jupyter.org/">Jupyter</a> for tutorials</li>
</ul>
<br/>
<br/>
<div class="textbox">
These tools are widely used and will be useful well beyond this class. Take time to learn them now.
</div>
</section>
<section>
<h2>Git</h2>
<br/>
<ul>
<li>A popular <a href="https://git-scm.com/video/what-is-version-control">Version Control System (VCS)</a></li>
<li>Publicly available git servers: <a href="https://github.com/">github</a>, <a href="https://gitlab.com/">gitlab</a>, and <a href="https://www.guru99.com/github-alternative.html">others</a></li>
</ul>
<br/>
<br/>
<img src="../imgs/git.svg" width="80%" height="auto">
</section>
<section>
<h2>Git</h2>
<br/>
<img src="../imgs/clone.png" width="50%" height="auto">
</section>
<section>
<h2>Git</h2>
<br/>
Local workflow (optional)
<br/>
<ul>
<li><b>Fork</b> this repository to have a referenced copy of it in your account</li>
<li><b>Clone</b> your fork to download it locally</li>
<li>Create a <b>branch</b> in your repository for your local changes</li>
<li><b>Add</b> and <b>commit</b> your modifications</li>
<li><b>Push</b> your modifications to the remote server</li>
</ul>
<br/>
<br/>
Setup
<br/>
<pre><code data-trim data-noescape>
git clone https://github.com/USERNAME/evolution
cd evolution
git remote add upstream https://github.com/d9w/evolution
git remote -v
git branch mybranch
git branch -av
</pre></code>
</section>
<section>
<h2>Git</h2>
<br/>
Making local changes
<br/>
<pre><code data-trim data-noescape>
git checkout mybranch
git add plots_notebook.ipynb
git commit -m 'Plots notebook'
git push origin mybranch
</pre></code>
<br/>
<br/>
Pulling new class material
<br/>
<pre><code data-trim data-noescape>
git stash
git checkout master
git pull upstream master
</pre></code>
</section>
<section>
<h2>Julia</h2>
<br/>
<ul>
<li>Scientific computing language; fast but easy to read and understand</li>
<li>Extensive <a href="https://docs.julialang.org/en/v1/">documentation</a>, <a href="https://juliaacademy.com/">classes</a>, and <a href="https://discourse.julialang.org/">active community</a></li>
<li>Interactive development workflow with <a href="https://junolab.org/">Juno IDE</a>, Jupyter, REPL</li>
</ul>
<br />
<img src="../imgs/benchmarks.svg" width="50%" height="auto">
</section>
<section>
<h2>Python</h2>
<br/>
<ul>
<li>One of the most used programming languages</li>
<li>Scientific libraries <a href="https://numpy.org/">numpy</a>, <a href="https://scipy.org/">scipy</a>, <a href="https://matplotlib.org/">matplotlib</a> and others</a></li>
<li>Supported in cloud-based Jupyter (Google Colab, Binder)</li>
</ul>
<a href="https://www.statista.com/statistics/793628/worldwide-developer-survey-most-used-languages/" rel="nofollow"><img src="https://www.statista.com/graphic/1/793628/worldwide-developer-survey-most-used-languages.jpg" alt="Statistic: Most used programming languages among developers worldwide as of 2022 | Statista" style="width: 50%; height: auto !important; max-width:1000px;-ms-interpolation-mode: bicubic;"/></a><br />Find more statistics at <a href="https://www.statista.com" rel="nofollow">Statista</a>
</section>
<section>
<h2>Jupyter</h2>
<br/>
<ul>
<li>Ju (julia) pyt (python) er (R)</li>
<li>Notebooks: code and text in the browser</li>
<li>Local server with the kernel type</li>
<li><a href="https://jupyter.org/">https://jupyter.org/</a></li>
<li>Cloud instance providers: <a href="https://colab.research.google.com/">Google Colab</a>, <a href="https://mybinder.org/">Binder</a></a></li>
</ul>
<br/>
<br/>
<img src="../imgs/jupyter.png" width="50%" height="auto">
</section>
</div>
<div id="footer-container" style="display:none;">
<div id="footer">
Evolutionary Computation by Dennis G. Wilson, Yuri Lavinas, Paul Templier
<br />
<a href="https://github.com/d9w/evolution/">https://github.com/d9w/evolution/</a>
<br />
<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png" /></a>
</div>
</div>
</div>
<script src="../reveal/js/reveal.js"></script>
<script src="../reveal/js/jquery-3.5.0.min.js"></script>
<script>
Reveal.initialize({
width: "90%",
height: "90%",
slideNumber: 'c',
transition: 'none',
progress: true,
hash: true,
center: false,
dependencies: [
{ src: '../reveal/plugin/markdown/marked.js' },
{ src: '../reveal/plugin/markdown/markdown.js' },
{ src: '../reveal/plugin/highlight/highlight.js' },
{ src: '../reveal/plugin/notes/notes.js', async: true }
]
});
var footer = $('#footer-container').html();
$('div.reveal').append(footer);
</script>
</body>
</html>