<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Machine Learning World - Medium]]></title>
        <description><![CDATA[The best about Machine Learning, Computer Vision, Deep Learning, Natural language processing and other. - Medium]]></description>
        <link>https://medium.com/machine-learning-world?source=rss----47acf312108b---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Machine Learning World - Medium</title>
            <link>https://medium.com/machine-learning-world?source=rss----47acf312108b---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 18:08:34 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/machine-learning-world" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com" rel="hub"/>
        <item>
            <title><![CDATA[Tips for quick optimization of Linux servers for high loads]]></title>
            <link>https://medium.com/machine-learning-world/tips-for-quick-optimization-of-linux-servers-for-high-loads-628dd3620bfc?source=rss----47acf312108b---4</link>
            <guid isPermaLink="false">https://medium.com/p/628dd3620bfc</guid>
            <category><![CDATA[optimization]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[highload]]></category>
            <category><![CDATA[servers]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Andrey Nikishaev]]></dc:creator>
            <pubDate>Sun, 04 Jun 2023 11:11:02 GMT</pubDate>
            <atom:updated>2023-06-04T11:11:49.077Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*R50u2UH9z0FpKqyO.jpeg" /></figure><h3>1. Netfilter connection tracking</h3><p>Simply put, this is a huge hash table that stores information about the state of all connections in the context of the device (server). This is necessary for all sorts of filters, firewalls, etc.</p><p>In certain cases, when the server is protected by another device in front of it, and requires additional resources this tracking can be disabled.</p><blockquote><em>sudo modprobe -r nf_conntrack</em></blockquote><blockquote><em>echo “blacklist nf_conntrack” | sudo tee /etc/modprobe.d/nf_conntrack.conf</em></blockquote><h3>Why increase net.netfilter.nf_conntrack_max?</h3><p>If, nevertheless, disabling tracking is not an option, but at the same time the server processes a large number of simultaneous connections, then a small value of this setting may make it impossible to create new connections, which, as you understand, is not ok.</p><p>Do not forget that in addition to increasing this parameter, we also need to increase the hash table itself where connection data is stored:</p><blockquote><em>echo num &gt; /sys/module/nf_conntrack/parameters/hashsize</em></blockquote><h3>2. File descriptors</h3><p>Linux allocates a certain number of file handlers and the system will not let you open more files than the number of these handlers.</p><p>This setting <strong>fs.file-max</strong> sets the maximum number of them. But don’t forget about per-process settings with <strong>ulimit</strong> .</p><p>Here it is important not to forget that everything in Linux is a file and sockets as well, and therefore this setting also affects them.</p><h3>3. Reusing a connection in the TIME_WAIT state</h3><p>When a connection is closing, there is a certain amount of time before it closes to wait for lagging packages. At this time, the connection is in the TIME_WAIT state. And if the <strong>net.ipv4.tcp_tw_reuse</strong> option is not enabled, then with a large number of connections, due to these timeouts, there is a big chance to exhaust all available connections.</p><p>But this should not be used for NATs, proxies, or load balancers, as routing can be broken.</p><h3>4. Limit sockets in the TIME_WAIT state</h3><p><strong>The net.ipv4.tcp_max_tw_buckets</strong> parameter specifies how many sockets can be in this state. If the limit is exceeded, the system starts actively closing sockets in this state and blocking the possibility of opening new ones.</p><p>You understand that with a large number of connections, this parameter should not be small.</p><h3>5. Ports for outgoing connections.</h3><p>As you may know, Linux limits the number of ports to 65,535. The <strong>net.ipv4.ip_local_port_range</strong> setting sets the range of ports that can be used for outgoing connections. Often 32768–60999 which gives us 28232 ports. If we need more, then this scale can be expanded.</p><p>But remember that 0–1024 is reserved for system services.</p><h3>6. Setting up the system swap</h3><p>Swap is used to flush part of the cache from memory to disk, which is useful when there is little memory, but extremely not useful when there is a lot of it, since the disk is much slower.</p><p>Setting <strong>vm.swappiness = 0</strong> will force the cache to be swapped only when there is not enough memory.</p><h3>7. Memory for system kernel</h3><p>The system reserves a certain amount of memory that is used only by the kernel. A low indicator may cause the kernel to compete with user processes, as a result, the system will become very slow.</p><p>Configured with the <strong>vm.min_free_kbytes parameter</strong></p><p>Remember that the kernel is actively involved in processing connections and passing traffic. With high network loads, it is better to increase it.</p><p>A good rule of thumb is to set it to the value resulting from the equation <strong>vm.min_free_kbytes = TotalMem * reserved_ratio.</strong> The <strong>reserved_ratio</strong> is typically around 0.01–0.03.</p><h3>8. Package backlog</h3><p>When a packages enters the system, it is queued for further processing. But if the packages arrive faster than they are being processed then the queue grows to the set limit, after which new packages are dropped.</p><p><strong>The net.core.netdev_max_backlog</strong> parameter sets the limit for this queue. Increasing the parameter is necessary so that in the case of, for example, spike loads, the server can, albeit with a delay, process all packages without drops.</p><h3>9. Backlog of SYN packages</h3><p>Similar to the previous one, but it controls connection requests(SYN Packages).</p><p>And set by the <strong>net.core.somaxconn parameter</strong></p><h3>10. TCP stack memory limit</h3><h4>Global TCP stack memory limit</h4><p>It is set by the<strong> net.ipv4.tcp_mem</strong> parameter and has 3 values: low, pressure and high. This parameter is set in cache pages. To see how much memory this is, use <strong>getconf PAGE_SIZE</strong> (often around 4kb).</p><p>To a low value, memory is allocated to everything on demand. With a value under load, the system tries to regulate memory and try to reduce consumption. More than a high value, the system can not allocate memory, and here comes our friend OOM Killer.</p><h4>Buffer limit per socket</h4><p>Set by the<strong> net.ipv4.tcp_wmem</strong> and <strong>net.ipv4.tcp_rmem</strong> options to write and read, respectively. It also has three values: minimum, standard and maximum.</p><p>Standard — the one with which the socket is created.</p><p>Let’s don’t forget that there is also a global maximum limit for the same thing. Parameters <strong>net.core.rmem_max</strong> and <strong>net.core.wmem_max</strong></p><h3>11. Monitoring connection metrics</h3><p>By default, the system keeps connection metrics for the same host connection.</p><p>Provided that you have a lot of short connections, it makes sense to disable this behavior using the <strong>net.ipv4.tcp_no_metrics_save parameter</strong></p><h3>12. TCP congestion control algorithm.</h3><p>This <strong>net.ipv4.tcp_congestion_control</strong> setting sets the algorithm that will be used to prevent the sender from sending more data than the network can handle.</p><p>Different algorithms may be better suited for specific workloads.</p><p>I did not test this topic myself, but the guys recommended it.</p><h3>13. Configuring Selective Package Acknowledgment (SACK)</h3><p>By default, the delivery confirmation comes from the last package. But if the network is not stable, this option can lead to extreme instability.</p><p>Often this happens with Wi-Fi and similar connections that can be subject to strong physical interference.</p><p>Controlled by the parameters <strong>net.ipv4.tcp_sack, net.ipv4.tcp_dsack, net.ipv4.tcp_fack</strong></p><p>I myself have never used this topic, since there was no particular need.</p><h3>Hope it was helpful. And remember — all the power is in man)</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=628dd3620bfc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/machine-learning-world/tips-for-quick-optimization-of-linux-servers-for-high-loads-628dd3620bfc">Tips for quick optimization of Linux servers for high loads</a> was originally published in <a href="https://medium.com/machine-learning-world">Machine Learning World</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Motivation systems]]></title>
            <link>https://medium.com/machine-learning-world/motivation-systems-2336830979b?source=rss----47acf312108b---4</link>
            <guid isPermaLink="false">https://medium.com/p/2336830979b</guid>
            <category><![CDATA[hr]]></category>
            <category><![CDATA[motivation]]></category>
            <category><![CDATA[gamification]]></category>
            <category><![CDATA[management]]></category>
            <category><![CDATA[motivation-systems]]></category>
            <dc:creator><![CDATA[Andrey Nikishaev]]></dc:creator>
            <pubDate>Sun, 01 Aug 2021 21:16:27 GMT</pubDate>
            <atom:updated>2021-08-01T21:15:04.489Z</atom:updated>
            <content:encoded><![CDATA[<p>Today we will talk about motivation systems, where I want to show few ways of developing such in your company and their pros/cons.</p><p>Building motivation is not a simple task and many times in different companies I saw how motivation systems not only didn’t work but often making harm to an organization. So you should take it very seriously.</p><blockquote>Motivation system — is not about bonuses, it’s about making win/win situations</blockquote><p>And you should always have this in mind while building or supporting motivation programs in your company.</p><h3>Step 1. Understand main principles</h3><p>Every good motivation system should be:</p><ul><li><strong>Understandable.</strong> Simple and clear for understanding for all levels in another way it will exist only on paper.</li><li><strong>Controllable.</strong> Have KPIs to measure the quality of the system.</li><li><strong>Not limited.</strong> Control amount of money with a process not hard limit.</li><li><strong>Automated.</strong> Maximum automation of the processes and minimal influence of people on the system. Basically Zero-Trust system.</li><li><strong>Public. </strong>All people in the company should have access to achievement history to know their heroes and have the same information in their heads. When some information is blocked from people — they trying to imagine it. And if it’s about money — you will have problems.</li></ul><h3>Step 2. Understand your needs and possibilities</h3><p>Each system needs time for development and integration, budget, dedicated team, resources, etc. So before start choosing the system you must build your requirements list. This will help you to find a system that has the best fit for your company, people and will help you not to lose your main target.</p><h3>Step 3. Choose types of motivation that you want to use</h3><p>There are 5 of them:</p><ul><li>Removing demotivate factors from the company</li><li>Small gifts</li><li>Public promotion</li><li>Special privileges</li><li>Material motivation</li></ul><h4>Removing demotivate factors from the company</h4><ul><li>Pointless meetings</li><li>Bureaucracy</li><li>Ignoring live-balance and often overtimes</li><li>Shifts and work at night/weekends</li><li>Lack of voting rights</li><li>etc…</li></ul><p>So this is the<strong> Environment building stage — </strong>a starting point for any motivation system and in most cases the cheapest one. But still, in the right hands, it gives great possibilities for employee retention and hiring by building a non-stressful and positive environment which in our days rare thing.</p><h4>Small gifts</h4><ul><li>Quality clothes with proper branding. For example, you can give someone a cool leather jacket with cool graffiti under the company’s brand.</li><li>Some cool collectibles that everyone would like to collect.</li><li>Toys for children</li><li>etc..</li></ul><p><strong>Friendship stage</strong> — the main point of this is to create deeper relationships with your employees, by making some small interesting gifts for different things. That’s not about work proficiency but more about making people happy.</p><h4>Public promotion</h4><ul><li>Celebrations in honor of best employees</li><li>Public disclosure of the merits of a person in a media of a company (FB, LinkedIn, Conferences, etc)</li><li>Public speaking of employees at conferences on behalf of the company</li><li>etc..</li></ul><p><strong>The publicity stage</strong> often scares many “managers”, because they think that in such a way other companies will lure good employees. But nowadays most of the good employees are public figures, and you can take this situation and make it help you or not.</p><p>The main idea here is to promote your company through the people in it. This gives much better results than through company profiles because people want to engage with people and not a company. That’s why hiring few bloggers today in most cases much better idea than place and advertisement.</p><p>And on another side to promote the company you promote people which gives them awesome motivation to work with you. As I said above — a win/win strategy.</p><h4>Special privileges</h4><ul><li>Increased trust (for example, a person does not need sick leave when sick, or something like that)</li><li>Taxi to home</li><li>Loans with zero interest rate</li><li>Vacation without limit</li><li>etc..</li></ul><p><strong>Hook stage — </strong>where you add some additional privileges for people to more deeply link them to the company by creative positive hooks that may not exist on the market. The more you understand the pains of your employees here the better this will work.</p><p>For example, limit the working week to 4 days instead of 5 days can give 1 more day to be with children, and it will cost the company an additional $1k/month. Also on the market, there is a company that will add the same $1k to the salary of the employee for a 5 day week. How do you think these propositions are the same for a person?</p><h4>Material motivation</h4><ul><li>Salary increase</li><li>New car, house, etc</li><li>Promotion</li><li>Chair at the company board</li><li>etc..</li></ul><p><strong>Business development stage — </strong>the simplest one and the hardest one. All people work for money, more money — people happier, yes? — Pity, but no. First of all, not all people are willing to forget about comfort in exchange for money. Money does not make people happy when they can’t spend them (That’s why Henry Ford added one more day off for his workers)</p><p>Another thing is when you pay the money you should clearly understand what profit this will give to you and create a very clear requirement for achieving this bonus, yeah we still need to win/win. That could be a really hard task for managers and company owners. And almost every company will fail here at least once.</p><h3>Step 4. Build motivation system</h3><p>Gathering all facts from above you start building your system from version to version, making demos for management and employees, trying to figure out the best fit for you.</p><p>Also, it is good to test the built system on some small departments before proceeding with the whole company.</p><h3>Examples of motivation systems</h3><h4>Path-based gamified motivation system</h4><p>This is a very deep and hard motivation system that is based on the idea that I took from the game Path of Exile, which I think created one of the greatest build systems ever.</p><p>The main idea here is to create development paths for employees that give you very deep and accurate stats to place the right people in the right place, which is a crucial thing for a fast-growing company.</p><p>Additionally, it creates everyday engagement with a system the same as in-game but helping to achieve real things. Basically, it’s your possible way of moving into the company.</p><p>To proceed in any direction you need to use points of different types. The whole graph consists of steps and breaking points. Each breaking point is some achievement that may give you the ability to choose the farther direction.</p><p>At the start, you have N sub-graphs that may be linked with each other. So, for example, you can proceed on 2 breaking points in the way of management, and 5 in development, which gives you the ability to choose the direction of a team lead.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/495/0*hJvXyPHFPpp3qAXr" /></figure><p>This creates a radar chart for every employee, something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/884/1*IGSUMhP-tsptR7DWCBphZA.png" /></figure><p>Every task or action is estimated in these points, and on completion added to the employee profile. With each step, people are getting some bonuses.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/551/0*IRfiGN53ez1CeJ3M" /></figure><p>To set points right you need to build some guide on how to do this right, in other cases, it will be a pain.</p><p><strong>Proc:</strong></p><ul><li>Simple and clear system from the employee side</li><li>Employees get a whole map for all positions in the company and can clearly understand what they need to do to get somewhere.</li><li>Most effective placement of people</li></ul><p><strong>Cons:</strong></p><ul><li>Hard for implementation and support</li><li>Big team and amount of resources needed</li><li>Hard from the management side</li></ul><h4>Bounty system</h4><p>One of the simplest but proven systems on the market.</p><p>The idea is very simple — employees make some hard or additional tasks and get some bonus. Every management level of the company creates their tasks based on a budget that they have, but every employee could try to solve the task at any level. Also, employees can form teams to solves big/hard tasks and share bonuses among themselves.</p><p>The additional bonus of such a system is that it separates people from those who want to work harder and those who don’t. So this gives a better understanding of how to form teams for critical/urgent projects.</p><p><strong>Pros:</strong></p><ul><li>Simple and clear system from the employee side</li><li>Don’t need any resources on integration, could be used on the next day</li><li>Simple to calculate bonuses for tasks</li></ul><p><strong>Cons:</strong></p><ul><li>Could create social problems between workers in some cases if out of control of HR. Need to create some additional rules</li><li>Should create additional positions to audit tasks</li></ul><h3>Conclusion</h3><p>A motivation system and good culture can build a strong core for your company on the way to success. But this does not come simple and fast and need and requires a thoughtful approach.</p><p>And always remember that you are building win/win situations because if you don’t then your company will lose money or employees.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2336830979b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/machine-learning-world/motivation-systems-2336830979b">Motivation systems</a> was originally published in <a href="https://medium.com/machine-learning-world">Machine Learning World</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Implementing Convolution2D, Linear regressions and K-means clustering from scratch]]></title>
            <link>https://medium.com/machine-learning-world/implementing-convolution2d-linear-regressions-and-k-means-clustering-from-scratch-a039fd787c75?source=rss----47acf312108b---4</link>
            <guid isPermaLink="false">https://medium.com/p/a039fd787c75</guid>
            <category><![CDATA[implementation]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[k-means]]></category>
            <category><![CDATA[regression]]></category>
            <category><![CDATA[convolution]]></category>
            <dc:creator><![CDATA[Andrey Nikishaev]]></dc:creator>
            <pubDate>Sat, 24 Apr 2021 16:10:19 GMT</pubDate>
            <atom:updated>2021-04-24T16:10:19.568Z</atom:updated>
            <content:encoded><![CDATA[<h3>2D Convolution</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*avpaTD2hgP68GuQQ.gif" /><figcaption>Simple example of algorithm logic</figcaption></figure><p>For running convolution we need 2 things: input matrix with shape (Batch, Channels, Height, Width) and kernels of our convolution with shape (Out Channels, Input Channels, Height, Width), for each input channel we use different kernel.</p><p>Iteratively we get part of the input matrix with the size of kernel and run by element multiplication with each kernel. Sum of element multiplication is our output value. Formula for this A*B = a1*b1 + a2*b2 + …</p><p>As we also using strides and input matrix padding we need formula for calculating output matrix shape:<br>output_w_h = int(((w_h — kernel_w_h + 2 * padding_w_h) / stride_w_h) + 1)</p><p>For simplicity we will use square kernels in our example</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d3bad654f1b23f4c6ea9b43592e4c136/href">https://medium.com/media/d3bad654f1b23f4c6ea9b43592e4c136/href</a></iframe><p>Of course running such many iteration in real life calculations is not a good idea, so this is just an example to give understanding of logic behind convolution.</p><h3>Linear Regression, Ridge Regression and Lasso Regression</h3><p>Difference between this is only in regularization. Linear regression does not use regularization, Ridge using L1 regularization (lambda*Sum(|Weights|)), Lasso using L2 regularization (lambda*Sum(Weights²))</p><p>Optimization process mostly done or by Least Squares method or by Gradient Descent method. I will show the second one as it can be used in many other cases.</p><p>If you don’t know about Gradient Descent optimization, then i recommend to read my previous paper:</p><p><a href="https://medium.com/@a.nikishaev/making-backpropagation-autograd-mnist-classifier-from-scratch-in-python-bec4f05ce09f">Making Backpropagation, Autograd, MNIST Classifier from scratch in Python</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KS-G-5ExgIOPuDTS.jpg" /></figure><p>So idea of this methods is simple — find the parameters of the line that will pass through the set of points in such way that will minimize out loss function. (For N-dimension points our line will be N-dimension plane)</p><p>Formula for the line F(x)= A*X + b<br>And MSE loss function loss(y_true,y_pred) = Sum((y_true-y_pred)²)/n</p><p>So our optimization function for linear regression:<br>E(x) = loss(y_true,y_pred) = loss(y_true,A*X+b) =<br>Sum((y_true-A*X-b)²)/n</p><p>Now we need to calculate derivative of E(x) by A and b:</p><p>dE/dA = (Sum((y_true-A*X-b)²)/n) /dA<br>By using chain rule we set j = y_true-A*X-b and dE/dA = (dE/dj)*(dj/dA)</p><p>dE/dj = (Sum((j)²)/n)dj = 2/n * sum(y_true-A*X-b)<br>dj/dA = (y_true-A*X-b)/dA = -x</p><p>dE/dA = -2/n * x * sum(y_true-A*X-b)</p><p>In the same way we getting dE/db = -2/n * sum(y_true-A*X-b)</p><p>And now we can use them to calculate update of out weights A and b</p><p>For Ridge and Lasso regression we doing the same, except adding L1 and L2 regularization to our optimization forumla</p><p><a href="https://gist.github.com/creotiv/9d9911d4707c74d338aa4a4786a48017">https://gist.github.com/creotiv/9d9911d4707c74d338aa4a4786a48017</a></p><h3>K-means</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/432/0*qjKeaJtMwGP3DRBa.gif" /></figure><p>This algorithm is also pretty simple.<br>We set number of clusters to N, now set N random centroids(centers of the clusters) and assign nearest points to them forming initial clusters. After this in iteration: <br>1) for each cluster finding new centroid<br>2) for each centroids assign points and form new cluster<br>Iteration stopped when SSE error are not decreasing.</p><p>SSE = Sum(euclid(centroid,cluster_points)²), so for each cluster we get sum from squared distances between centroid and cluster points.<br>For Dimension≤3 we use Euclidian distance</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ebd0bc03cc6a3ee9c97140100ab09c38/href">https://medium.com/media/ebd0bc03cc6a3ee9c97140100ab09c38/href</a></iframe><p><a href="https://colab.research.google.com/drive/19q5c3qtd2PkDIqJxkH_q3agBO_Ye20Nq?usp=sharing">You can run this code in Google Colab</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a039fd787c75" width="1" height="1" alt=""><hr><p><a href="https://medium.com/machine-learning-world/implementing-convolution2d-linear-regressions-and-k-means-clustering-from-scratch-a039fd787c75">Implementing Convolution2D, Linear regressions and K-means clustering from scratch</a> was originally published in <a href="https://medium.com/machine-learning-world">Machine Learning World</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Become an Object Detection Expert]]></title>
            <link>https://medium.com/machine-learning-world/become-an-object-detection-expert-d839192242e3?source=rss----47acf312108b---4</link>
            <guid isPermaLink="false">https://medium.com/p/d839192242e3</guid>
            <category><![CDATA[coursera]]></category>
            <category><![CDATA[object-detection]]></category>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[udemy]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Andrey Nikishaev]]></dc:creator>
            <pubDate>Sat, 04 Jan 2020 14:51:24 GMT</pubDate>
            <atom:updated>2020-01-04T14:51:24.209Z</atom:updated>
            <content:encoded><![CDATA[<p>Computer Vision is the widest and most highly paid area in Machine Learning. While it solving many hard tasks, Object Detection is one of the most popular as it used in robotics, drones, self-driving cars, satellite analytics, photography, video production, etc. And today we offering you the Number One Practical Online Course on Object Detection which will teach you how to solve real-life problems.</p><p>We are not the same course as on Coursera, Udemy, edX, etc. Our main task not to give you just dry theory not linked to real life, like everyone do, but make a specialist with deep problem and models understanding who can compete on the global market.<br>The whole course is built with the use of Google Colab Notebooks that put theory and practice side-by-side and describes each step in our journey.</p><p>You will not find something similar on the internet, because this course was developed by the field developer for developers.</p><p>Learn more here: <a href="https://learnml.today">https://learnml.today</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d839192242e3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/machine-learning-world/become-an-object-detection-expert-d839192242e3">Become an Object Detection Expert</a> was originally published in <a href="https://medium.com/machine-learning-world">Machine Learning World</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[New Course Coming Soon]]></title>
            <link>https://medium.com/machine-learning-world/new-course-coming-soon-effb043a5a66?source=rss----47acf312108b---4</link>
            <guid isPermaLink="false">https://medium.com/p/effb043a5a66</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[object-detection]]></category>
            <category><![CDATA[online-courses]]></category>
            <dc:creator><![CDATA[Andrey Nikishaev]]></dc:creator>
            <pubDate>Sun, 15 Sep 2019 16:14:03 GMT</pubDate>
            <atom:updated>2019-09-15T16:14:03.744Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi friends,</p><p>We have a good news for you, we started building our own machine learning course. Our pilot will be — Object Detection with PyTorch.</p><p>Right now we are creating lectures, gathering info, creating structure to handle all things with maximum quality.</p><p>To engage in this course students should know python and have basic expertise in machine learning and convolution networks. Also it may be interesting for those who wants to switch to PyTorch.</p><p>If you interested, please subscribe to waiting list to get notified when the course will be ready: <a href="https://upscri.be/vg7ilp">https://upscri.be/vg7ilp</a></p><p>Best wishes,<br>Andrey Nikishaev</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=effb043a5a66" width="1" height="1" alt=""><hr><p><a href="https://medium.com/machine-learning-world/new-course-coming-soon-effb043a5a66">New Course Coming Soon</a> was originally published in <a href="https://medium.com/machine-learning-world">Machine Learning World</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Linear Algebra. Points matching with SVD in 3D space]]></title>
            <link>https://medium.com/machine-learning-world/linear-algebra-points-matching-with-svd-in-3d-space-2553173e8fed?source=rss----47acf312108b---4</link>
            <guid isPermaLink="false">https://medium.com/p/2553173e8fed</guid>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[linear-algebra]]></category>
            <category><![CDATA[svd]]></category>
            <dc:creator><![CDATA[Andrey Nikishaev]]></dc:creator>
            <pubDate>Mon, 08 Jul 2019 10:19:07 GMT</pubDate>
            <atom:updated>2019-11-30T20:53:37.322Z</atom:updated>
            <content:encoded><![CDATA[<h3>Want become an expert in Computer Vision &amp; Object Detection?</h3><h4><a href="https://upscri.be/vg7ilp">Subscribe on New Practical Course</a></h4><h3>Problem</h3><p>We need to find best rotation &amp; translation params between two sets of points in 3D space. This type of transformation called <a href="https://en.wikipedia.org/wiki/Rigid_transformation">Euclidean</a> as it preserves sizes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/513/1*EwG6SCJhAdbtpDOh5OwCIw.png" /></figure><p>Our task to solve equation <strong>R*A + t = B</strong></p><h3>Solution</h3><p>There are many ways of getting things done almost in any case, but currently we will use <a href="https://en.wikipedia.org/wiki/Singular_value_decomposition">SVD</a> for this. You ask why? — Because matrix is basically a transformation and with <a href="https://en.wikipedia.org/wiki/Singular_value_decomposition">SVD can be decomposed on Rotation(U), Scaling(</a>Σ<a href="https://en.wikipedia.org/wiki/Singular_value_decomposition">), Rotation(V)</a> (in special case when A is mxm matrix, but this gives us a clue. deeper explanation you can find in paper <a href="https://igl.ethz.ch/projects/ARAP/svd_rot.pdf">Least-Squares Rigid Motion Using SVD</a>)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/330/1*XVc0UwmwH2lVi3YhECe5vQ.png" /></figure><h4>Rotation</h4><p>To get rotation first we need to find out center of it. So we will find centroids of two datasets.</p><p><strong>centroid_p = mean([{xi,yi,xi} in X])</strong></p><p>First we will re-center our datasets and create covariance matrix H of two them, where Pa, Pb are points in datasets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/315/1*5W8W0AoYAphAQrsVaknFCQ.png" /></figure><p>Now we use <a href="https://en.wikipedia.org/wiki/Singular_value_decomposition">SVD</a> to find out U and V matrices</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/143/1*_7BcM3Z4BVEND2cK9v6v9Q.png" /></figure><p>And out rotation matrix are equal <strong>R = V*U.T</strong></p><p><strong>Problem with SVD<br></strong>Because solving SVD implies some sort of randomness(there can be different number of correct solutions) it sometimes make rotation matrix to be sign reflected.<br>We can fix this by checking determinant of R matrix and if it negative. If so then multiply 3rd column of R by -1</p><h4>Translation</h4><p>This is very simple. <br>1) recenter with -centroid_A<br>2) Rotate and move to center of dataset B</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/232/1*7Av-SCCPSA2Z6B1nWH0WMg.png" /></figure><h3>Code</h3><p>Example of code you can <a href="http://bit.ly/2Xecq9d">check here on my google colab</a><br>Also you can checkout <a href="http://bit.ly/2VvlTMw">example on affine transformation</a></p><h3>Sources</h3><ul><li><a href="https://igl.ethz.ch/projects/ARAP/svd_rot.pdf">Least-Squares Rigid Motion Using SVD</a></li></ul><h3>Support</h3><p><a href="https://www.patreon.com/mlworld">Become a Patron and support our community to make more interesting articles &amp; tutorials</a></p><h3>More cool things about Linear Algebra</h3><ul><li><a href="https://towardsdatascience.com/linear-algebra-polynoms-interpolation-least-squares-29386da68b2c">Linear Algebra. Polynoms. Interpolation. Least squares</a></li><li><a href="https://medium.com/@a.nikishaev/linear-algebra-svd-and-pca-5979f739e95a">Linear Algebra. SVD and PCA</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2553173e8fed" width="1" height="1" alt=""><hr><p><a href="https://medium.com/machine-learning-world/linear-algebra-points-matching-with-svd-in-3d-space-2553173e8fed">Linear Algebra. Points matching with SVD in 3D space</a> was originally published in <a href="https://medium.com/machine-learning-world">Machine Learning World</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Linear Algebra. Polynoms. Interpolation. Least squares]]></title>
            <link>https://medium.com/machine-learning-world/linear-algebra-polynoms-interpolation-least-squares-29386da68b2c?source=rss----47acf312108b---4</link>
            <guid isPermaLink="false">https://medium.com/p/29386da68b2c</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[linear-algebra]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[least-squares]]></category>
            <category><![CDATA[polynom]]></category>
            <dc:creator><![CDATA[Andrey Nikishaev]]></dc:creator>
            <pubDate>Mon, 08 Jul 2019 10:18:55 GMT</pubDate>
            <atom:updated>2019-11-30T20:53:14.340Z</atom:updated>
            <content:encoded><![CDATA[<h3>Want become an expert in Computer Vision &amp; Object Detection?</h3><h4><a href="https://upscri.be/vg7ilp">Subscribe on New Practical Course</a></h4><p>In this part of lectures we will talk about simplest “ml models” — polynoms.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/339/1*D-etBTXsXKNhm5G1vuFBvQ.png" /><figcaption>that’s it — polynom</figcaption></figure><p>But alone polynoms is just some function, so we will also talk about Interpolation of them and will try to make ith with <a href="https://en.wikipedia.org/wiki/Least_squares">Least Squares</a> method.</p><p>Let’s start from looking at magic:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4f78f7c9dba62c781da0ca12f638c0ba/href">https://medium.com/media/4f78f7c9dba62c781da0ca12f638c0ba/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/372/1*PK9H5UICzeXosFtQxEunzQ.png" /><figcaption>Blue — polynom of 1st order, Green — polynom of 2nd order. Resulting Polynom coeffs [34. 2.11 3.14]</figcaption></figure><p>As we see we could interpolate our 2nd order polynom equation very precise(green line totaly cover red line).<br>With polynom of N order you can interpolate almost any function. The only exception is periodic functions because polynom is not periodic.</p><p>So what we can do with this thing? — For example we can use it to find out tone maping curves filter from two images.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*WKNowgSyFMmQjflCYUG5kg.png" /><figcaption>This is per channel curves filter that u can find almost in any photo editor</figcaption></figure><p>This filter create function that modifies image per level + global values. This one of the filter that doesn’t decrese quality of photo(because this functions are continous, and thus very precise. the only limitation is a computer float size)</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1c21cce848804726cb21dbbd935eaa9e/href">https://medium.com/media/1c21cce848804726cb21dbbd935eaa9e/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/412/1*4FnSsEbyBzkKoRZlHeafeQ.png" /><figcaption>as we see images almost the same</figcaption></figure><p>So after we see these examples, let’s try to understand how interpolation works. <br>First of all, you should know that interpolation is basicaly any algorithm that trying to create new data from already seen data. So any ML algorithm is interpolation. Your brain working interpolating data every second of your life.<br>The only difereтсу between all of them is the level of difficulty.</p><p>Today we will talk about Least Square method, which we will be calculating using simple matrix operations(as basically all things in ML, if something is not matrix operation — that’s very bad, cause we cant use GPU on full power)</p><p>Our <a href="https://en.wikipedia.org/wiki/Linear_least_squares_%28mathematics%29">least squares</a> interpolation can be defined as a system of <em>m</em> linear equations and <em>n</em> coefficents with <em>m &gt; n</em>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/419/1*XJfkZ8ghWoMc30GrX-8MBA.png" /></figure><p>X — is Vandermonde matrix of our matrix x, which is basicaly geometric progression of value at every position. So if we have value 3 and 3rd order polynom then Vandermonde series for it will be 1, 3, 9, 27.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/101/1*CoBbDwIQJ-WMQT_lUFgn5g.png" /></figure><p>Our solution lies in solving this minimization problem</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*m7-V0akuNZsWgOCMKMcdpQ.png" /></figure><p>Which gives us equasion</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/150/1*ses2hDvuji1OCHaeVo4hYA.png" /></figure><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/38f18892e13a6c2493d5d977abf16d69/href">https://medium.com/media/38f18892e13a6c2493d5d977abf16d69/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/381/1*rBjmlUfhvnGw3mvbbrhVbQ.png" /></figure><p>In the code we can see small part that normilise input, we can pass it if norm images to [0,1] before running interpolation.</p><p>And for the end simple way to use interpolation to get style from image without it prior</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/be2c2330d98221b17dc06259130470f8/href">https://medium.com/media/be2c2330d98221b17dc06259130470f8/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/428/1*_FV0_TpMsgfTw4aS4_2Brg.png" /></figure><p>So now you can try to make your own instagram filters just with few lines of code, or copy style of other.</p><h3>Code</h3><p>You can run all this code in <a href="http://bit.ly/3075g8D">Google Colab</a></p><h3>Support</h3><p><a href="https://www.patreon.com/mlworld">Become a Patron and support our community to make more interesting articles &amp; tutorials</a></p><h3>More cool things about Linear Algebra</h3><ul><li><a href="https://towardsdatascience.com/linear-algebra-points-matching-with-svd-in-3d-space-2553173e8fed">Linear Algebra. Points matching with SVD in 3D space</a></li><li><a href="https://medium.com/@a.nikishaev/linear-algebra-svd-and-pca-5979f739e95a">Linear Algebra. SVD and PCA</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=29386da68b2c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/machine-learning-world/linear-algebra-polynoms-interpolation-least-squares-29386da68b2c">Linear Algebra. Polynoms. Interpolation. Least squares</a> was originally published in <a href="https://medium.com/machine-learning-world">Machine Learning World</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Linear Algebra. SVD and PCA]]></title>
            <link>https://medium.com/machine-learning-world/linear-algebra-svd-and-pca-5979f739e95a?source=rss----47acf312108b---4</link>
            <guid isPermaLink="false">https://medium.com/p/5979f739e95a</guid>
            <category><![CDATA[svd]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[apc]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[linear-algebra]]></category>
            <dc:creator><![CDATA[Andrey Nikishaev]]></dc:creator>
            <pubDate>Mon, 08 Jul 2019 10:18:40 GMT</pubDate>
            <atom:updated>2019-11-30T21:51:48.994Z</atom:updated>
            <content:encoded><![CDATA[<h3>Want become an expert in Computer Vision &amp; Object Detection?</h3><h4><a href="https://upscri.be/vg7ilp">Subscribe on New Practical Course</a></h4><h3>SVD</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/470/1*3FbrqCPtH7qfKXX8VbOT1g.png" /></figure><h4>Geometric meaning</h4><p>The main idea of SVD is that matrix A is basically a linear transformation. And SVD decompose it into 3 factors Rotation(U)*Scaling/Shear(Σ)*Rotation(V). <br>This gives you interesting posibilities like use it for dimension reduction(that i will show in PCA example), or for <a href="https://towardsdatascience.com/linear-algebra-points-matching-with-svd-in-3d-space-2553173e8fed">point mathching in space</a></p><p>Nice interactive demo: <a href="https://www.geogebra.org/m/mrey8VJX">https://www.geogebra.org/m/mrey8VJX</a></p><h4>How to compute SVD</h4><ol><li>We have matrix A for which we want to compute SVD</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/150/1*fPPFpex8Nhukrnkc5HdQ9A.png" /></figure><p>2. We need to compute A.T and gram(A) = A.T * A</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/506/1*aWeuyw32Clghhq4zVBs2IA.png" /></figure><p>3. From gram(A) we can compute eigenvalues and singular values which will be real, cause gram(A) is NxN size.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/633/1*SV5GQDvTa3bW_yUtSYkoSQ.png" /></figure><p>Note that singular values should be sorted from biggest to smallest <br>s1 ≥ s2 ≥ ··· ≥ sn ≥ 0</p><p>4. Construct <strong>S</strong> matrix</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/168/1*iMYqk9eCbuOvX3Lr-2LWsQ.png" /></figure><p>5. Now we need find matrix <strong>V</strong>. For this we need to solve equation <strong>gram(A) — cn*I</strong> for each eigenvalue, where I — is identity matrix</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/678/1*0rvsUgJ8BXl_kyH-Skm07w.png" /></figure><p>6. Now we need to find matrix <strong>U</strong>. If determinant(diag(S)) != 0 we can get U from equation <strong>U = A*V*inv(S)</strong>. In other situation when determinant(diag(S)) != 0 and matrix is Singular (not invertible) we can use formula <strong>un = (1/sn) * A * vn</strong>, where vn is V[;,n] vector. U = [u1,..,un]</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/126/1*KOCJ98eLQcQ41oLY1SC1Cg.png" /></figure><h3>PCA</h3><p>First of all i want to say that PCA has a brother ICA, and the difference between them can be shown on this image example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/505/1*2IPzhIs-LgL8kqyzv_owUg.png" /><figcaption><a href="https://www.quora.com/What-is-the-difference-between-PCA-and-ICA/answer/Luis-Argerich">https://www.quora.com/What-is-the-difference-between-PCA-and-ICA/answer/Luis-Argerich</a></figcaption></figure><p>So idea of PCA is a reduction of space, while ICA separating features of that space.<br>But right now we will talk about PCA, which is simple but still quite usefull things(of course it not the only algo in area of dimension reduction)</p><h4>How to compute PCA</h4><p>So we have matrix <strong>X</strong>. First we will need center it by<strong> X/std — mean </strong>(by columns)</p><p>Then the covariance of X equal</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/223/1*e7rKpMZtaDF-4Ch-_i6xkA.png" /></figure><p>C matrix is symmetric so can be diagonalized</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/148/1*SH6dYvDbbsIEjJBraNFJcA.png" /></figure><p>where V — matrix of eigenvectors, L — diagonal matrix of eigenvalue. <br>The eigenvectors are called <strong>principal axes </strong>and projection of the data on them <strong>principal components (XV)</strong></p><p>Now lets perform <strong>SVD </strong>over <strong>X</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/153/1*_o4AN1ZJs3iAd_vSbtbtzA.png" /></figure><p>Pasting this into formula of covariance of X will gives us this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/501/1*IyKoXnZp7xdStW_CyQ9XXg.png" /></figure><p>where singular values are related to the eigenvalues of covariance matrix as</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/183/1*ruxskXvpaGuFxGsVH8WM8g.png" /></figure><p>Principal components are given by</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/330/1*PLrLF62wzfWPWUI8siBN2g.png" /></figure><p>So:</p><ol><li>Use SVD on A* and get U, V and S.</li><li>Set new N dimension to which you want to reduce your data. And get first N values from U and S. <br><strong>Ur= U[:,:n], Sr = S[:n,:n]</strong></li></ol><p><strong>3) Reduced(A, N) = Ur * Sr</strong></p><p>Of course it’s ony one way of computing PCA, but as i know almost all curent algorithms use SVD(different variations of it) for that, so it most popular.</p><h3>Code</h3><p><a href="http://bit.ly/2FNB2zx">You can run all this code in Google Colab</a></p><h3>Sources</h3><ul><li><a href="https://math.berkeley.edu/~hutching/teach/54-2017/svd-notes.pdf">https://math.berkeley.edu/~hutching/teach/54-2017/svd-notes.pdf</a></li><li><a href="http://math.mit.edu/classes/18.095/2016IAP/lec2/SVD_Notes.pdf">http://math.mit.edu/classes/18.095/2016IAP/lec2/SVD_Notes.pdf</a></li><li><a href="https://en.wikipedia.org/wiki/Singular_value_decomposition">https://en.wikipedia.org/wiki/Singular_value_decomposition</a></li></ul><h3>Support</h3><p><a href="https://www.patreon.com/mlworld">Become a Patron and support our community to make more interesting articles &amp; tutorials</a></p><h3>More cool things about Linear Algebra</h3><ul><li><a href="https://towardsdatascience.com/linear-algebra-points-matching-with-svd-in-3d-space-2553173e8fed">Linear Algebra. Points matching with SVD in 3D space</a></li><li><a href="https://towardsdatascience.com/linear-algebra-polynoms-interpolation-least-squares-29386da68b2c">Linear Algebra. Polynoms. Interpolation. Least squares</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5979f739e95a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/machine-learning-world/linear-algebra-svd-and-pca-5979f739e95a">Linear Algebra. SVD and PCA</a> was originally published in <a href="https://medium.com/machine-learning-world">Machine Learning World</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploying on AWS Free Tier with Docker and Fabric]]></title>
            <link>https://medium.com/machine-learning-world/deploying-on-aws-free-tire-with-docker-and-fabric-d9eca7c629e6?source=rss----47acf312108b---4</link>
            <guid isPermaLink="false">https://medium.com/p/d9eca7c629e6</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[django]]></category>
            <dc:creator><![CDATA[Andrey Nikishaev]]></dc:creator>
            <pubDate>Wed, 13 Mar 2019 13:25:55 GMT</pubDate>
            <atom:updated>2019-11-30T20:54:02.346Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SGA_SR5f8n2bDDTc4GGASA.png" /></figure><p>In this article i want to summarize all things that u will need to make good dev environment and deployment for a small application. <br>To make this happen we will use <a href="https://aws.amazon.com/free/">AWS Free Tie</a>r and <a href="https://www.docker.com/">Docker</a> containers and orchestration and <a href="https://www.djangoproject.com/">Django</a> app as a typical project</p><p>Link on this project github: <a href="https://github.com/creotiv/aws-docker-example">https://github.com/creotiv/aws-docker-example</a></p><p>Before go farther please install Docker first: <a href="https://docs.docker.com/install/linux/docker-ce/ubuntu/">https://docs.docker.com/install/linux/docker-ce/ubuntu/</a></p><p>All code running under Python 3.6</p><h3>Docker</h3><p>Docker is a container virtualization engine that gives u ability to create cheap and fast environments for production and development use. Containers are not virtual machines. Key idea of containers is to make them as thin as possible. So you cant run Windows container on Linus system. Here is good image to see the difference.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wuQAug5LyFkXvzr3SL0vVQ.jpeg" /></figure><h4>Docker image &amp; container</h4><p>Two main parts of Docker system is images and containers.</p><p>Image — is a clear build of environment without any working state</p><p>Container — is a running/stopped image with some state(DB records created, files uploaded, etc.)</p><p>Awesome thing in Images is that they created with just one file (Dockerfile) and thus can be stored in Git/Docker Hub, simple transferred across the net. This makes CD/CI much simpler and lightweight.</p><h4>Docker compose</h4><p>In most cases docker-compose tool is used for running all containers on local dev/CI/CD machine with the same configuration as they run in production. But also it can be used for single-machine deploy scenario(but we will use Docker Swarm for this)</p><h4>Orchestration</h4><p>Docker Swarm — is a service for container orchestration, basically it control running of containers on different machines with different configs and manage all communication between them.<br>Docker Swarm not only orchestration engine that exist, there are also Kubernets, AWS ECS, Azure Container Service, Google Container Engine, and else.<br>For big production application i recommend to use Kubernets. But for this simple demo we will use Docker Swarm as it the simplest and good choice for small/medium projects.</p><h3>Testing things locally</h3><p>Before making any changes on remote machines it’s good to test things locally.</p><p>Our application will use 3 containers for Django+Gunicorn, Nginx, PosgreSQL instance, and for each of them we need an image.</p><h4>Making images with Dockerfiles</h4><p>Before trying to write some big Dockerfile with plenty of installation code it good to search it on <a href="https://hub.docker.com/search?q=&amp;type=image">Docker Hub</a>(aka github for docker images).<br>We will search for Python, Nginx, PostgreSQL. For example here is python image <a href="https://hub.docker.com/_/python">https://hub.docker.com/_/python</a><br>For all our images we will use most latest Alpine Linus images. We will not write Dockerfile for PostgreSQL as we will use clear image without any modifications.</p><p>Dockerfile for App:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6fad06d5ee97ef80b99340e4fad84a72/href">https://medium.com/media/6fad06d5ee97ef80b99340e4fad84a72/href</a></iframe><p>Dockerfile for Nginx</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/446b945d5924dea3277ff6213fc7d2d7/href">https://medium.com/media/446b945d5924dea3277ff6213fc7d2d7/href</a></iframe><p>Now let’s try to understand what happening here.</p><p><strong>FROM</strong> — used to set image which we are using as a starting point of our modifications. In out first case we use python image with tag 3.7.2-alpine3.9.<br>if we dont need previous image we cant set it from scratch “From scratch”</p><p><strong>ENV</strong> — set an environment variable.</p><p><strong>RUN </strong>— running a command.</p><p><strong>WORKDIR</strong> — change base directory of image. if directory doesn’t exists it creates it.</p><p><strong>COPY</strong> — copy data from local fs to image fs</p><p><strong>ENTRYPOINT </strong>—command that will be run on each container initialization from this image.</p><p>So for application container we installing some needed system libs, then creating app dir at /usr/src/app, copy our app requirements there, install them, copy our app dir.</p><p>We use our entrypoint to control PostgreSQL initialization(because Swarm control only container initialization and not control services in it) and for Django updates. <br>Here is another way of controlling services: <a href="https://docs.docker.com/compose/startup-order/">https://docs.docker.com/compose/startup-order/</a></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7ef6ea72b1cdc1febeae0e3f88231cc6/href">https://medium.com/media/7ef6ea72b1cdc1febeae0e3f88231cc6/href</a></iframe><p>After we understand how this work, lets build our first images<br>docker build -t [TITLE][DIRECTORY WITH DOCKERFILE]</p><blockquote>docker build -t awsdemo-app app<br>docker build -t awsdemo-nginx nginx</blockquote><p>Now if we call docker images we will see our two built images :)</p><h4>Understanding docker-compose</h4><p>It good practices to use different version of docker-compose.yml files for different environments. <br>So we have also two of them docker-compose.prod.yml for prod, and docker-compose.yml for dev enviroment (The difference only in DEBUG mode and code reload param for gunicorn).</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/bcddba8f543d82f0a64845d5b9dc2dbe/href">https://medium.com/media/bcddba8f543d82f0a64845d5b9dc2dbe/href</a></iframe><p>First, there are many versions of docker and docker-compose syntax. We will using the latest 3rd version.</p><p><strong>Services</strong> — setting up containers<br><strong>Volumes</strong> — setting up persistent storage for our data(on local machine, cause we dont want lost DB or files after each container restart)<br><strong>Networks</strong> — setting up network connections between containers(For our case we will use simplest network type — mesh network)</p><p>Each service have a name that also a domain in our network. <br><strong>Image</strong> — setting up image from which container will be created. First local images, then remote images(Docker Hub, etc)<br><strong>Command</strong> — command to run after container initialized. Running Gunicorn with code hot-reload on port 8000<br><strong>Ports</strong> — linking ports between docker and local mahcine<br><strong>Volumes</strong> — Linking up volumes to instance. Here ./app/:/usr/src/app/ we linking our local app dir to container app dir, so we can change the code in run-time without container restart<br><strong>Environment</strong> — setting up container env variables<br><strong>Depends_on</strong> — setting up dependencies(initialization order)<br><strong>Networks</strong> — connection to networks</p><p>More about docker compose syntax and params here: <a href="https://docs.docker.com/compose/overview/">https://docs.docker.com/compose/overview/</a></p><p>Now lets run docker-compose up and open <a href="http://localhost/">http://localhost/</a> to see result.</p><p>If things are working we can go to deploy stage.</p><h3>Deploy</h3><h4>AWS Free Tier</h4><p>By default AWS gives you 750h of EC T3.micro instance. <br>We will run our project on <strong>Ubuntu Server 18.04 LTS (HVM), SSD Volume Type - ami-34c14f4a</strong></p><p><strong>Click ‘Launch Instance’</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ozIMkvB6mnLnoPg409evyg.png" /></figure><p><strong>Choose Ubuntu server 18.04</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9CQE0JgkHuMHgj1lwVqH3Q.png" /></figure><p><strong>Choose t3.micro instance type</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BrL1R2vs5EI1nfpndm_Lig.png" /></figure><p><strong>Click next until security group page. </strong>Here you will need to add All Tcp to firewall rules, so you can access any tcp port from public(for production set only needed ports)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qm_tmQtk8Nl1W39u8fM-9Q.png" /><figcaption>Click next until security group page</figcaption></figure><p>In the end it will create ssh key which we will use to access to the instance.</p><h4>Deploying with Fabric2</h4><p>For devops thing i would recommend use Fabric2 for small/medium projects and Ansible for medium/big projects. But today we will use Fabric2 because it simple as a door.</p><p>First let’s install it pip install fabric2</p><p>What Fabric do is basically connect to host over ssh and run some commands that can be defined as tasks. Entrypoint for it is <strong>fabfile.py </strong>and to run it just call fab2 COMMAND</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5a52f2c25cde344e56a27aab3d114ff6/href">https://medium.com/media/5a52f2c25cde344e56a27aab3d114ff6/href</a></iframe><p>So what we have 4 task here: install-instance, set-pass, deploy, pgdump<br>After we create instance on AWS we need to install many things on it before we can run docker. I used simple command per line approach, but it also can be inside of some shell file and we can just run it.</p><p><strong>Dont forget to change HOST and KEY_FILE params</strong></p><p>Your domain you can find in AWS EC dashboard in instance params (Public DNS (IPv4))</p><h4>install-instance</h4><ol><li>19# check if docker is running if not run install ops.</li><li>21–28# install docker stuff</li><li>29# Initialize docker swarm main server</li><li>30–33# create ssh key to be able to pull from private github</li><li>34–36# waiting while user will add key to <a href="https://github.com/settings/keys">github ssh keys</a></li></ol><p>6. 37# adding github domain to known host. in other case it will ask this on first pull</p><p>7. 38–41# Creating app dir and cloning it fro github</p><p>8. 42–43# Building images</p><p>9. 44# Add our containers to the swarm. Stack is a group of services that running together.</p><p>10. 45–51# waiting for web container and trying to set django super user password</p><p>$(docker ps -q -f name=awsdemo_web) — used to get service container id. This will not work if we have replication with more then one container for service.</p><h4>deploy</h4><p>For deploy we just getting all changes from github and then running service update. <br>Updates in a Swarm mode running without breaking connections. Old container will run until all old queries will not be proceeded. All new queries will go to the new container instance.</p><h4>pgdump</h4><p>Here we first run pg_dump on db container, then copy dumped data from it to remote machine fs, and then use Fabric2 Class Transfer to download file to our local machine.</p><p>Now let’s install all this things.</p><pre>fab2 install-instance<br>fab2 set-pass</pre><p>Now if you go to your AWS domain you should see</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/949/1*yfqJCiMBYJFPIQaq27vpWw.png" /></figure><p>Hope it was useful :)</p><h3>Support</h3><p><a href="https://www.patreon.com/mlworld">Become a Patron and support our community to make more interesting articles &amp; tutorials</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9eca7c629e6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/machine-learning-world/deploying-on-aws-free-tire-with-docker-and-fabric-d9eca7c629e6">Deploying on AWS Free Tier with Docker and Fabric</a> was originally published in <a href="https://medium.com/machine-learning-world">Machine Learning World</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[23 Best Popular Science YouTube Channels]]></title>
            <link>https://medium.com/machine-learning-world/best-popular-science-youtube-channels-767a73add30a?source=rss----47acf312108b---4</link>
            <guid isPermaLink="false">https://medium.com/p/767a73add30a</guid>
            <category><![CDATA[science]]></category>
            <category><![CDATA[online-courses]]></category>
            <category><![CDATA[education]]></category>
            <category><![CDATA[popular-science]]></category>
            <category><![CDATA[youtube]]></category>
            <dc:creator><![CDATA[Andrey Nikishaev]]></dc:creator>
            <pubDate>Wed, 17 Oct 2018 12:09:31 GMT</pubDate>
            <atom:updated>2019-11-30T21:03:27.032Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Nvhe7mchQmJBgyVx-uOBrA.png" /></figure><p>One man said “To become a genius you need to learn new thing every day”.</p><p>So instead watching stupid TV-shows, TV-series or new SUPER DUPER BLOCKBUSTER with 3 lines of scenario, it’s much better to spent this time on learning something new. That’s where popular science do her job :)</p><p>So thanks to my friends, we gathered list of YouTube channels that we are watching in a free time, and which are pretty cool:</p><ul><li><a href="https://www.youtube.com/user/Kurzgesagt">Kurzgesagt — In a Nutshell</a></li><li><a href="https://www.youtube.com/channel/UCYO_jab_esuFRV4b17AJtAw">3Blue1Brown</a></li><li><a href="https://www.youtube.com/user/EugeneKhutoryansky">Physics Videos by Eugene Khutoryansky</a></li><li><a href="https://www.youtube.com/user/acapellascience">acapellascience</a></li><li><a href="https://www.youtube.com/user/TheScienceAsylum">The Science Asylum</a></li><li><a href="https://www.youtube.com/user/minutephysics">minutephysics</a></li><li><a href="https://www.youtube.com/user/TEDEducation">TED-Ed</a></li><li><a href="https://www.youtube.com/channel/UC7_gcs09iThXybpVgjHZ_7g">PBS Space Time</a></li><li><a href="https://www.youtube.com/channel/UCs4aHmggTfFrpkPcWSaBN9g">PBS Infinite Series</a></li><li><a href="https://www.youtube.com/channel/UCiEHVhv0SBMpP75JbzJShqw">Lectures by Walter Lewin. They will make you ♥ Physics.</a></li><li><a href="https://www.youtube.com/user/scishowspace">SciShow Space</a></li><li><a href="https://www.youtube.com/user/Vsauce">Vsauce</a></li><li><a href="https://www.youtube.com/user/Vsauce2">Vsauce2</a></li><li><a href="https://www.youtube.com/user/Vsauce3">Vsauce3</a></li><li><a href="https://www.youtube.com/user/1veritasium">Veritasium</a></li><li><a href="https://www.youtube.com/user/crashcourse">CrashCourse</a></li><li><a href="https://www.youtube.com/user/numberphile">Numberphile</a></li><li><a href="https://www.youtube.com/user/scishow">SciShow</a></li><li><a href="https://www.youtube.com/user/keeroyz">Two Minute Papers</a></li><li><a href="https://www.youtube.com/user/khanacademy">Khan Academy</a></li><li><a href="https://www.youtube.com/user/worldsciencefestival/">World Science Festival</a></li><li><a href="https://www.youtube.com/user/SciAmerican/">Scientific American</a></li><li><a href="https://www.youtube.com/channel/UCIVaddFslWk1TFoKNrvh99Q">DrPhysicsA</a></li></ul><p>Added by community recommendation:</p><ul><li><a href="https://www.youtube.com/user/braincraftvideo/">Brain Craft</a></li><li><a href="https://www.youtube.com/user/grossscienceshow">Gross Science</a></li></ul><p>If you will watch all of them, then please write comment here, i just want to know that it’s possible :)</p><p>Also if you know some interesting channels, please post them in comments.</p><h3>Support</h3><p><a href="https://www.patreon.com/mlworld">Become a Patron and support our community to make more interesting articles &amp; tutorials</a></p><h4>Get interesting articles every day — <a href="https://t.me/ml_world">Subscribe on Telegram Channel</a></h4><p><strong>Read my other fresh articles</strong></p><p><a href="https://medium.com/@a.nikishaev/how-to-lead-a-team-what-mobas-can-teach-us-ffb08688f054">How to lead a team. What MOBAs can teach us</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=767a73add30a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/machine-learning-world/best-popular-science-youtube-channels-767a73add30a">23 Best Popular Science YouTube Channels</a> was originally published in <a href="https://medium.com/machine-learning-world">Machine Learning World</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>