<?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[Stories by Sayali Pangre on Medium]]></title>
        <description><![CDATA[Stories by Sayali Pangre on Medium]]></description>
        <link>https://medium.com/@sayalipangre123?source=rss-4ba3693e24b5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*8o-dt-ylN2F1NjP5HQCfcQ.jpeg</url>
            <title>Stories by Sayali Pangre on Medium</title>
            <link>https://medium.com/@sayalipangre123?source=rss-4ba3693e24b5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 06:59:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sayalipangre123/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Hardware for Machine Learning and Neural Network]]></title>
            <link>https://medium.com/@sayalipangre123/hardware-for-machine-learning-and-neural-network-864544e54e4f?source=rss-4ba3693e24b5------2</link>
            <guid isPermaLink="false">https://medium.com/p/864544e54e4f</guid>
            <dc:creator><![CDATA[Sayali Pangre]]></dc:creator>
            <pubDate>Wed, 19 Feb 2020 12:59:58 GMT</pubDate>
            <atom:updated>2020-02-19T12:59:58.466Z</atom:updated>
            <content:encoded><![CDATA[<p>With the recent developments in deep learning, neural networks are getting larger and larger.</p><p>Everything like growing volumes and varieties of available data, cheaper and more powerful computational processing, data storage and large-value predictions that can guide better decisions and smart actions in real time without human intervention are playing critical role in this era. All these require models that can automatically analyse large complex data and deliver accurate results — even on a very large scale. Machine learning plays a important role in developing this models.The applications of machine learning varies from self driving cars, machine translation, Alpha Go, Smart robots and from image recognition to speech recognition. But there are some challenges too:</p><ol><li>Model size is the first challenge i.e. it is hard to distribute models over the mobile phones.</li><li>Second challenge is large training time and high error rate.</li><li>Third challenge is energy consumption due to larger model, more memory reference..</li><li>Fourth challenge is distribution of the model.</li></ol><p>We will see how to address these challenges by different hardware platforms for machine learning algorithms and neural networks.</p><h4>What limits deep Learning?</h4><p>Is it compute bound or memory bound? Ideally it is compute bound why its so because matrix-matrix multiply takes o(n²) memory but o(n³) for compute. But sometimes it is memory/communication bound especially when we are running at large scale on a cluster. It also requires dense matrix multiplication, convolution operation,recurrent operation etc.</p><p>The deep learning pipeline is as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/0*MxQ-mveJ9ZVYmsnq.png" /><figcaption>Figure 1: Training and Inference</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qQniCknJ2TaBgYl6.png" /></figure><p>Workloads can come in this two main parts of neural network i.e. training(Model Building) and inference(Model use).</p><p>Training refers to the process of Machine Learning algorithm.It involves the use of a deep learning framework like Tensorflow and training dataset.Inference is the process of using a trained machine learning algorithm to make a prediction on a new data. Training and inference starts with forward propagation calculation and results of forward propagation are compared against correct value to calculate the error.If error rate is high than actual result then backward propagation propagates the error back through network layers and updates their weights using gradient descent to improve the network’s performance at the task it is trying to learn. There can be batch hundreds of training inputs (for example, images in an image classification network or spectrograms for speech recognition) and operate on them simultaneously during DNN training in order to prevent overfitting and, more importantly, amortize loading weights from GPU memory across many inputs, increasing computational efficiency.</p><p>But for inference performance goals are different. To minimize end to end response time inference batches a smaller number of inputs than training because services relying on it requires as responsive as possible so that users don&#39;t have to wait several seconds while the system is accumulating images for a large batch.So we might say that workload for training is higher than inference and high throughput is the only thing for training and latency is important for inference.</p><p>So for this we can adapt existing hardware architecture or we can develop new one.</p><h4>What improvements can we get?</h4><ol><li>Lower latency inference</li><li>Higher throughput training(computational capacity).</li><li>Lower power cost.(computation per joule)</li><li>Cost efficiency</li></ol><h4>How can hardware help?</h4><ol><li>Speed of the basic building block of machine learning computation. major building blocks are matrix-matrix multiply, another building block is Convolution operation.</li><li>Add data/memory paths specialized to machine learning workloads; for example having a local cache to store weights.</li><li>Create application-specific functional units. Not general for Machine learning, but for a specific domain or application.</li></ol><h4>So you need hardware too?</h4><p>We need new hardware that is more efficient than Intel-Xeon powered servers. An Intel server CPU may consume 100–150 W and it may also need a large system with cooling to support the performance.</p><p>What are other options?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*quFV6u-z2JnC8KEZ.jpeg" /></figure><p>Most of the applications today are hosted in public clouds with companies like Amazon, Google, Microsoft, etc. These companies run their online services from data centers packed with thousands of servers, each driven by a chip called a central processing unit, or CPU. Now these companies are supplementing CPU&#39;s with other processors for using Deep Learning Networks. Neural networks can learn tasks by analyzing huge amounts of data, and they require more than just CPU power. So Google built the Tensor Processing Unit, or TPU while Microsoft is using a FPGA processor. Myriad companies employ machines equipped with large numbers of graphics processing units, or GPU.</p><p>I will cover few of them:</p><ol><li>CPU and Graphic processors, GPU</li><li>Field-programmable logic devices, FPGA</li><li>Custom microchips, application-specific integrated circuits, ASICs, or systems on a chip, Soc</li><li>Digital signal processors, DSP</li><li>SIMD Processor arrays and systolic arrays, Vector or SIMD Co-processor, Neurochips</li><li>Neuromorphic computing</li><li>Intelligence Processing Unit(IPU)</li></ol><h3>CPU</h3><p>Now a days most of the deep learning models works on GPU , the use of CPU is only for data prepossessing. If you’re dealing with the data in GBs and your work is in analytics for the queries then you should have good CPU. They are extremely flexible in terms of programmability, and handling workloads. Intel is dominant CPU manufacturer compared to others(ARM,AMD,IBM POWER,ORACLE SPARC,Fujitsu etc).Intels Xeon and Xeon Phi are some examples in datacenters and qualcomm Snapdragon in mobile devices are some examples of CPUs.</p><h3>GPU</h3><p>GPUs are most widely used hardware used for machine learning and neural networks.This are specifically designed for high parallelism and memory bandwidth.GPUs are considered to be best option for training.This are used to accelerate large number of MAC(Multiply and accumulate) operations performed in 2D or 3D graphics rendering.</p><p>ML and neural network involves lot of matrix multiplication and convolution operations so GPUs can provide energy efficient way of training a neural network with less hardware. This are good at fetching large amount of memory. But there is a requirement that companies need chips that can fetch memory during the process called inference. So Google developed TPUs(Tensor Processing Unit) for this purpose. Hence companies like NVIDIA have come up with a faster interconnect called NVLink. Titan X and Tegra X1 are examples of GPUs.</p><p>NVIDIAs CUDA is parallel computer architecture for GPU computing.</p><h3>FPGA</h3><p>Field Programmable Gate Arrays are a type of hardware that can be programmed and reconfigured using Hardware Descriptive Language(HDL).Companies like Microsoft and Baidu are investing more in FPGA. But it don’t offer peak floating point performance but FPGAs performance/watt is more than GPUs, because they have much less power usage(Often 10s of watts). FPGAs flexibility aids in delivering deterministic low latency and high bandwidth.</p><h3>ASIC</h3><p>ASICs are the least flexible but highest performing hardware options. They have full custom capability for design since devices are manufactured to design specifications. and also require huge investment.ASICs(application specific integrated circuits) are either designed for training or inference. Google is the best example of ASIC and they have developed Google TPU originally focused on 8-bit integers.Newer ASICs offer floating point precision and can be used for training too. Unlike CPUs and GPUs they are used for specific purpose and cannot be reprogrammed. Intel’s Nervana and Movidius a low latency , high memory bandwidth chip built for deep learning, is another example of ASIC. Qualcomm, AMD, ARM, Intel, NVIDIA, are all working hard on integrating custom microchips into their existing solutions.</p><h3>TPU</h3><p>Google’s Tensor Processing Unit came in 2015 as one of the specialized architecture for Machine Learning and AI applications. It focus on fast inference via high throughput 8-bit arithmetic.Most of the chip is dedicated to perform dense-matrix multiplication, and it uses 32-bit accumulator to sum up the result. Google supports running tensorflow code on TPUs, this makes it easy to train and infer deep neural networks.You can run your own programs on TPUs on google cloud.</p><h3>Issues in Hardware Design and Optimization Techniques</h3><p>Key Metrics:</p><ol><li>Accuracy</li><li>Energy Consumption</li><li>throughput/latency</li><li>Cost</li></ol><p><strong>Optimization Techniques:</strong></p><ol><li>Precision Reduction</li></ol><p>The default size for programmable platforms such as CPUs and GPUs is often 32 bit or 64 bits with floating point representation during training but using inference it is possible to use fixed point representation and significantly reduce the bit-width for savings in energy and area and increase throughput.</p><p>2. Prunning</p><p>For Deep Neural Network number of MAC operations and weights can be reduce by removing weights with small and minimal impact on the output through a process called pruning.Weights are removed based on energy-model to directly minimize energy consumption.</p><p>3. Compression</p><p>Data movement and storage are important factors in both cost and energy.So compression can be applied to reduce data movement and storage cost.</p><p>In case you liked the article, do follow me <a href="https://medium.com/@sayalipangre123">@sayalipangre123</a> for more articles related to AI, ML and DL.</p><h3>References</h3><ol><li>FPGA architecture. Fpga architechture- diagram.</li><li>TPU architechture. Google tpu.</li><li>TPU architechture. Moore’s law tpu.</li><li>Sze, V., Chen, Y.H., Emer, J., Suleiman, A. and Zhang, Z.,<br>2017, April. Hardware for machine learning: Challenges and<br>opportunities. In 2017 IEEE Custom Integrated Circuits<br>Conference (CICC) (pp. 1–8). IEEE.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=864544e54e4f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learn Data Science in 2019]]></title>
            <link>https://medium.com/mytake/learn-data-science-in-2019-fd62d1232685?source=rss-4ba3693e24b5------2</link>
            <guid isPermaLink="false">https://medium.com/p/fd62d1232685</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[data]]></category>
            <dc:creator><![CDATA[Sayali Pangre]]></dc:creator>
            <pubDate>Thu, 24 Oct 2019 08:37:41 GMT</pubDate>
            <atom:updated>2019-10-24T17:30:51.348Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/648/0*YqNLF2cgr7C38mie.png" /><figcaption>Data Science Venn Diagram</figcaption></figure><blockquote>Data science not just knowing some programming languages, math, statistics and have “domain knowledge”.</blockquote><p>As we know, 2019 is the era of Machine Learning, Deep Learning, Android and iOS development. This year Rust, Python, Scala, R, JavaScript is going to be much more popular amongst developers and a lot of new technologies will be introduced.</p><p>As the data is increasing day by day at every second and also the number of internet users are also increasing.Everyday multiple websites, videos, articles are hosted. So to handle this data, analyze it, manage it, gaining knowledge from it is required.</p><p>Today, this ability is more important skill than ever. We know Big Data is everywhere. The whole world is changing because of innovations that rely on gathering, storing and analysing data, along with designing and developing apps and visualisations for it. All your apps — Uber, Google Maps, Snapchat — Facebook, Instagram, Twitter, Whatsapp make use of data. But it’s bigger than that. Thanks to data science, airlines are able to offer different prices per person, per moment, per location. Thanks to data science, an A.I. lawyer can understand and read juridical contracts. Thanks to data science, medical images can be automatically analysed and many more.</p><blockquote>If you can’t measure it, you can’t manage it.</blockquote><p>So, here are some reasons I found as to why Data Science is much required in today’s developing world.</p><p>Data science is not the same as computer science. It’s more than just programming. It’s a mix of computer science, data analytics and several other domains (like business, life sciences, humanities,psychology,medical).</p><p>If you want to study data science, it’s very useful that you have…</p><ul><li>If you are able to think in a Structured way.</li><li>If you like to solve big data related questions and problem solving skills.</li><li>If you are inquisitive, creative and an out-of-the-box thinker.</li><li>If you are good at mathematics including statistics.</li><li>If uou have some knowledge of programming,</li><li>If you have data analytics skills.</li></ul><p>So, let us see how you can start your career in Data Science with free of cost resources.</p><h3>How to start your career in Data Science</h3><ol><li>Learn Python</li><li>Learn R</li><li>Get familiar with PowerBI and Tableau data analytics and visualization tools.</li><li>Learn Hadoop and Apache Spark.</li><li>SQL and NoSQL</li><li>Mathematics and Statistics — Probability,Exploratory Data Analysis(EDA),Linear Algebra</li><li>Machine Learning tools and techniques — Linear Regression,Logistic regression,SVM,Decision tree algorithm,Naive Bayes,Supervised and unsupervised learning,Reinforcement learning,Ensemble Learning,Random forest,Boosting Algorithms,Time Series,Feature Engineering.</li><li>Learn matrix algebra,working with different types of data,SVD and PCA.</li><li>Neural Networks / Deep Learning — Keras and deep learning architectures like CNN.</li><li>Natural Language Processing — RNN,LSTM,Text pre[rocessing and text classification,Text summerization and word embeddings.</li><li>Computer Vision.</li><li>Build mini-projects but keep your goal higher than normal. Try your best to Convert your mini project into a production-ready application.</li><li>Take active participation in online web development challenges and contests and try to win it.</li><li>Update your LinkedIn profile.</li><li>Build your digital portfolio, show your work to your friends, peers, seniors etc and build a network from where you will get a customer and you will start earning just by using your Data Science skills.</li><li>To learn from the Free of Cost Resources you can refer to courses on YouTube (from where I started learning), Udemy, edx, Coursera, Udacity Programmes etc to learn and enhance your experience and capabilities so that you can earn more with your Data Science skills. Some of the links are given below.</li></ol><p><a href="https://www.learndatasci.com/out/coursera-data-science-specialization">Data Science | Coursera</a></p><p><a href="https://www.learndatasci.com/out/metis-intro-data-science/">https://www.learndatasci.com/out/metis-intro-data-science/</a></p><ul><li><a href="https://www.learndatasci.com/out/coursera-Applied-Data-Science-Python-Specialization">Applied Data Science with Python | Coursera</a></li><li><a href="https://www.learndatasci.com/out/edx-statistics-and-data-science-micromasters/">Statistics and Data Science</a></li><li><a href="http://cs109.github.io/2015/pages/videos.html">Class Material</a></li><li><a href="https://www.learndatasci.com/out/udemy-python-for-data-science-and-machine-learning-bootcamp/">Learn Python for Data Structures, Algorithms &amp; Interviews</a></li></ul><p>To sum up,</p><p>you also require good communication skills.</p><p>For more, follow <a href="https://medium.com/@sayalipangre123">@sayalipangre123</a> and do share with your friends.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd62d1232685" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mytake/learn-data-science-in-2019-fd62d1232685">Learn Data Science in 2019</a> was originally published in <a href="https://medium.com/mytake">MyTake</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mathematics for AI :All the important maths topics for AI and ML you need to know.]]></title>
            <link>https://medium.com/@sayalipangre123/mathematics-for-ai-all-the-important-maths-topics-for-ai-and-ml-you-need-to-know-beabb8df1fbf?source=rss-4ba3693e24b5------2</link>
            <guid isPermaLink="false">https://medium.com/p/beabb8df1fbf</guid>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Sayali Pangre]]></dc:creator>
            <pubDate>Sun, 20 Oct 2019 08:18:04 GMT</pubDate>
            <atom:updated>2019-10-20T08:18:04.891Z</atom:updated>
            <content:encoded><![CDATA[<h3>Mathematics for AI :All the important maths topics for AI and ML you need to know.</h3><p>Most important list of Math topics for Machine Learning and AI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/910/0*lMaOuG2PWFYH0Q8x.png" /></figure><blockquote>“The key to artificial intelligence has always been the representation.” — Jeff Hawkins</blockquote><p>As we know Artificial Intelligence has gained importance in the last decade with a lot depending on the development and integration of AI in our daily lives. The progress that AI has already made is astounding with the self-driving cars, medical diagnosis and even betting humans at strategy games like Go and Chess.</p><blockquote>The future for AI is extremely promising and it isn’t far from when we have our own robotic companions. This has pushed a lot of developers to start writing codes and start developing for AI and ML programs. However, learning to write algorithms for AI and ML isn’t easy and requires extensive programming and mathematical knowledge.</blockquote><p>Mathematics plays an important role as it builds the foundation for programming for these two streams. And in this article, I’ve covered exactly that. Idesigned a complete articleto help you master the mathematical foundation required for writing programs and algorithms for AI and ML.</p><p>So I will directly go to the main objective of this article:</p><p>My recommendation of learning mathematics for AI goes like this:</p><h4><strong>Linear Algebra:</strong></h4><p>Linear algebra is used in Machine Learning to describe the parameters and structure of different machine learning algorithms. This makes linear algebra a necessity to understand how neural networks are put together and how they are operating.</p><p><strong>It cover topics like this:</strong></p><ul><li>Scalars, Vectors, Matrices, Tensors</li><li>Matrix Norms</li><li>Special Matrices and Vectors Eigenvalues and Eigenvectors</li><li>Principle component analysis</li><li>Singular value decomposition</li></ul><h4><strong>Calculus:</strong></h4><p>This is used to supplement the learning part of machine learning. It is what is used to learn from examples, update the parameters of different models and improve the performance.</p><p><strong>It cover topics like this:</strong></p><ul><li>Derivatives(Scalar Derivative-Chain rule),Partial and Directional Derivative.</li><li>Integrals</li><li>Gradients</li><li>Differential Operators</li><li>Convex Optimization</li><li>Gradient algorithms- local/global maxima and minima,SGD,NAG,MAG,Adams</li></ul><h4><strong>Probability Theory:</strong></h4><p>The theories are used to make assumptions about the underlying data when we are designing these deep learning or AI algorithms. It is important for us to understand the key probability distributions.</p><p><strong>It covers topics such as:</strong></p><ul><li>Elements of Probability</li><li>Random Variables</li><li>Distributions( binomial, bernoulli, poisson, exponential, gaussian)</li><li>Variance and Expectation</li><li>Bayes’ Theorem, MAP, MLE</li><li>Special Random Variables</li></ul><h4>Others</h4><ul><li>Markov Chain</li><li>Information Theory</li></ul><h4>From where you can learn:</h4><ul><li>Youtube Videos</li><li>Textbooks</li><li>Online Course</li><li>Google Search</li></ul><p>Reading above topics, you will not have not only the knowledge to build your own algorithms, but also the confidence to actually start putting your algorithms to use in your next projects and learn exacly how to use concepts in real life.</p><p>In case you liked the article, do follow me <a href="https://medium.com/@sayalipangre123">@sayalipangre123</a> for more articles related to AI, ML and DL.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=beabb8df1fbf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ways To Learn Machine Learning and Deep Learning]]></title>
            <link>https://medium.com/@sayalipangre123/ways-to-learn-machine-learning-and-deep-learning-f9a8bdf672ca?source=rss-4ba3693e24b5------2</link>
            <guid isPermaLink="false">https://medium.com/p/f9a8bdf672ca</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Sayali Pangre]]></dc:creator>
            <pubDate>Tue, 15 Oct 2019 10:21:53 GMT</pubDate>
            <atom:updated>2019-10-15T10:21:53.465Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/631/0*XaDCukFJXk2SMDqM.png" /><figcaption><strong>AI vs ML Vs DL</strong></figcaption></figure><blockquote>“Artificial Intelligence, deep learning, machine learning — whatever you’re doing if you don’t understand it — learn it. Because otherwise you’re going to be a dinosaur within 3 years.” ~Mark Cuban</blockquote><blockquote>I like to do research in the field of Machine Learning and Artificial Intelligence(AI). I am not an expert but also in learning phase and doing my Masters in Data Science.So the better way to learn on this topic is as follows:</blockquote><h4>1.Machine Learning Course by Andrew NG</h4><p>This course is best for learning ML from scratch.It provides broad introduction to Machine Learning,Data Mining and Statistical pattern recognition.The faculty is fantastic and it is my first recommendation in this topic!</p><h4>2.Artificial Intelligence course from MIT</h4><p>This course introduces the basic knowledge representation,problem solving , and learning methods of Artificial Intelligence.</p><h4>3.Artificial Intelligence: A Modern Approach</h4><p>It is the best book that explains all the fundamentals of AI.</p><h4>4.ML by McGraw-Hill International Editions Computer Science Series</h4><p>This book covers the field of Machine Learning which is the study of algorithms that allow computer programs to automatically improve through experience.This book can help the undergraduate and introductory level graduate courses in Machine Learning.</p><h4>5.Introduction to Machine Learning Problem Framing from Google</h4><p>This is one-hour course introduces the machine learning basics and helps you identify the appropriate situations for Machine Learning.</p><h4>6.Python for Data Analysis(2nd Edition) O’Reilly</h4><p>This is best book for learning all the basics of python language for Machine Learning.It also contains all the basics of libraries for ML.</p><h4>So what are your favorite online learning resources for Machine Learning and Deep Learning ??</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f9a8bdf672ca" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>