Repository navigation
Expand file tree
/
Copy pathcontributing.html
More file actions
230 lines (204 loc) · 12 KB
/
Copy pathcontributing.html
File metadata and controls
230 lines (204 loc) · 12 KB
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
220
221
222
223
224
225
226
227
228
229
230
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Contributing — OpenML 0.8.0dev documentation</title>
<link rel="stylesheet" href="_static/bootstrap-sphinx.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" type="text/css" href="_static/gallery.css" />
<script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script async="async" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script type="text/javascript" src="_static/js/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="_static/js/jquery-fix.js"></script>
<script type="text/javascript" src="_static/bootstrap-3.3.7/js/bootstrap.min.js"></script>
<script type="text/javascript" src="_static/bootstrap-sphinx.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1'>
<meta name="apple-mobile-web-app-capable" content="yes">
</head><body>
<a href="https://github.com/openml/openml-python"
class="visible-desktop hidden-xs"><img
id="gh-banner"
style="position: absolute; top: 50px; right: 0; border: 0;"
src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"
alt="Fork me on GitHub"></a>
<script>
// Adjust banner height.
$(function () {
var navHeight = $(".navbar .container").css("height");
$("#gh-banner").css("top", navHeight);
});
</script>
<div id="navbar" class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<!-- .btn-navbar is used as the toggle for collapsed navbar content -->
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">
OpenML</a>
<span class="navbar-text navbar-version pull-left"><b>0.8.0dev</b></span>
</div>
<div class="collapse navbar-collapse nav-collapse">
<ul class="nav navbar-nav">
<li><a href="index.html">Start</a></li>
<li><a href="usage.html">User Guide</a></li>
<li><a href="api.html">API</a></li>
<li><a href="progress.html">Changelog</a></li>
<li><a href="#">Contributing</a></li>
<li><a href="progress.html">Progress</a></li>
<li class="dropdown globaltoc-container">
<a role="button"
id="dLabelGlobalToc"
data-toggle="dropdown"
data-target="#"
href="index.html">Site <b class="caret"></b></a>
<ul class="dropdown-menu globaltoc"
role="menu"
aria-labelledby="dLabelGlobalToc"></ul>
</li>
</ul>
<form class="navbar-form navbar-right" action="search.html" method="get">
<div class="form-group">
<input type="text" name="q" class="form-control" placeholder="Search" />
</div>
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-3">
<div id="sidebar" class="bs-sidenav" role="complementary"><ul>
<li><a class="reference internal" href="#">Contributing</a><ul>
<li><a class="reference internal" href="#scope-of-the-package">Scope of the package</a></li>
<li><a class="reference internal" href="#open-issues-and-potential-todos">Open issues and potential todos</a></li>
<li><a class="reference internal" href="#how-to-contribute">How to contribute</a><ul>
<li><a class="reference internal" href="#contributing-code">Contributing code</a></li>
</ul>
</li>
<li><a class="reference internal" href="#installation">Installation</a><ul>
<li><a class="reference internal" href="#installation-from-github">Installation from github</a></li>
<li><a class="reference internal" href="#testing">Testing</a></li>
</ul>
</li>
<li><a class="reference internal" href="#connecting-new-machine-learning-libraries">Connecting new machine learning libraries</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="col-md-9 content">
<div class="section" id="contributing">
<span id="id1"></span><h1>Contributing<a class="headerlink" href="#contributing" title="Permalink to this headline">¶</a></h1>
<p>Contribution to the OpenML package is highly appreciated. Currently,
there is a lot of work left on implementing API calls,
testing them and providing examples to allow new users to easily use the
OpenML package. See the <a class="reference internal" href="#issues"><span class="std std-ref">Open issues and potential todos</span></a> section for open tasks.</p>
<p>Please mark yourself as contributor in a github issue if you start working on
something to avoid duplicate work. If you’re part of the OpenML organization
you can use github’s assign feature, otherwise you can just leave a comment.</p>
<div class="section" id="scope-of-the-package">
<span id="scope"></span><h2>Scope of the package<a class="headerlink" href="#scope-of-the-package" title="Permalink to this headline">¶</a></h2>
<p>The scope of the OpenML python package is to provide a python interface to
the OpenML platform which integrates well with pythons scientific stack, most
notably <a class="reference external" href="http://www.numpy.org/">numpy</a> and <a class="reference external" href="https://www.scipy.org/">scipy</a>.
To reduce opportunity costs and demonstrate the usage of the package, it also
implements an interface to the most popular machine learning package written
in python, <a class="reference external" href="http://scikit-learn.org/stable/index.html">scikit-learn</a>.
Thereby it will automatically be compatible with many machine learning
libraries written in Python.</p>
<p>We aim to keep the package as leight-weight as possible and we will try to
keep the number of potential installation dependencies as low as possible.
Therefore, the connection to other machine learning libraries such as
<em>pytorch</em>, <em>keras</em> or <em>tensorflow</em> should not be done directly inside this
package, but in a separate package using the OpenML python connector.</p>
</div>
<div class="section" id="open-issues-and-potential-todos">
<span id="issues"></span><h2>Open issues and potential todos<a class="headerlink" href="#open-issues-and-potential-todos" title="Permalink to this headline">¶</a></h2>
<p>We collect open issues and feature requests in an <a class="reference external" href="https://github.com/openml/openml-python/issues">issue tracker on github</a>.
The issue tracker contains issues marked as <em>Good first issue</em>, which shows
issues which are good for beginers. We also maintain a somewhat up-to-date
<a class="reference external" href="https://github.com/openml/openml-python/issues/410">roadmap</a> which
contains longer-term goals.</p>
</div>
<div class="section" id="how-to-contribute">
<span id="id2"></span><h2>How to contribute<a class="headerlink" href="#how-to-contribute" title="Permalink to this headline">¶</a></h2>
<p>There are many ways to contribute to the development of the OpenML python
connector and OpenML in general. We welcome all kinds of contributions,
especially:</p>
<ul class="simple">
<li>Source code which fixes an issue, improves usability or implements a new
feature.</li>
<li>Improvements to the documentation, which can be found in the <code class="docutils literal notranslate"><span class="pre">doc</span></code>
directory.</li>
<li>New examples - current examples can be found in the <code class="docutils literal notranslate"><span class="pre">examples</span></code> directory.</li>
<li>Bug reports - if something doesn’t work for you or is cumbersome, please
open a new issue to let us know about the problem.</li>
<li>Use the package and spread the word.</li>
<li><a class="reference external" href="https://www.openml.org/cite">Cite OpenML</a> if you use it in a scientific
publication.</li>
<li>Visit one of our <a class="reference external" href="https://meet.openml.org/">hackathons</a>.</li>
<li>Check out how to <a class="reference external" href="https://github.com/openml/OpenML/blob/master/CONTRIBUTING.md">contribute to the main OpenML project</a>.</li>
</ul>
<div class="section" id="contributing-code">
<h3>Contributing code<a class="headerlink" href="#contributing-code" title="Permalink to this headline">¶</a></h3>
<p>Our guidelines on code contribution can be found in <a class="reference external" href="https://github.com/openml/openml-python/blob/master/CONTRIBUTING.md">this file</a>.</p>
</div>
</div>
<div class="section" id="installation">
<span id="id3"></span><h2>Installation<a class="headerlink" href="#installation" title="Permalink to this headline">¶</a></h2>
<div class="section" id="installation-from-github">
<h3>Installation from github<a class="headerlink" href="#installation-from-github" title="Permalink to this headline">¶</a></h3>
<p>The package source code is available from
<a class="reference external" href="https://github.com/openml/openml-python">github</a> and can be obtained with:</p>
<div class="code bash highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">git</span> <span class="n">clone</span> <span class="n">https</span><span class="p">:</span><span class="o">//</span><span class="n">github</span><span class="o">.</span><span class="n">com</span><span class="o">/</span><span class="n">openml</span><span class="o">/</span><span class="n">openml</span><span class="o">-</span><span class="n">python</span><span class="o">.</span><span class="n">git</span>
</pre></div>
</div>
<p>Once you cloned the package, change into the new directory <code class="docutils literal notranslate"><span class="pre">python</span></code> and
execute</p>
<div class="code bash highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">python</span> <span class="n">setup</span><span class="o">.</span><span class="n">py</span> <span class="n">install</span>
</pre></div>
</div>
</div>
<div class="section" id="testing">
<h3>Testing<a class="headerlink" href="#testing" title="Permalink to this headline">¶</a></h3>
<p>From within the directory of the cloned package, execute:</p>
<div class="code bash highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">pytest</span> <span class="n">tests</span><span class="o">/</span>
</pre></div>
</div>
</div>
</div>
<div class="section" id="connecting-new-machine-learning-libraries">
<span id="extending"></span><h2>Connecting new machine learning libraries<a class="headerlink" href="#connecting-new-machine-learning-libraries" title="Permalink to this headline">¶</a></h2>
<p>Coming soon - please stay tuned!</p>
</div>
</div>
</div>
</div>
</div>
<footer class="footer">
<div class="container">
<p class="pull-right">
<a href="#">Back to top</a>
</p>
<p>
© Copyright 2014-2018, Matthias Feurer, Andreas Müller, Farzan Majdani, Joaquin Vanschoren, Jan van Rijn, Arlind Kadra and Pieter Gijsbers.<br/>
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.8.1.<br/>
</p>
</div>
</footer>
</body>
</html>