125 lines
8.9 KiB
HTML
125 lines
8.9 KiB
HTML
|
|
||
|
|
||
|
<!doctype html>
|
||
|
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<title>Machine learning — algofun documentation</title>
|
||
|
<link rel="stylesheet" href="_static/bizstyle.css" type="text/css" />
|
||
|
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
||
|
<script type="text/javascript">
|
||
|
var DOCUMENTATION_OPTIONS = {
|
||
|
URL_ROOT: './',
|
||
|
VERSION: ' ',
|
||
|
COLLAPSE_INDEX: false,
|
||
|
FILE_SUFFIX: '.html',
|
||
|
HAS_SOURCE: true,
|
||
|
SOURCELINK_SUFFIX: '.txt'
|
||
|
};
|
||
|
</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 type="text/javascript" src="_static/bizstyle.js"></script>
|
||
|
<link rel="index" title="Index" href="genindex.html" />
|
||
|
<link rel="search" title="Search" href="search.html" />
|
||
|
<link rel="next" title="pandas" href="pandas.html" />
|
||
|
<link rel="prev" title="Liens utiles" href="liens.html" />
|
||
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||
|
<!--[if lt IE 9]>
|
||
|
<script type="text/javascript" src="_static/css3-mediaqueries.js"></script>
|
||
|
<![endif]-->
|
||
|
</head>
|
||
|
<body>
|
||
|
<div class="related" role="navigation" aria-label="related navigation">
|
||
|
<h3>Navigation</h3>
|
||
|
<ul>
|
||
|
<li class="right" style="margin-right: 10px">
|
||
|
<a href="genindex.html" title="General Index"
|
||
|
accesskey="I">index</a></li>
|
||
|
<li class="right" >
|
||
|
<a href="pandas.html" title="pandas"
|
||
|
accesskey="N">next</a> |</li>
|
||
|
<li class="right" >
|
||
|
<a href="liens.html" title="Liens utiles"
|
||
|
accesskey="P">previous</a> |</li>
|
||
|
<li class="nav-item nav-item-0"><a href="index.html">algofun documentation</a> »</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
|
||
|
<div class="document">
|
||
|
<div class="documentwrapper">
|
||
|
<div class="body" role="main">
|
||
|
|
||
|
<div class="section" id="machine-learning">
|
||
|
<h1>Machine learning<a class="headerlink" href="#machine-learning" title="Permalink to this headline">¶</a></h1>
|
||
|
<p>Data science (not big data yet)</p>
|
||
|
<div class="section" id="some-links">
|
||
|
<h2>some links<a class="headerlink" href="#some-links" title="Permalink to this headline">¶</a></h2>
|
||
|
<p>numpy, scipy, matplotlib… and scikit</p>
|
||
|
<p><a class="reference external" href="https://www.scipy.org/install.html">https://www.scipy.org/install.html</a>
|
||
|
<a class="reference external" href="https://matplotlib.org/">https://matplotlib.org/</a>
|
||
|
<a class="reference external" href="http://scikit-learn.org/stable/">http://scikit-learn.org/stable/</a></p>
|
||
|
</div>
|
||
|
<div class="section" id="installation">
|
||
|
<h2>installation<a class="headerlink" href="#installation" title="Permalink to this headline">¶</a></h2>
|
||
|
<div class="highlight-python"><div class="highlight"><pre><span></span><span class="n">Python</span> <span class="mf">3.6</span><span class="o">.</span><span class="mi">5</span> <span class="p">(</span><span class="n">default</span><span class="p">,</span> <span class="n">Apr</span> <span class="mi">1</span> <span class="mi">2018</span><span class="p">,</span> <span class="mo">05</span><span class="p">:</span><span class="mi">46</span><span class="p">:</span><span class="mi">30</span><span class="p">)</span>
|
||
|
<span class="p">[</span><span class="n">GCC</span> <span class="mf">7.3</span><span class="o">.</span><span class="mi">0</span><span class="p">]</span> <span class="n">on</span> <span class="n">linux</span>
|
||
|
<span class="n">Type</span> <span class="s2">"help"</span><span class="p">,</span> <span class="s2">"copyright"</span><span class="p">,</span> <span class="s2">"credits"</span> <span class="ow">or</span> <span class="s2">"license"</span> <span class="k">for</span> <span class="n">more</span> <span class="n">information</span><span class="o">.</span>
|
||
|
<span class="o">>>></span> <span class="kn">import</span> <span class="nn">sys</span>
|
||
|
<span class="o">>>></span> <span class="k">print</span><span class="p">(</span><span class="s1">'Python: {}'</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">sys</span><span class="o">.</span><span class="n">version</span><span class="p">))</span>
|
||
|
<span class="n">Python</span><span class="p">:</span> <span class="mf">3.6</span><span class="o">.</span><span class="mi">5</span> <span class="p">(</span><span class="n">default</span><span class="p">,</span> <span class="n">Apr</span> <span class="mi">1</span> <span class="mi">2018</span><span class="p">,</span> <span class="mo">05</span><span class="p">:</span><span class="mi">46</span><span class="p">:</span><span class="mi">30</span><span class="p">)</span>
|
||
|
<span class="p">[</span><span class="n">GCC</span> <span class="mf">7.3</span><span class="o">.</span><span class="mi">0</span><span class="p">]</span>
|
||
|
<span class="o">>>></span> <span class="kn">import</span> <span class="nn">scipy</span>
|
||
|
<span class="o">>>></span> <span class="k">print</span><span class="p">(</span><span class="s1">'scipy: {}'</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">scipy</span><span class="o">.</span><span class="n">__version__</span><span class="p">))</span>
|
||
|
<span class="n">scipy</span><span class="p">:</span> <span class="mf">0.19</span><span class="o">.</span><span class="mi">1</span>
|
||
|
<span class="o">>>></span> <span class="kn">import</span> <span class="nn">numpy</span>
|
||
|
<span class="o">>>></span> <span class="k">print</span><span class="p">(</span><span class="s1">'numpy: {}'</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">numpy</span><span class="o">.</span><span class="n">__version__</span><span class="p">))</span>
|
||
|
<span class="n">numpy</span><span class="p">:</span> <span class="mf">1.13</span><span class="o">.</span><span class="mi">3</span>
|
||
|
<span class="o">>>></span> <span class="kn">import</span> <span class="nn">matplotlib</span>
|
||
|
<span class="o">>>></span> <span class="k">print</span><span class="p">(</span><span class="s1">'matplotlib: {}'</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">matplotlib</span><span class="o">.</span><span class="n">__version__</span><span class="p">))</span>
|
||
|
<span class="n">matplotlib</span><span class="p">:</span> <span class="mf">2.1</span><span class="o">.</span><span class="mi">1</span>
|
||
|
<span class="o">>>></span> <span class="c1"># pandas</span>
|
||
|
<span class="o">...</span>
|
||
|
<span class="o">>>></span> <span class="kn">import</span> <span class="nn">pandas</span>
|
||
|
<span class="o">>>></span> <span class="k">print</span><span class="p">(</span><span class="s1">'pandas: {}'</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">pandas</span><span class="o">.</span><span class="n">__version__</span><span class="p">))</span>
|
||
|
<span class="n">pandas</span><span class="p">:</span> <span class="mf">0.22</span><span class="o">.</span><span class="mi">0</span>
|
||
|
<span class="o">>>></span> <span class="c1"># scikit-learn</span>
|
||
|
<span class="o">...</span> <span class="kn">import</span> <span class="nn">sklearn</span>
|
||
|
|
||
|
<span class="o">>>></span> <span class="k">print</span><span class="p">(</span><span class="s1">'sklearn: {}'</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">sklearn</span><span class="o">.</span><span class="n">__version__</span><span class="p">))</span>
|
||
|
<span class="n">sklearn</span>
|
||
|
</pre></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="section" id="usage">
|
||
|
<h2>usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
|
||
|
<p><a class="reference external" href="https://machinelearningmastery.com/machine-learning-in-python-step-by-step/">https://machinelearningmastery.com/machine-learning-in-python-step-by-step/</a></p>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="clearer"></div>
|
||
|
</div>
|
||
|
<div class="related" role="navigation" aria-label="related navigation">
|
||
|
<h3>Navigation</h3>
|
||
|
<ul>
|
||
|
<li class="right" style="margin-right: 10px">
|
||
|
<a href="genindex.html" title="General Index"
|
||
|
>index</a></li>
|
||
|
<li class="right" >
|
||
|
<a href="pandas.html" title="pandas"
|
||
|
>next</a> |</li>
|
||
|
<li class="right" >
|
||
|
<a href="liens.html" title="Liens utiles"
|
||
|
>previous</a> |</li>
|
||
|
<li class="nav-item nav-item-0"><a href="index.html">algofun documentation</a> »</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="footer" role="contentinfo">
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|