<?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 Vyom Pathak on Medium]]></title>
        <description><![CDATA[Stories by Vyom Pathak on Medium]]></description>
        <link>https://medium.com/@01-vyom?source=rss-e9d5c08194b4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*CdcjrUw63EcZb0ersrHfig@2x.jpeg</url>
            <title>Stories by Vyom Pathak on Medium</title>
            <link>https://medium.com/@01-vyom?source=rss-e9d5c08194b4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 13:30:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@01-vyom/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[Guide on starting Machine Learning]]></title>
            <link>https://medium.com/@01-vyom/guide-on-starting-machine-learning-40ffba627d41?source=rss-e9d5c08194b4------2</link>
            <guid isPermaLink="false">https://medium.com/p/40ffba627d41</guid>
            <category><![CDATA[probability]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[guides-and-tutorials]]></category>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[deep-learning]]></category>
            <dc:creator><![CDATA[Vyom Pathak]]></dc:creator>
            <pubDate>Wed, 09 Mar 2022 05:25:18 GMT</pubDate>
            <atom:updated>2023-01-19T04:33:18.161Z</atom:updated>
            <content:encoded><![CDATA[<p>From basic Statistics to advanced Deep Learning</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8SWlH372eZIsp-3H" /><figcaption>Photo by <a href="https://unsplash.com/@cadop?utm_source=medium&amp;utm_medium=referral">Mathew Schwartz</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>This is a rough guide on starting one’s journey in Machine Learning. This entails that, if I were to start my Machine Learning journey I would follow this guide. But, different people cope with new information with different methods so one can hollistically choose only necessary steps that they intent to learn based on their experience.</p><p>The course links that I have attached might be outdated and there might be other updated courses available as well. Please use this guide with a pinch of salt, look at the flow of the guide, and do your own research to learn the concepts catered to your understanding techniques.</p><h4><strong>1) Start by learning the basics of linear algebra, statistics and probability from youtube and other sources</strong></h4><p><strong><em>Youtube:</em></strong></p><p><a href="https://www.youtube.com/c/joshstarmer">StatQuest with Josh Starmer</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fvideoseries%3Flist%3DPL0KQuRyPJoe6KjlUM6iNYgt8d0DwI-IGR&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fplaylist%3Flist%3DPL0KQuRyPJoe6KjlUM6iNYgt8d0DwI-IGR&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FMXaJ7sa7q-8%2Fhqdefault.jpg%3Fsqp%3D-oaymwEWCKgBEF5IWvKriqkDCQgBFQAAiEIYAQ%3D%3D%26rs%3DAOn4CLB9bGoMtOHueSUKGS33oO3D7a0BtQ%26days_since_epoch%3D19060&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="853" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d4181d362aa8920757de1c5652a0923d/href">https://medium.com/media/d4181d362aa8920757de1c5652a0923d/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fvideoseries%3Flist%3DPLZHQObOWTQDPD3MizzM2xVFitgF8hE_ab&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fplaylist%3Flist%3DPLZHQObOWTQDPD3MizzM2xVFitgF8hE_ab&amp;image=https%3A%2F%2Fi9.ytimg.com%2Fs_p%2FPLZHQObOWTQDPD3MizzM2xVFitgF8hE_ab%2Flandscape_mqdefault.jpg%3Fsqp%3DCPiYoJEGir7X7AMGCOqwiNsF%26rs%3DAOn4CLCHEl1YNL4z8wi1RQprNNV_JC7luQ%26v%3D1533155434%26days_since_epoch%3D19060&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="853" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/b7b166eaa43d85a716c58cf9b9acb9aa/href">https://medium.com/media/b7b166eaa43d85a716c58cf9b9acb9aa/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fvideoseries%3Flist%3DPL49CF3715CB9EF31D&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fplaylist%3Flist%3DPL49CF3715CB9EF31D&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FZK3O402wf1c%2Fhqdefault.jpg%3Fsqp%3D-oaymwEWCKgBEF5IWvKriqkDCQgBFQAAiEIYAQ%3D%3D%26rs%3DAOn4CLAXJ_bQgZCFRFLfjQ_LMSlRsdU0VQ%26days_since_epoch%3D19060&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="853" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d3c326b2e2e90479c13e04f7bf7f5bd2/href">https://medium.com/media/d3c326b2e2e90479c13e04f7bf7f5bd2/href</a></iframe><p><strong><em>Books:</em></strong></p><ul><li><a href="https://www.amazon.com/How-Lie-Statistics-Darrell-Huff/dp/0393310728">How to Lie with Statistics</a></li><li><a href="https://www.amazon.com/First-Course-Probability-9th/dp/032179477X">First Course in Probability, A</a></li></ul><h4>2) Do competitive coding/timed coding to increase your python skills.</h4><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fvideoseries%3Flist%3DPLDN4rrl48XKpZkf03iYFl-O29szjTrs_O&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fplaylist%3Flist%3DPLDN4rrl48XKpZkf03iYFl-O29szjTrs_O&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F0IAPZzGSbME%2Fhqdefault.jpg%3Fsqp%3D-oaymwEWCKgBEF5IWvKriqkDCQgBFQAAiEIYAQ%3D%3D%26rs%3DAOn4CLBaKvqhu0r1zhpzSto871vg7lcuhg%26days_since_epoch%3D19207&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="853" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/9a608207f11cca1f71784be0ec308764/href">https://medium.com/media/9a608207f11cca1f71784be0ec308764/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fvideoseries%3Flist%3DPL3pGy4HtqwD02GVgM96-V0sq4_DSinqvf&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fplaylist%3Flist%3DPL3pGy4HtqwD02GVgM96-V0sq4_DSinqvf&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F9MmC_uGjBsM%2Fhqdefault.jpg%3Fsqp%3D-oaymwEWCKgBEF5IWvKriqkDCQgBFQAAiEIYAQ%3D%3D%26rs%3DAOn4CLCT-JgpSztUxSHXMH6ZmbG4sHx3gg%26days_since_epoch%3D19060&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="853" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/72b5e03173d49c3e2d851d56a8d252c8/href">https://medium.com/media/72b5e03173d49c3e2d851d56a8d252c8/href</a></iframe><h4>3) Start Andrew Ng’s Machine Learning course from Coursera</h4><p><a href="https://www.coursera.org/learn/machine-learning">Supervised Machine Learning: Regression and Classification</a></p><h4>4) Start learning about different data analysis libraries in python like: Numpy, Pandas, Matplotlib and Seaborn</h4><h4>5) Start learning some machine learning libraries from python like : 1] Tensorflow or Pytorch and 2] Scikit-learn</h4><p><strong><em>If you start with tensorflow start with this :</em></strong></p><p><a href="https://developers.google.com/machine-learning/crash-course">Machine Learning | Google for Developers</a></p><h4><strong>6) After that start practising basic ML algorithms on Kaggle Datasets</strong></h4><ul><li><a href="https://www.kaggle.com/c/house-prices-advanced-regression-techniques/overview">House Prices - Advanced Regression Techniques</a></li><li><a href="https://www.kaggle.com/c/titanic">Titanic - Machine Learning from Disaster</a></li><li><a href="https://www.kaggle.com/c/spaceship-titanic">Spaceship Titanic</a></li></ul><p>There are many ongoing competitions also but start basic completed competitions first. For ongiong ones, one can start with the <a href="https://www.kaggle.com/competitions?prestigeFilter=other&amp;hostSegmentIdFilter=8">Monthly Tabular Playground Series</a>.</p><h4>7) For understanding basics of deep learning</h4><p><strong><em>Start with the specialization from Coursera:</em></strong></p><p><a href="https://www.coursera.org/specializations/deep-learning">Deep Learning</a></p><p><strong><em>Youtube:</em></strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fvideoseries%3Flist%3DPLkt2uSq6rBVctENoVBg1TpCC7OQi31AlC&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fplaylist%3Flist%3DPLkt2uSq6rBVctENoVBg1TpCC7OQi31AlC&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FNfnWJUyUJYU%2Fhqdefault.jpg%3Fsqp%3D-oaymwEWCKgBEF5IWvKriqkDCQgBFQAAiEIYAQ%3D%3D%26rs%3DAOn4CLDIKIzfmzj9cHyyweVVV4BzkW70ZA%26days_since_epoch%3D19060&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="853" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/008a10b02e790c16f35ca08b22f4740d/href">https://medium.com/media/008a10b02e790c16f35ca08b22f4740d/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fvideoseries%3Flist%3DPLoRl3Ht4JOcdU872GhiYWf6jwrk_SNhz9&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fplaylist%3Flist%3DPLoRl3Ht4JOcdU872GhiYWf6jwrk_SNhz9&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FcbeTc-Urqak%2Fhqdefault.jpg%3Fsqp%3D-oaymwEWCKgBEF5IWvKriqkDCQgBFQAAiEIYAQ%3D%3D%26rs%3DAOn4CLDmGEjyIDfnDSyH7tf2Y2XyB8KJnA%26days_since_epoch%3D19060&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="853" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/fd458da0957194d97801cadff9f68243/href">https://medium.com/media/fd458da0957194d97801cadff9f68243/href</a></iframe><p>Bit advanced:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fvideoseries%3Flist%3DPLLHTzKZzVU9e6xUfG10TkTWApKSZCzuBI&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fplaylist%3Flist%3DPLLHTzKZzVU9e6xUfG10TkTWApKSZCzuBI&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FeJeJWWEo7cE%2Fhqdefault.jpg%3Fsqp%3D-oaymwEWCKgBEF5IWvKriqkDCQgBFQAAiEIYAQ%3D%3D%26rs%3DAOn4CLBfGLd5H3H-ZIRwHIOioC-7BMGAXg%26days_since_epoch%3D19567&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="853" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d435b75c91c6270b24117aecbdbb50e0/href">https://medium.com/media/d435b75c91c6270b24117aecbdbb50e0/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fvideoseries%3Flist%3DPLiPvV5TNogxKKwvKb1RKwkq2hm7ZvpHz0&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fplaylist%3Flist%3DPLiPvV5TNogxKKwvKb1RKwkq2hm7ZvpHz0&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F2fRnHVVLf1Y%2Fhqdefault.jpg%3Fsqp%3D-oaymwEWCKgBEF5IWvKriqkDCQgBFQAAiEIYAQ%3D%3D%26rs%3DAOn4CLDmN3aGCjV205LotpgpWJfISOer9w%26days_since_epoch%3D19060&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="853" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/bfc53fe4c5c9884ea8154aa36ca812ac/href">https://medium.com/media/bfc53fe4c5c9884ea8154aa36ca812ac/href</a></iframe><p><strong><em>Books:</em></strong></p><ul><li><a href="https://www.deeplearningbook.org/">Deep Learning</a></li><li><a href="https://d2l.ai/index.html">Dive into Deep Learning - Dive into Deep Learning 1.0.3 documentation</a></li></ul><h4>8) Now you have reached a point where reading articles and watching videos is not enough, start reading research papers</h4><p>Use Google Scholar: <a href="https://scholar.google.com/">https://scholar.google.com/</a></p><p>A Roadmap to reading deep learning research papers:</p><p><a href="https://github.com/floodsung/Deep-Learning-Papers-Reading-Roadmap">GitHub - floodsung/Deep-Learning-Papers-Reading-Roadmap: Deep Learning papers reading roadmap for anyone who are eager to learn this amazing tech!</a></p><h4>9) Practising deep learning with libraries</h4><p><strong><em>TensorFlow:</em></strong></p><p><a href="https://www.coursera.org/professional-certificates/tensorflow-in-practice">DeepLearning.AI TensorFlow Developer</a></p><p>[Very insightful in different applications of deep learning.]</p><ul><li>Now to integrate models with web and mobile apps go for tensorflow-lite and JS course on Coursera:</li></ul><p><a href="https://www.coursera.org/specializations/tensorflow-data-and-deployment">TensorFlow: Data and Deployment</a></p><p><strong><em>Keras:</em></strong></p><p><a href="https://www.amazon.com/Learning-Python-Second-Fran%C3%A7ois-Chollet/dp/1617296864/ref=sr_1_1?crid=2RJ6WX6JOUB14&amp;keywords=Deep+Learning+with+Python%2C+Second+Edition+2nd+Edition&amp;qid=1646800177&amp;s=books&amp;sprefix=deep+learning+with+python%2C+second+edition+2nd+edition%2Cstripbooks%2C123&amp;sr=1-1">Deep Learning with Python, Second Edition</a></p><p><strong><em>PyTorch:</em></strong></p><p><a href="https://www.amazon.com/Deep-Learning-PyTorch-Eli-Stevens/dp/1617295264">Deep Learning with PyTorch: Build, train, and tune neural networks using Python tools</a></p><p><strong><em>HuggingFace:</em></strong></p><ul><li><a href="https://huggingface.co/course/chapter1/1">Transformer models - Hugging Face Course</a></li><li><a href="https://transformersbook.com/">Natural Language Processing with Transformers Book</a></li></ul><h4>11) Practice Practice Practice 🔄 Learn Learn Learn</h4><ul><li>While doing all of this, keep track of all the project that you have done, properly on github to understand git-environment as well.[Learn about issues, PRs and different branches]</li><li>Also keep doing kaggle/hackerearth competitions as it will be very helpful in learning stuff as well as a good showcase for your cv. Kaggle is like competitive coding but for ML, you have to keep practising.</li><li>Also, learn about integration of models as APIs and using cloud computing[GCP,Azure,AWS] with distributed learning[Multi GPU training].</li><li>After that start practising dl algorithms on Kaggle : <a href="https://www.kaggle.com/">https://www.kaggle.com/</a>. Go for <a href="https://www.kaggle.com/competitions?listOption=active&amp;prestigeFilter=money">ongoing competitions</a>, this will allow you to work with people in the industry, and learn nuances about data, models, and the whole pipeline.</li></ul><p><a href="https://missing.csail.mit.edu/">The Missing Semester of Your CS Education</a></p><h4>12) For AI go for a solid course by CS50 and Coursera :</h4><p><a href="https://www.deeplearning.ai/ai-for-everyone/">https://www.deeplearning.ai/ai-for-everyone/</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fvideoseries%3Flist%3DPLhQjrBD2T382Nz7z1AEXmioc27axa19Kv&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fplaylist%3Flist%3DPLhQjrBD2T382Nz7z1AEXmioc27axa19Kv&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FgR8QvFmNuLE%2Fhqdefault.jpg%3Fsqp%3D-oaymwEWCKgBEF5IWvKriqkDCQgBFQAAiEIYAQ%3D%3D%26rs%3DAOn4CLCqGjKktTuQIpQN0e9Sx92jK4dISw%26days_since_epoch%3D19060&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="853" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/bd966717321bb0c9cba205edf2c64a84/href">https://medium.com/media/bd966717321bb0c9cba205edf2c64a84/href</a></iframe><ul><li>Try to implement some of the algorithms to understand them more comprehensively.</li></ul><h4>13) For more specialisation subscribe to The Batch by Deeplearning.ai for their latest courses</h4><p><a href="https://www.linkedin.com/company/deeplearningai/">DeepLearning.AI | LinkedIn</a></p><p><a href="https://www.deeplearning.ai/thebatch/">https://www.deeplearning.ai/thebatch/</a></p><h4>14) Advanced Courses and other resources :</h4><p><strong><em>Youtube:</em></strong></p><p><a href="https://www.youtube.com/channel/UC_48v322owNVtORXuMeRmpA/playlists">From Languages to Information</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fvideoseries%3Flist%3DPLoROMvodv4rOSH4v6133s9LFPRHjEmbmJ&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fplaylist%3Flist%3DPLoROMvodv4rOSH4v6133s9LFPRHjEmbmJ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FrmVRLeJRkl4%2Fhqdefault.jpg%3Fsqp%3D-oaymwEWCKgBEF5IWvKriqkDCQgBFQAAiEIYAQ%3D%3D%26rs%3DAOn4CLDphlVW47Jb0rAjsj-R3FuwN6QJ3w%26days_since_epoch%3D19060&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="853" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/c9484f4ee984619ac5a5890a848e8256/href">https://medium.com/media/c9484f4ee984619ac5a5890a848e8256/href</a></iframe><p><a href="https://www.youtube.com/channel/UCZHmQk67mSJgfCCTn7xBfew">Yannic Kilcher</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fvideoseries%3Flist%3DUUbfYPyITQ-7l4upoX8nvctg&amp;url=https%3A%2F%2Fwww.youtube.com%2Fuser%2Fkeeroyz&amp;image=https%3A%2F%2Fyt3.ggpht.com%2Fa%2FAGF-l7-HtigQFRSxp4OSMyQBRLmkarVw-R9FomFsvw%3Ds900-c-k-c0xffffffff-no-rj-mo&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="853" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/c1e4682ad60919e0f6c154e22f7b0fc8/href">https://medium.com/media/c1e4682ad60919e0f6c154e22f7b0fc8/href</a></iframe><p><a href="https://www.youtube.com/c/CodeBullet">Code Bullet</a></p><p><strong><em>Articles Sources:</em></strong></p><ul><li><a href="https://medium.com/topic/data-science">The most insightful stories about Data Science - Medium</a></li><li><a href="https://medium.com/topic/machine-learning">The most insightful stories about Machine Learning - Medium</a></li><li><a href="https://towardsdatascience.com/">Towards Data Science</a></li><li><a href="https://www.analyticsvidhya.com/">Analytics Vidhya | The ultimate place for Generative AI, Data Science and Data Engineering</a></li><li><a href="https://distill.pub/">Distill - Latest articles about machine learning</a></li><li><a href="https://paperswithcode.com/">Trending Papers - Hugging Face</a></li></ul><p><strong><em>Reddit resource:</em></strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=reddit&amp;url=https%3A//www.reddit.com/r/learnmachinelearning/comments/fevvo6/list_of_machine_learning_resources_for_a_beginner/%3Futm_medium%3Dandroid_app%26utm_source%3Dshare&amp;image=https%3A//i.embed.ly/1/image%3Furl%3Dhttps%253A%252F%252Fexternal-preview.redd.it%252FO4OEwoaylRV9LgVMHWTR1QUHByg6QD-7fBdj_4HkAzE.jpg%253Fauto%253Dwebp%2526s%253D42269cbd8c73c5b3ded1a67e6f9f64f6f5c8d015%26key%3Da19fcc184b9711e1b4764040d3dc5c07" width="600" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/dd2d74b42482fd295e7fe65dd3f31799/href">https://medium.com/media/dd2d74b42482fd295e7fe65dd3f31799/href</a></iframe><p><strong><em>For NLP Specialization :</em></strong></p><ul><li><a href="http://web.stanford.edu/class/cs224n/">Stanford CS 224N | Natural Language Processing with Deep Learning</a></li><li><a href="https://www.coursera.org/specializations/natural-language-processing">Natural Language Processing</a></li></ul><p><strong><em>For GAN Specialization :</em></strong></p><p><a href="https://www.coursera.org/specializations/generative-adversarial-networks-gans">Generative Adversarial Networks (GANs)</a></p><p><strong><em>AI for medicine :</em></strong></p><p><a href="https://www.coursera.org/specializations/ai-for-medicine">AI for Medicine</a></p><p><strong><em>For basics of Reinforcement Learning :</em></strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fvideoseries%3Flist%3DPLqYmG7hTraZDVH599EItlEWsUOsJbAodm&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fplaylist%3Flist%3DPLqYmG7hTraZDVH599EItlEWsUOsJbAodm&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FTCCjZe0y4Qc%2Fhqdefault.jpg%3Fsqp%3D-oaymwEWCKgBEF5IWvKriqkDCQgBFQAAiEIYAQ%3D%3D%26rs%3DAOn4CLDf7-V_fZoNYa_zzP3T9oBb4thTFw%26days_since_epoch%3D19060&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="853" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/5306590bd24ca9caffc6d1d7868b39b7/href">https://medium.com/media/5306590bd24ca9caffc6d1d7868b39b7/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fvideoseries%3Flist%3DPLqYmG7hTraZDM-OYHWgPebj2MfCFzFObQ&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fplaylist%3Flist%3DPLqYmG7hTraZDM-OYHWgPebj2MfCFzFObQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F2pWv7GOvuf0%2Fhqdefault.jpg%3Fsqp%3D-oaymwEWCKgBEF5IWvKriqkDCQgBFQAAiEIYAQ%3D%3D%26rs%3DAOn4CLCDCi_YWEqaTYGimUwvkcnfYdS5fg%26days_since_epoch%3D19368&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="853" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/0759d3c86a44a824b180f74150b67d35/href">https://medium.com/media/0759d3c86a44a824b180f74150b67d35/href</a></iframe><ul><li>Now go in depth of any of the deep learning paradigms of your interest. Think of your own definition or go for enhancement of an already published problem. It is not about completing everything as it is an endless subject, it is about understanding and learning something of your interest thoroughly.</li><li>Always remember to practise the algorithms you learned in kaggle or any other competition like hackerearth. After you have gained enough knowledge try to read research papers and tackle a research problem. Seek mentors whose interests align with yours. There are tons of people around the world who work on innovative research problems, one of whom would be bound to help you in some way or the other.</li></ul><p>These are all more than sufficient resources one needs to carve a path in the Machine Learning field. This should still be considered as a guide, and not a must follow thing. Do, what suits you best, just rememeber to build foundations along the way, and just start.</p><blockquote>“There are only two mistakes one can make along the road to truth; not going all the way, and not starting.”<br> — Buddha</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=40ffba627d41" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Professional Journey]]></title>
            <link>https://medium.com/@01-vyom/professional-journey-83c57822d1e2?source=rss-e9d5c08194b4------2</link>
            <guid isPermaLink="false">https://medium.com/p/83c57822d1e2</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[apple]]></category>
            <category><![CDATA[internships]]></category>
            <category><![CDATA[amazon]]></category>
            <category><![CDATA[internship-experience]]></category>
            <dc:creator><![CDATA[Vyom Pathak]]></dc:creator>
            <pubDate>Tue, 08 Mar 2022 04:45:06 GMT</pubDate>
            <atom:updated>2022-03-08T04:45:06.018Z</atom:updated>
            <content:encoded><![CDATA[<p>My story of landing Machine Learning internships at Apple and Amazon</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jx10AfYk4pWJ_GXn" /><figcaption>Photo by <a href="https://unsplash.com/@thips?utm_source=medium&amp;utm_medium=referral">Thiébaud Faix</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3><strong>Background</strong></h3><h4>Undergrad</h4><p><strong>1st year</strong></p><ul><li>Started B. Tech. in Computer Engineering in Dharmsinh Desai University in 2017.</li><li>Was intimidated by people around me because of their intellect. Though I was fond of Computers from 6th standard and had a little C lang. and some Linux experience, so I assured myself that this is my field and I will give my 100% to succeed in it.</li><li>First year passed by with a breeze learning C in depth and polishing Linux. At the end of first year, I partnered with my friend Muktan and decided to build a 2-user application in C programming. We had just learned about file read-write, so we used files as databases, and terminals as UI/UX, made a whole architecture on the happy/unhappy for user-interaction.</li><li>Project laid ground-work in fundamentals of programming, software design, and team-work.</li><li>Summary: [No idea what to do with these skills yet but was having fun… XD]</li></ul><p><strong>2nd year</strong></p><ul><li>Second year started with foundations in databases, Core Java, data structures and algorithms. This helped me realise the true depth of programming i.e. building complex algorithms using logic.</li><li>With that, I got introduced to competitive programming by my seniors. I was very much fond of solving problems, and doing competitive programming truly made me understand the meaning of the sentence : “thinking out of the box”.</li><li>Started doing competitive programming on codechef, helping me truly think about a problem. Took part in ACM-ICPC, came college 1st. Seeked true application of algorithms and data structures. Learned about applets and stuff for building web-apps.</li><li>In the second half of the year, I got introduced with Java-Web-Apps, PHP, and Python as web-development languages. In that year I was introduced to Arduino as a programming language to work on the basics of IOT.</li><li>I was part of probably one of the most perfectly balanced teams for developing a project (Me, Swar Patel, and Priyank Chaudhari). We built 3 websites, and 1 IOT project; along with completing 6 subjects. We deployed one of those projects on Heroku as well.</li><li>Summary: [Thoughts about becoming a web-developer became clear to me, but still I was not able to digest the thought completely.]</li><li>By the end of 2nd year, I attended one of the DSC DDU’s Seminar: Machine Learning.</li><li>I learned about ML, and that day I was thinking about all those gadgets that I ever used that helped automate my life. From Gmail Spams to Talking Tom to Google Search to Google Actions….</li><li>I was so intrigued by ML that that summer I decided to learn more about it. So, I and Muktan started Andrew Ng’s Machine Learning Course from Coursera.</li><li>Starting a new topic with no external guidance is difficult. I was glad to start it with my friends to ask questions, clarify intricate sub-topics, and push each other through the whole topic while learning a particular topic from different perspectives.</li><li>Summary: [Segwayed from web-development to learn a completely new field. Still not sure what to do after bachelors ;)]</li></ul><p><strong>3rd year</strong></p><ul><li>After completing the ML course, I and Muktan again wanted to apply the learning about ML theory. But, is it this easy in real-life scenarios for a given problem? How do you model a problem into an ML problem? To answer all of these questions, as before, we thought of applying the knowledge to real-life problems.</li><li>We started doing a Kaggle competition on House price prediction.By this, I got exposed to learning about ML frameworks like Tensorflow, hidden caveats about tabular data and how to clean and pre-process them based on their distribution [came across one of the weirdest words: hetrodesckedisicty. Weird right?!?].</li><li>Another thing that I learned from Muktan was that, it is more important to completely understand some sub-topic rather than completing the whole topic. As we were working on the project, we worked slowly to learn about all the nuances of the problem. We treated each obstacle as an opportunity to add one more tool to our arsenal that is our mind, no matter how much patience we needed for it.</li><li>In the subsequent half of the year, I was referred by my friend Muktan to apply in DSC DDU for the Machine Learning team to share our knowledge as well as learn from similar minds as well. I got selected as a ML team member.</li><li>We completed the Kaggle competition with an introduction to deep learning. In this semester, we had a cool project based subject. My friends Muktan, Deepang, and I set-out to develop a system to translate video from one language to another language. This thought was purely developed to understand the audio and video domain in Deep Learning.</li><li>We quickly realised the system was divided into several small systems: 1) Speech from video 2) Speech to text 3) Translate Text, and 4) Text to Speech.</li><li>Getting Speech from video was easy. The 2nd part was where we first started looking at research papers to see techniques that could do Speech-to-text for the English Language. We build it from the paper using Tensorflow.</li><li>Our guide, Dr. Brijesh Bhatt (BSB Sir) suggested us to build the system for our native language i.e. Gujarati Language. So we adapted the English Automatic Speech Recognition System (ASR) model to the Gujarati language.</li><li>We faced the resource constraint problem and Deep Learning requiring a huge amount of data, our system was quite sub-par than the SOTA model.</li><li>BSB Sir gave us room to think about the problem at hand and ideas to solve it. So now that the ball was in our court, we buckled down and came up with several solutions to the problem, and thus we used to brainstorm for hours to discuss each other’s findings and according to the merits, and demerits, we devised several experiments to improve the current system.</li><li>[This was a turning point for me. I fell head over heel for research because it was end-to-end i.e. it built a concept which was proven to be correct, and it all showed the application of the concept hand in hand along with what others can do with it that is either build on top of it or use it to build a completely new concept.]</li><li>COVID-19 hit and everything was halted with panic. We kept on gaining access to the situation by online meetings and conducted several experiments to improve the performance of ASR. With this, we were able to devise two unique techniques because of which we were able to write/revise/publish a paper in ICON-2020. This was all possible because of our guide’s supporting [BSB sir] all of the steps for writing the paper.</li><li>By this time, I had given several talks as a ML team member as a part of DSC DDU. Because of that by next year, I was promoted to a Machine Learning team Head where I mentored a team of 5 to develop innovative solutions, as well as guided them on spreading the ML knowledge through Seminars.</li><li>Summary: [I have finally decided what to do. Phew!! I wanted to pursue research in Machine Learning. I set — out to seek this through higher education, with even better opportunities.]</li><li>For the final summer, I decided to apply to different companies for ML internships [to get some knowledge about how ML is used in companies, and how they all orchestrate the whole team and projects and stuff like that.]. I was too late because I started applying in March of that year. So, I was getting a lot of traction. Luckily, I got an offer from Atliq Technologies as a SDE Intern. Even though I was not able to find an ML internship, this internship role helped to provide invaluable professional work experience.</li></ul><p><strong>4th Year</strong></p><ul><li>As my penultimate semester [first half of final year] started, I prepared for GRE and TOEFL, and gave them by the end of the semester. I got a decent score, but it didn’t matter to me because most of the colleges were not considering the GRE score as an admission criteria so I didn’t retake it. Parallely, this was a good semester to learn about digital image processing, polish my machine learning skills and explore options about my final semester internship/research project. Along with this, we were working on our 2nd research paper, as an extension to the first one. Because of my research work, I was recommended for an ML Research Intern at the Indian Space Research Organisation (ISRO).</li><li>In the second half of this year, while interning at ISRO I applied to many US universities. At ISRO, because of my novel research work along with my helpful guide Dr. Arvind Sahay, I wrote and published a paper in IEEE as well. After completing my internship, I got admitted to University of Florida for a Master’s in Computer Science program.</li><li>Now, before starting my master’s program, I had about 3 months of break time. During this time, I along with my friends Muktan and Deepang took part in a Kaggle competition named CommonLit Readability Price (Natural language Processing competition). I got to learn about 1) fine tuning large language models, 2) implementing SOTA models using Pytorch, 3) developing an end-to-end experimentation pipeline on Kaggle. All of these helped us to pull a silver medal in this competition.</li><li>Along with this, Muktan and Deepang were working on developing our 3rd ASR paper (Multi-lingual low-resource ASR system). We are still currently working on it. Also, I worked on open-source contributions to libraries like typeshed, pandas, hugging face, Keras, Tensorflow, and Pytorch (Ignite).</li><li>After publishing the second paper, we also wrote medium blogs on our learning about ASRs and their caveats.</li><li>All in all, in 3 months, we won a kaggle competition, contributed to 5+ OSS, published our 2nd research paper, and wrote medium blogs amongst the looming fear of COVID-19. [As I said before, the only thing that kept me going was the constant support from my family, and me actually enjoying the whole process.]</li><li>Summary: [I was very much excited to read and work on various different research works and started to gauge the research field with all of my experiences. Also, shout to some of the people who helped me grow immensly were Vivek Shah, Jay Patel, Dipesh Patil, Lokesh Narwani, Smit Hapani, Swar Patel, and Priyank Chaudhari]</li></ul><h3>Graduate School</h3><h4><strong>Fall 2021</strong></h4><p><strong>Lab-Search</strong></p><ul><li>My main goal in masters was to work in a lab that would be tinkering with Natural language processing tasks. So, I set out to contact every professor I could find in the University of Florida to ask for some kind of project that I could work on in their lab.</li><li>With my background knowledge, I was able to start as a Laboratory Assistant at the Data Science Research Lab under the guidance of Dr. Daisy Wang. I learned so much about the semantic relationship of 2 natural language sentences by working on their ongoing AIDA hypothesis generation project funded by DARPA.</li><li>Along with this, I was also navigating through my university courses where one of my courses was Dialogue Systems, where I worked on developing a Zero-Shot dialogue system using schema-guided paradigm as a proof-of-concept for quick wire-framing dialogue system ideas. The main thing I learned from this project was the human side of a dialogue system. I am very much indebted to Dr. Kristy Boyer for teaching me such a peculiar yet interesting subject.</li></ul><p><strong>Internship-Search</strong></p><ul><li>Amongst all this chaos of new lab, new subjects, people all around me were solely focused on getting an internship for the coming Summer. I started to write my resume to get the best of all my projects and research work.</li><li>Due to my seniors (Hetansh Patel, and Mitul Mandalia), I got several insights on how to apply for internships, how to make my resume ATS friendly using sites like <a href="http://resumeworded.com/">http://resumeworded.com/</a>, how to first look through LinkedIn and find people to refer you so that you could funnel your profile for better conversion rate. I also got to know about how to network on LinkedIn i.e. to connect with hiring managers, recruiters to basically tell your story to them. This might be the best solution to getting some kind of traction instead of applying directly through the company portal.</li></ul><p><strong>December 2021: Meta Interview for Research Scientist Intern</strong></p><ul><li>While people were applying and getting some kind of response, I was not getting a single response. Till December I had zero-interview. Then, before christmas break, I got an interview schedule email from Meta (Facebook) for the Portal Audio team as a Research Scientist Intern. But the role had several requirements for Digital Signal Processing.</li><li>My initial thought process was that during Christmas, I would grind by learning DSP, and would start brushing up my data structures and algorithms [oh wow, I completely forgot about these for like 3 years XD…].</li><li>Summary: [After having a steady road for my research career, I was a bit worried about interview processes because neither did I have ML/Data Science interview process experience nor did I have any solid amount of professional work experience which everyone around me had, providing them an edge over me for internship applications.]</li><li>Fate had something else planned for me. The Christmas break was a turning point for me. While grinding for the Meta Interview, I learned one of the most important lessons that I worked; from my relatives, that it is important to keep balance around you whether it is studies, your lab work or it is your school work or it is your internship preparation. Her exact words to me were that, “<em>sure people come to the US to get internships, to get jobs and to settle here, but this college life will never come back. You will be stuck in an endless chain of work at your job. So, while you do prepare for internships, do get the full college experience. Study the skills that you came here to study, work on improving yourself in a balanced way, eat and sleep well for a balanced mind and body. You do not need to rush yourself to get a job, because you will achieve your feet sooner or later.</em>”</li></ul><blockquote>“Why rush this journey that is life?”</blockquote><p><strong>Spring 2022: January: J.P. Morgan and Chase NLP Intern Interview, Meta Interview, Amazon Interview, and Apple Interview — [Planning and Grind Arc]</strong></p><ul><li>So, while I was preparing for my Meta interview, I got a call from J.P. Morgan and Chase. They were hastily trying to take an interview so I scheduled an interview 2 weeks from my call (around 4th January).</li><li>I started preparing for that by studying the Natural Language Processing Textbook and refreshing various topics that can be asked in a very tricky manner.</li><li>I was completely ready for the interview in terms of the NLP aspect. But, I had not asked the scheduler for the interview structure. So the interview actually consisted of 4 parts: coding, statistics, machine learning knowledge with framework knowledge, and resume review. So, having not prepared that well for the interview, it went ok-ish and I kinda knew that they would reject me sooner or later, I was rejected in February 2022.</li><li>Summary: [I was a fool to think it is only an NLP interview when the interview says that it will be an iNLP interview. Note: Always ask recruiter what the interview will entail and would be the structure of the interview because in case of ML inpernview, there are cases that for interview, there are 2 or more round where one focuses on the coding and the behavioural part of the interview, and the second entails at testing your machine learning research skills as well as your in-dept resume review.]</li><li>After that, I gave the facebook interview with full prep even asking the proper interview structure. There were 2 interviews, where the first one consisted of coding questions based on their domain (DSP domain). This was difficult for me to navigate because I studied the whole topic for the first time in the last 15 days. So, I pretty uch bombed the interivew.</li><li>Second one was a research interview. Here, the interview consisted of basic DSP and some advanced team-specific questions [DSP], and my research related questions. I was able to tackle most of the ML research question, but I visibly struggled for the team-specific questions. Surely I got rejected after 24 hours from Meta (facebook).</li><li>Summary: [From the J.P. Morgan interview I learned about different aspects of the interview, like asking for the interview structure. From Meta I learned about my weak points in ML domain and what I needed to polish]</li><li>While giving the Meta interviews, I was reaching out to Hiring Managers on LinkedIn. I found an Hiring Manager, who was hiring for the Alexa team, and I thought that I would be a good match, so I messaged them. They replied that they will flag my profile so that a recruiter can send an interview call.</li><li>After 3 days, I got a call from Amazon about scheduling interviews for the Applied Scientist Intern role. I set the dates 2 weeks from then for preparation as well as to balance my college, and lab work [I am still working in the lab in Spring 2022].</li><li>After 2 days of that, I got a call from Apple’s Siri team about scheduling interviews for the Machine Learning Intern role [This was totally a random lucky call based on my past work]. I scheduled these interviews 1 week after the interviews to avoid any clash.</li><li>In the coming two weeks, I planned such that I could first cover Amazon prep i.e. common data science, machine learning questions, in depth resume review which included an in depth study about ASR and NLP, and the most daunting part for me coding [geez, I finally had to do it quite seriously.]. I was already doing 2 or 3 questions a day but I had to get a grip on data structures like Heap, DFS, BFS, and DP.</li><li>For Amazon, in the ML round I was asked about my in depth resume review and my design choices in selecting a ML algorithm, and some Behavioural questions. For the coding round I was behavioural as well as a coding question. Reviewing the leadership principles really helped me with behavioural questions. I felt that both the rounds went well. But, the team got filled and I got rejected.</li><li>For Apple, in the ML round I was about Probability, basics of ASR systems in great depth. For the coding round I was asked basic algorithm based 2 questions which were easy to medium. I thought the interviews went pretty well, but the Apple team that interviewed me got the field as well [teams getting full; story of my life].</li><li>Summary: [The Apple interview taught me to practice in-depth about a topic. The Amazon interview taught me about the importance of behavioural topics. During the prep. period, I was very little focused on the end-results of the interviews. Rather I was more focused on the prep. which made a large amount of my nervousness and anxiety disappear. Again, this is all because of my family members and the learning from back in December. I didn’t waver on any of the rejection, because I thought of the rejections as learning opportunities to incorporate them in successive interviews.]</li></ul><p><strong>February 2022: Resurrection Arc</strong></p><ul><li>By mid-feb after getting both the rejects, I started again reaching out to people on LinkedIn and applied to several different places, and simultaneously balanced my semester work and my lab work. After 1 week of my Amazon rejection, I got the offer for an Applied Scientist Intern position for another profile. After that, I got another interview call from a different team at Apple as a ML intern. It consisted of 1 coding question, resume review, and basic ML. 24 hours later, I got the ML intern offer from Apple Siri Team.</li><li>I am currently learning about new aspects of Deep Learning more specifically applications of Computer Vision.</li><li>Summary: [While I got both the offer, I was not able to control myself from seeking even better opportunities. But, one of my wise friends (Mitul Mandaliya) told me to “be content but not satisfied”. Amongst all of this, I cannot begin to thank my roommates (Chahat Ajmera, Atharva Mishra) for bearing with me and helping me out in each and every step.]</li></ul><p>That’s all about my experience of finding my niche in this professional world. It cosists of a lot of ups and down, hard work, patience, mental-challenges and ofcourse luck.</p><blockquote>“You are what you believe yourself to be”<br> — Paula Coelho</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=83c57822d1e2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[End-To-End Speech Recognition]]></title>
            <link>https://medium.com/wavey-ai/end-to-end-speech-recognition-f13f0d0197c7?source=rss-e9d5c08194b4------2</link>
            <guid isPermaLink="false">https://medium.com/p/f13f0d0197c7</guid>
            <category><![CDATA[spectrogram]]></category>
            <category><![CDATA[log-spectrogram]]></category>
            <category><![CDATA[mel-spectrogram]]></category>
            <category><![CDATA[audio-features]]></category>
            <category><![CDATA[mfcc]]></category>
            <dc:creator><![CDATA[Vyom Pathak]]></dc:creator>
            <pubDate>Sun, 02 May 2021 06:33:26 GMT</pubDate>
            <atom:updated>2021-05-08T16:18:49.027Z</atom:updated>
            <content:encoded><![CDATA[<h4>Part 2: Simple Audio Feature Extraction for Machine Learning</h4><figure><img alt="Sound Waveys" src="https://cdn-images-1.medium.com/max/1024/1*rnCN-zuV-3IF6DGaZQo65g.png" /></figure><p>From the <a href="https://medium.com/wavey-ai/end-to-end-speech-recognition-f92c57ccf3df?source=friends_link&amp;sk=32ae0f7f8531759d7f80886b9fc63997"><em>previous</em></a> article, you will be having a basic knowledge of spectrogram, sound and its major components. In this article, we will further deep dive into different simple audio feature extraction methods and in further articles, we will discuss advanced audio feature extraction techniques using machine learning. So let’s continue with the spectrogram and understand how they are created.</p><p>As we know, spectrogram uses Fourier transform to extract a series of sine waves with different frequencies of the audio signal. So let’s now figure out what parameters do we require to create a spectrogram.</p><p>First, we need to store this analogous audio signal in a computer-readable format that is discrete. What are different file formats that are generally used to store audio? WAV, MP3, WMA. All these formats need to do some kind of sampling. How can sampling be done? What is sampling? etc. All these doubts can be cleared using a single image shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C23ts09BHhyHBGcU7WZPkg.png" /><figcaption>Source: <a href="https://www.kdnuggets.com/2020/02/audio-data-analysis-deep-learning-python-part-1.html">KDnuggets</a></figcaption></figure><p>As you can see, sampling is taking observation at a specific interval. So, in the end, we get an array of floating-points that is computer-readable. There is a term sampling rate (SR) which means after what interval should we take samples. Generally, its unit is in Hertz (Hz), which represents the number of samples to be taken in 1 unit time. For example, the WAV file format has a sampling rate of 44.1 kHz.</p><p>Now talking from the coding perspective, we have used <a href="https://librosa.org/doc/latest/index.html">LibROSA</a>, which is a python package for music and audio analysis. We can load an audio file (WAV, MP3, etc.) using the following command:</p><pre>y, sr = librosa.load(filename)</pre><p>It returns the floating-point array called audio time-series y and the sample rate at which the audio is sampled. We now need a spectrogram from this array of floating-points/audio time series. LibROSA is back to rescue, all Fourier transform and other additional steps can be done using the LibROSA library. To create a spectrogram we have the following line of code:</p><pre>D = np.abs(librosa.stft(y))<br><em>#np.abs(D[f, t])</em> is the magnitude of frequency bin <em>f</em> at frame <em>t</em></pre><p>Now it&#39;s time to explore the parameters for “<em>stft</em>”.</p><p>1) <em>y</em> — It is the audio time series. Basically, the floating-point array represents a sound waveform.</p><p>2) <em>n_fft</em> — Formally, length of the windowed signal after padding with zeros. It also represents frame length. The number of rows in the STFT matrix <em>D</em> is 1 + n_fft/2. <strong>Simply it decides the number of features that are been extracted for a single time step.</strong> By default, it is 2048 so according to the formula above there will be (1+2048/2) 1025 number of features per time step.</p><p>3) <em>hop_length — </em>number of samples between successive frames.</p><p>4) <em>win_length</em> — By default win_length = n_fft , but it’s value can be less than n_fft. According to LibROSA, “<em>Smaller values improve the temporal resolution of the STFT (i.e. the ability to discriminate impulses that are closely spaced in time) at the expense of frequency resolution (i.e. the ability to discriminate pure tones that are closely spaced in frequency). This effect is known as the time-frequency localization tradeoff and needs to be adjusted according to the properties of the input signal y</em>.”. Don’t worry about it if you don’t understand it because generally it is kept to default. <strong>For learning purposes, consider it as frame length.</strong></p><p>5) <em>window, center, dtype and pad_mode </em>are out of our learning scope.</p><p>Following GIF will help you to understand these parameters more clearly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*g5i-s6XdodxKAuZM9FAvJA.gif" /><figcaption><strong>Visualization of Conversion of audio to the spectrogram</strong> | ©<a href="https://github.com/pc810">Priyank Chaudhari</a></figcaption></figure><h4>Types of Spectrogram :</h4><h4><strong>Log Spectrogram</strong></h4><p>The logarithmic spectrum as opposed to a normal spectrum is a much more accessible representation. It’s not only more visual, but more importantly, <strong>the logarithmic values roughly approximate the sensitivity of the ear</strong>, such that logarithmic spectra can be used to assess the auditory importance of spectral features. The logarithmic spectrum visualizes spectral content such that the magnitude of values is approximately uniform throughout the spectrum.</p><p>The only exception is zeros and other very small values in the magnitude spectrum, which give negative infinities or arbitrarily large negative values in the log spectrum. For computations in the log-spectrum, arbitrarily large negative values are a problem. Though such values are “<em>difficult</em>” for visualizations, they are inconsequential for auditory perception and can be often ignored.</p><p><strong>Mel-Scale</strong><br><br><strong>Mel scale is a scale that relates the perceived frequency of a tone to the actual measured frequency.</strong> It scales the frequency to match more closely what the human ear can hear (humans are better at identifying small changes in speech at lower frequencies).<br>The range of human hearing is 20Hz to 20kHz. Imagine a tune at 300 Hz. This would sound something like the standard dialer tone of a land-line phone. Now imagine a tune at 400 Hz (a little higher pitched dialer tone). Now compare the distance between these two howsoever, this may be perceived by your brain. Now imagine a 900 Hz signal (similar to a microphone feedback sound) and a 1kHz sound. The perceived distance between these two sounds may seem greater than the first two although the actual difference is the same (100Hz). The mel-scale tries to capture such differences. As a result, four octaves on the hertz scale above 500 Hz are judged to comprise about two octaves on the mel-scale.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/356/1*erUKb2-Z-Wi_u8JWel6cDQ.gif" /><figcaption>Source: <a href="https://en.wikipedia.org/wiki/Mel_scale">Wikipedia</a></figcaption></figure><p>The name Mel comes from the word melody to indicate that the scale is based on pitch comparisons.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/329/1*eOnXjLiOFdkCfl-GBpZ1oA.png" /><figcaption>Source: <a href="https://en.wikipedia.org/wiki/Mel_scale">Wikipedia</a></figcaption></figure><p><strong>Mel Spectrogram</strong> <br> <br>We know now what is a Spectrogram, and also what is the Mel scale, so the Mel Spectrogram is a Spectrogram scaled according to the Mel scale.</p><pre>𝚙𝚕𝚝.𝚏𝚒𝚐𝚞𝚛𝚎(𝚏𝚒𝚐𝚜𝚒𝚣𝚎 = (𝟻,𝟹))<br>#Linear Power Spectrogram<br>𝚙𝚕𝚝.𝚜𝚞𝚋𝚙𝚕𝚘𝚝(𝟷,𝟹,𝟷)<br>𝚕𝚒𝚋𝚛𝚘𝚜𝚊.𝚍𝚒𝚜𝚙𝚕𝚊𝚢.𝚜𝚙𝚎𝚌𝚜𝚑𝚘𝚠(𝙳, 𝚢_𝚊𝚡𝚒𝚜=&#39;𝚕𝚒𝚗𝚎𝚊𝚛&#39; , 𝚡_𝚊𝚡𝚒𝚜=&#39;𝚝𝚒𝚖𝚎&#39;)<br>𝚙𝚕𝚝.𝚌𝚘𝚕𝚘𝚛𝚋𝚊𝚛(𝚏𝚘𝚛𝚖𝚊𝚝=&#39;%+𝟸.𝟶𝚏 𝚍𝙱&#39;)<br>𝚙𝚕𝚝.𝚝𝚒𝚝𝚕𝚎(&#39;𝙻𝚒𝚗𝚎𝚊𝚛 𝚙𝚘𝚠𝚎𝚛 𝚜𝚙𝚎𝚌𝚝𝚛𝚘𝚐𝚛𝚊𝚖&#39;)<br>#Log Power Spectrogram<br>𝚙𝚕𝚝.𝚜𝚞𝚋𝚙𝚕𝚘𝚝(𝟷,𝟹,𝟹)<br>𝚕𝚒𝚋𝚛𝚘𝚜𝚊.𝚍𝚒𝚜𝚙𝚕𝚊𝚢.𝚜𝚙𝚎𝚌𝚜𝚑𝚘𝚠(𝙳, 𝚢_𝚊𝚡𝚒𝚜=&#39;𝚕𝚘𝚐&#39; , 𝚡_𝚊𝚡𝚒𝚜=&#39;𝚝𝚒𝚖𝚎&#39;) 𝚙𝚕𝚝.𝚌𝚘𝚕𝚘𝚛𝚋𝚊𝚛(𝚏𝚘𝚛𝚖𝚊𝚝=&#39;%+𝟸.𝟶𝚏 𝚍𝙱&#39;)<br>𝚙𝚕𝚝.𝚝𝚒𝚝𝚕𝚎(&#39;𝙻𝚘𝚐 𝚙𝚘𝚠𝚎𝚛 𝚜𝚙𝚎𝚌𝚝𝚛𝚘𝚐𝚛𝚊𝚖&#39;)<br>#Mel Power Spectrogram<br>𝚙𝚕𝚝.𝚜𝚞𝚋𝚙𝚕𝚘𝚝(𝟷,𝟹,𝟸)<br>𝚕𝚒𝚋𝚛𝚘𝚜𝚊.𝚍𝚒𝚜𝚙𝚕𝚊𝚢.𝚜𝚙𝚎𝚌𝚜𝚑𝚘𝚠(𝙳, 𝚢_𝚊𝚡𝚒𝚜=&#39;𝚖𝚎𝚕&#39; , 𝚡_𝚊𝚡𝚒𝚜=&#39;𝚝𝚒𝚖𝚎&#39;) 𝚙𝚕𝚝.𝚌𝚘𝚕𝚘𝚛𝚋𝚊𝚛(𝚏𝚘𝚛𝚖𝚊𝚝=&#39;%+𝟸.𝟶𝚏 𝚍𝙱&#39;)<br>𝚙𝚕𝚝.𝚝𝚒𝚝𝚕𝚎(&#39;𝙼𝚎𝚕 𝚙𝚘𝚠𝚎𝚛 𝚜𝚙𝚎𝚌𝚝𝚛𝚘𝚐𝚛𝚊𝚖&#39;)<br>𝚙𝚕𝚝.𝚝𝚒𝚐𝚑𝚝_𝚕𝚊𝚢𝚘𝚞𝚝()<br>𝚙𝚕𝚝.𝚜𝚑𝚘𝚠()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/950/1*HoD_hoqcQyVSko8QIdcVJA.jpeg" /><figcaption>Different Types of Spectrogram</figcaption></figure><p><strong>Cepstrum</strong><br> <br> One way of evaluating periodic structures in a signal on different scales is to use the Fourier transform. More specifically, we can take the discrete Fourier transform (DFT) or the discrete cosine transform (DCT) of the log-spectrum, to obtain a representation known as the cepstrum. <br> <strong>For a very basic understanding, cepstrum is the information about the rate of change in spectral bands. </strong><br> The cepstrum of a time signal is therefore in some sense similar to the time domain. The x-axis of a cepstrum is known as the quefrency-axis and it is expressed typically in the unit seconds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/378/1*uEzeY3jelK1TKYAJZLu5Ow.png" /></figure><p>The cepstrum is the result of the following sequence of mathematical operations:</p><ol><li>Transformation of a <a href="https://en.wikipedia.org/wiki/Signal">signal</a> from the <a href="https://en.wikipedia.org/wiki/Time_domain">time domai</a>n to <a href="https://en.wikipedia.org/wiki/Frequency_domain">frequency domain</a></li><li>Log of the spectral amplitudes</li><li>Transformation to the quefrency domain, where the final independent variable, the quefrency, has actually a time scale.</li></ol><p><strong>Spectral Envelope</strong></p><p>From the spectrum, we form a smooth curve which is known as a spectral envelope that is useful in speech recognition.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/883/1*bcgU_sLJKbySwa7zEUIB5w.png" /><figcaption>Source: <a href="http://www.speech.cs.cmu.edu/15-492/slides/03_mfcc.pdf">speech.cs.cmu.edu</a></figcaption></figure><p>To know more about spectral envelope:</p><p><a href="http://recherche.ircam.fr/anasyn/schwarz/da/specenv/3_3Spectral_Envelopes.html">3.3 Spectral Envelopes</a></p><p><strong>Mel-Frequency Cepstral Coefficients (MFCCs)</strong></p><p>From various observations, it was found that the human ear concentrates on certain regions rather than the whole spectral envelope. Moreover, the ear focuses only on certain frequencies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*Gf2qcEvFwr0I3ezPiCtddQ.png" /><figcaption>Source: <a href="https://www.entandaudiologynews.com/features/ent-features/post/optimising-hearing-aid-processing-for-music-appreciation">EntAndAudiology</a></figcaption></figure><p>MFCC calculation is inspired by the human hearing system as it is a reliable speech recognizer.</p><p>According to Wikipedia, “<strong><em>Mel-frequency cepstral coefficients</em></strong><em> (</em><strong><em>MFCCs</em></strong><em>) are coefficients that collectively make up an MFC. They are derived from a type of cepstral representation of the audio clip (a nonlinear ‘spectrum-of-a-spectrum’).</em>”</p><p>The mel-frequency cepstral coefficients (MFCCs) of a signal are a small set of features (usually about 10–20) that concisely describe the overall shape of a spectral envelope.</p><p><strong>Cepstrum vs. Mel-frequency Cepstrum(MFC)</strong></p><p>The main point of difference is that the frequency bands in the MFC are spaced uniformly based upon the mel-scale which resembles the human hearing system better than a simple cepstrum.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/735/1*A4Z7MwTQZMAylFL2YLceNw.jpeg" /></figure><p><strong>Extraction of MFCCs</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/679/1*phO6zJlikH6w9nnEL-Q7tA.png" /><figcaption>Source: <a href="https://api.intechopen.com/media/chapter/63970/media/F1.png">Intechopen</a></figcaption></figure><p>1. Speech is divided temporarily into frames.</p><p>2. FFT provides a power spectrum for each frame.</p><p>3. Filter bank processing is then carried out on the generated power spectrums using the mel-scale.</p><p>4. The power spectrums are then translated to the log domain.</p><p>5. DCT is applied to the speech signal to obtain the final MFCCs.</p><p><em>The MFCCs are the amplitudes of the resulting spectrum.</em></p><p><strong>Calculation of MFCCs</strong></p><p>We know the equation for calculating mels for each frequency as discussed earlier.</p><p>To calculate MFCCs we have the following equation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/461/1*0fCRaP-sXUPpi8foRwZtHQ.png" /></figure><p>Where <strong>k</strong> is the number of mel-cepstrum coefficients, <strong>Ŝk </strong>is the output of filterbank, and Ĉ<strong>n d</strong>enotes the final mfcc-coefficients.</p><p><strong>Implementation</strong></p><p>We use the functions provided by the libROSA python package to find the MFCCs for the audio waveform.</p><p><strong><em>librosa.feature.mfcc</em></strong> :</p><p><a href="https://librosa.github.io/librosa/generated/librosa.feature.mfcc.html">librosa.feature.mfcc - librosa 0.7.2 documentation</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/449/1*1MyXmFkJJHxd9AgLekocTw.png" /></figure><p>In <em>(20, 199)</em> from the above figure, the former value represents the number of MFCCs calculated, while the latter value represents the number of frames available.</p><p>Here there are 20 MFCC features for each audio frame with a sample rate of 22050 Hz frequency and an average length of 3 sec.</p><p>We can tweak the number of frames by changing the hop length.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/772/1*WvyBeBdMoYnQLgDF5pqokQ.png" /></figure><p>Hop Length means how many samples are to be skipped to start the new window for the given audio.</p><p>Every window is overlapping such that, it covers enough information for our feature extraction from the particular audio clip.</p><p><strong>Advantage of MFCCs:</strong></p><p>It approximates the human system response more closely than any other system which makes it the best alternative for speech recognition.</p><p><strong>Disadvantage of MFCCs:</strong></p><p>MFCC values are not very robust in the presence of additive noise, so generally, normalization is used to reduce the effect of noise.</p><p><strong>Extras</strong></p><p>Some other ways for audio feature extraction are:</p><p><strong>1. Linear Prediction Coefficient (LPC)</strong></p><p>In this technique, the speech signal is removed and the remaining buzz is analyzed. Each representation is a linear combination of the previous sample. It is also termed linear predictive coding.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*3_CKmWzEIGi8DNcDXu5KVA.jpeg" /></figure><p><strong>2. Linear Prediction Cepstral Coefficients (LPCC)</strong></p><p>LPCC is the coefficients obtained by applying Fourier transformation on the logarithmic magnitude spectrum of LPC.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*YtPykQrG_qQewgWA3Jjowg.jpeg" /></figure><p><strong>3. Line Spectral Frequencies (LSF)</strong></p><p>LSF defines the effects that take place in the inter-connected tube model of the human vocal tract. This considers two cases i.e. either the vocal tract is completely open or completely closed at the glottis.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*j5MHKFbQt72icqeeHEk_ww.jpeg" /></figure><p><strong>4. Discrete Wavelet Transform (DWT)</strong></p><p>DWT is an extension of the WT that enhances the flexibility of the decomposition process. It provides an adequate number of frequency bands for effective speech analysis.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*p5Gu4gvlY6Vjw50RwQO_fw.jpeg" /></figure><p><strong>5. Perceptual Linear Prediction (PLP)</strong></p><p>This technique combines the critical bands, intensity-to-loudness compression and equal loudness pre-emphasis in the extraction of relevant information from speech.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*9g77Bt-zIZBmCpMqsOpRcg.jpeg" /><figcaption>PLP analysis is computationally efficient and yields a low‐dimensional representation of speech.</figcaption></figure><p>For further information regarding different audio features see the following article:</p><p><a href="https://www.intechopen.com/books/from-natural-to-artificial-intelligence-algorithms-and-applications/some-commonly-used-speech-feature-extraction-algorithms">Some Commonly Used Speech Feature Extraction Algorithms | IntechOpen</a></p><p>In the <a href="https://medium.com/wavey-ai/end-to-end-speech-recognition-3ed366a42090?source=friends_link&amp;sk=fdbe51793b19c62ac62be0ff6975fc4a"><em>next article</em></a> of this series, we will see the comparison of Deep Learning techniques with other statistical machine learning methods for speech recognition and their evolution.</p><blockquote><em>“</em>Intelligence is the ability to adapt to change.<em>”</em></blockquote><blockquote><em>— </em><a href="https://en.wikipedia.org/wiki/Stephen_Hawking">Stephen Hawking</a></blockquote><h3>Co-Authors:</h3><ul><li><a href="https://medium.com/@muktan123">Muktan Patel - Medium</a></li><li><a href="https://medium.com/@deepangraval2012">Deepang Raval - Medium</a></li></ul><p><strong>References :</strong></p><p>[1.]<a href="https://www.researchgate.net/publication/262793706_A_Review_on_Feature_Extraction_and_Noise_Reduction_Technique">https://www.researchgate.net/publication/262793706_A_Review_on_Feature_Extraction_and_Noise_Reduction_Technique</a></p><p>[2.] <a href="https://www.sfu.ca/sonic-studio-webdav/handbook/Mel.html">https://www.sfu.ca/sonic-studio-webdav/handbook/Mel.html</a></p><p>[3.] <a href="https://towardsdatascience.com/getting-to-know-the-mel-spectrogram-31bca3e2d9d">https://towardsdatascience.com/getting-to-know-the-mel-spectrogram-31bca3e2d9d</a>0</p><p>[4.] <a href="https://towardsdatascience.com/extract-features-of-music-75a3f9bc265d">https://towardsdatascience.com/extract-features-of-music-75a3f9bc265d</a></p><p>[5.] <a href="https://medium.com/prathena/the-dummys-guide-to-mfcc-aceab2450fd">https://medium.com/prathena/the-dummys-guide-to-mfcc-aceab2450fd</a></p><p>[6.] <a href="https://wiki.aalto.fi/display/ITSP/Cepstrum+and+MFCC">https://wiki.aalto.fi/display/ITSP/Cepstrum+and+MFCC</a></p><p>[7.] <a href="https://en.wikipedia.org/wiki/Cepstrum">https://en.wikipedia.org/wiki/Cepstrum</a></p><p>[8.] <a href="https://en.wikipedia.org/wiki/Mel_scale">https://en.wikipedia.org/wiki/Mel_scale</a></p><p>[9.] <a href="http://www.speech.cs.cmu.edu/15-492/slides/03_mfcc.pdf">http://www.speech.cs.cmu.edu/15-492/slides/03_mfcc.pdf</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f13f0d0197c7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/wavey-ai/end-to-end-speech-recognition-f13f0d0197c7">End-To-End Speech Recognition</a> was originally published in <a href="https://medium.com/wavey-ai">Wavey.AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>