<?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 BOLD AI on Medium]]></title>
        <description><![CDATA[Stories by BOLD AI on Medium]]></description>
        <link>https://medium.com/@bold-ai?source=rss-e30760a62a58------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*-4VAAxCZU9Qyt3J9</url>
            <title>Stories by BOLD AI on Medium</title>
            <link>https://medium.com/@bold-ai?source=rss-e30760a62a58------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 04:39:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bold-ai/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[February Log — Data and Architecture]]></title>
            <link>https://medium.com/@bold-ai/february-log-data-and-architecture-ef730baeab3e?source=rss-e30760a62a58------2</link>
            <guid isPermaLink="false">https://medium.com/p/ef730baeab3e</guid>
            <dc:creator><![CDATA[BOLD AI]]></dc:creator>
            <pubDate>Sat, 15 Oct 2022 06:29:06 GMT</pubDate>
            <atom:updated>2022-10-15T06:29:06.956Z</atom:updated>
            <content:encoded><![CDATA[<h3>February Log — Data and Architecture</h3><p>2/2/22: I successfully built an LSTM (Long Short Term Memory) as well as an RNN (Recurrent Neural Network) in order to familiarize myself with the architecture in a code sense. LSTMs are a type of RNN that build upon the recurrent nature of RNNs. Traditional RNNs are essentially founded on the idea that other neural networks are unable to recall information from previous runs when training. This is done through a looping mechanism, dubbed the “hidden state” that carries over previous inputs. However, one problem with RNNs is something called vanishing gradients (image below)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*McqdVIkz3O_SEruT" /></figure><p>As you run more and more input data, the information present at the very beginning gets lost and is difficult to recall, thus why this problem is also called short-term memory.</p><p>LSTMs aim to address this issue of vanishing gradients, and are successful in doing so in a few ways. For one, the model process entire sequences of data rather than a singular feature in the sequence. The architecture, which is fairly complex has two main states: a hidden and cell state (you can think of the hidden state like the hidden state of an RNN, and the cell state as the current input). These are run through a series of tanh and sigmoid activation functions. There is one problem with LSTMs, though: since you have to train on one sequence at a time, training cannot be parallelized thus resulting in very slow and arduous training periods.</p><p>2/11/22: I’m essentially using my code from before and adapting it to the audio dataset I found. My hope is that while there still are some short-term memory issues with the model, as well as long training times, that I’m able to classify the sequences quite well. LSTMs are quite adept at sequence processing and the audio files, which are audio, are exactly that (sequences in a given time). There is some preprocessing for me to do with the data (because I can’t just give the neural net a wav file and expect it to work out fine), such as vectorizing the input (converting audio to vectors). I’ll see how it goes though.</p><p>2/13/22: So there have been some issues with preprocessing. I’ve been at it for a few days now and am not really getting anywhere. All of the tutorials that I’ve followed so far have worked on paper but don’t really seem to be what I’m aiming for. I’ve tried to run these inputs (that are preprocessed) through the LSTM model but I’m just getting errors. It’s likely just a model architecture issue combined with a preprocessing issue as I haven’t fully thought of how to fit the inputs with the input layer of the model. That’s probably the reason why I’m getting a lot of errors and would need to be the first thing that I try to address next. In the meanwhile, I’ll research more techniques on audio preprocessing and see if there’s a way for me to get everything working.</p><p>2/17/22: I ended up getting the preprocessing to work. It was essentially just an issue with the input size, which was fairly easy to resolve once I understood the issue. My assumption was correct, and vectorizing the inputs seemed to be the best way to go about things. Once I was able to get it working on a single wav file I ran it on all the inputs (wav files). All of the data was then subsequently stored in a dataframe which I then called when training my model. While it all worked, the problem was that when I was training the model, I ended up getting really bad results, in the ballpark of 40–50% (obviously not great for a medical model). I’ll keep on trying to see if there’s some hyperparameter tuning that I can do to get it all to work.</p><p>2/24/22: It’s been around a week since the last update, and I haven’t really gotten anywhere with the LSTM so I’m not sure whether that’s what I’m going to go for in the future for this project. While LSTMs are certainly good for processing sequences of data, there are a few issues with my specific use-case:</p><ol><li>LSTMs work great on sequences of data within much larger sequences of data (think a story, novel, book, etc.)</li><li>My end goal is classification, which LSTMs are proven to be really good at, but I’m not sure if my sequence length is enough for the model to give me robust predictions.</li></ol><p>The plan for here on out is to continue researching on audio preprocessing. I don’t think that I’m going to fully ditch the LSTM but I’ll try to be on the lookout for any alternatives that I can use and perhaps gain more success from.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ef730baeab3e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[2/24/22]]></title>
            <link>https://medium.com/@bold-ai/2-24-22-34e793cbbe4e?source=rss-e30760a62a58------2</link>
            <guid isPermaLink="false">https://medium.com/p/34e793cbbe4e</guid>
            <dc:creator><![CDATA[BOLD AI]]></dc:creator>
            <pubDate>Sat, 15 Oct 2022 06:25:43 GMT</pubDate>
            <atom:updated>2022-10-15T06:25:43.339Z</atom:updated>
            <content:encoded><![CDATA[<p>2/24/22: It’s been around a week since the last update, and I haven’t really gotten anywhere with the LSTM so I’m not sure whether that’s what I’m going to go for in the future for this project. While LSTMs are certainly good for processing sequences of data, there are a few issues with my specific use-case:</p><ol><li>LSTMs work great on sequences of data within much larger sequences of data (think a story, novel, book, etc.)</li><li>My end goal is classification, which LSTMs are proven to be really good at, but I’m not sure if my sequence length is enough for the model to give me robust predictions.</li></ol><p>The plan for here on out is to continue researching on audio preprocessing. I don’t think that I’m going to fully ditch the LSTM but I’ll try to be on the lookout for any alternatives that I can use and perhaps gain more success from.</p><p>-Vedant</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=34e793cbbe4e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[2/17/22]]></title>
            <link>https://medium.com/@bold-ai/2-17-22-2d548fabaca5?source=rss-e30760a62a58------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d548fabaca5</guid>
            <dc:creator><![CDATA[BOLD AI]]></dc:creator>
            <pubDate>Sat, 15 Oct 2022 06:21:29 GMT</pubDate>
            <atom:updated>2022-10-15T06:26:05.122Z</atom:updated>
            <content:encoded><![CDATA[<p>2/17/22: I ended up getting the preprocessing to work. It was essentially just an issue with the input size, which was fairly easy to resolve once I understood the issue. My assumption was correct, and vectorizing the inputs seemed to be the best way to go about things. Once I was able to get it working on a single wav file I ran it on all the inputs (wav files). All of the data was then subsequently stored in a dataframe which I then called when training my model. While it all worked, the problem was that when I was training the model, I ended up getting really bad results, in the ballpark of 40–50% (obviously not great for a medical model). I’ll keep on trying to see if there’s some hyperparameter tuning that I can do to get it all to work.</p><p>-Vedant</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d548fabaca5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[2/13/22]]></title>
            <link>https://medium.com/@bold-ai/2-13-22-d8c0861de6b5?source=rss-e30760a62a58------2</link>
            <guid isPermaLink="false">https://medium.com/p/d8c0861de6b5</guid>
            <dc:creator><![CDATA[BOLD AI]]></dc:creator>
            <pubDate>Sat, 15 Oct 2022 06:17:12 GMT</pubDate>
            <atom:updated>2022-10-15T06:26:30.635Z</atom:updated>
            <content:encoded><![CDATA[<p>2/13/22: So there have been some issues with preprocessing. I’ve been at it for a few days now and am not really getting anywhere. All of the tutorials that I’ve followed so far have worked on paper but don’t really seem to be what I’m aiming for. I’ve tried to run these inputs (that are preprocessed) through the LSTM model but I’m just getting errors. It’s likely just a model architecture issue combined with a preprocessing issue as I haven’t fully thought of how to fit the inputs with the input layer of the model. That’s probably the reason why I’m getting a lot of errors and would need to be the first thing that I try to address next. In the meanwhile, I’ll research more techniques on audio preprocessing and see if there’s a way for me to get everything working.</p><p>-Vedant</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d8c0861de6b5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[2/11/22]]></title>
            <link>https://medium.com/@bold-ai/2-11-22-f1d1b6b7cd5d?source=rss-e30760a62a58------2</link>
            <guid isPermaLink="false">https://medium.com/p/f1d1b6b7cd5d</guid>
            <dc:creator><![CDATA[BOLD AI]]></dc:creator>
            <pubDate>Sat, 15 Oct 2022 06:16:25 GMT</pubDate>
            <atom:updated>2022-10-15T06:26:47.982Z</atom:updated>
            <content:encoded><![CDATA[<p>2/11/22: I’m essentially using my code from before and adapting it to the audio dataset I found. My hope is that while there still are some short-term memory issues with the model, as well as long training times, that I’m able to classify the sequences quite well. LSTMs are quite adept at sequence processing and the audio files, which are audio, are exactly that (sequences in a given time). There is some preprocessing for me to do with the data (because I can’t just give the neural net a wav file and expect it to work out fine), such as vectorizing the input (converting audio to vectors). I’ll see how it goes though.</p><p>-Vedant</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f1d1b6b7cd5d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[2/2/22]]></title>
            <link>https://medium.com/@bold-ai/2-2-22-eacee4033c2a?source=rss-e30760a62a58------2</link>
            <guid isPermaLink="false">https://medium.com/p/eacee4033c2a</guid>
            <dc:creator><![CDATA[BOLD AI]]></dc:creator>
            <pubDate>Sat, 15 Oct 2022 06:15:49 GMT</pubDate>
            <atom:updated>2022-10-15T06:27:02.666Z</atom:updated>
            <content:encoded><![CDATA[<p>2/2/22: I successfully built an LSTM (Long Short Term Memory) as well as an RNN (Recurrent Neural Network) in order to familiarize myself with the architecture in a code sense. LSTMs are a type of RNN that build upon the recurrent nature of RNNs. Traditional RNNs are essentially founded on the idea that other neural networks are unable to recall information from previous runs when training. This is done through a looping mechanism, dubbed the “hidden state” that carries over previous inputs. However, one problem with RNNs is something called vanishing gradients (image below)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xFUDmdM7BMRF-4o9" /></figure><p>As you run more and more input data, the information present at the very beginning gets lost and is difficult to recall, thus why this problem is also called short-term memory.</p><p>LSTMs aim to address this issue of vanishing gradients, and are successful in doing so in a few ways. For one, the model process entire sequences of data rather than a singular feature in the sequence. The architecture, which is fairly complex has two main states: a hidden and cell state (you can think of the hidden state like the hidden state of an RNN, and the cell state as the current input). These are run through a series of tanh and sigmoid activation functions. There is one problem with LSTMs, though: since you have to train on one sequence at a time, training cannot be parallelized thus resulting in very slow and arduous training periods.</p><p>-Vedant</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eacee4033c2a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[January Log — Creating the Model]]></title>
            <link>https://medium.com/@bold-ai/january-log-creating-the-model-d95ff2fbfdf6?source=rss-e30760a62a58------2</link>
            <guid isPermaLink="false">https://medium.com/p/d95ff2fbfdf6</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[audio]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[pytorch]]></category>
            <dc:creator><![CDATA[BOLD AI]]></dc:creator>
            <pubDate>Mon, 04 Jul 2022 06:12:54 GMT</pubDate>
            <atom:updated>2022-10-15T06:18:53.690Z</atom:updated>
            <content:encoded><![CDATA[<h3>January Log — Creating the Model</h3><p>JANUARY</p><p><strong>1/10/22:</strong> Hello everyone, welcome to my journey working with deep learning to build a system that determines whether a user has a speech disorder or not. I’ve worked with machine learning pretty extensively in the past but never a large-scale industry-level project. As of now, I’m not sure what type of model is best suited for optimization (CNN, RNN, GAN, etc.) but will do extensive research for what would work best. Because it is sequence data (in the form of audio, which I will confirm once I get the data), I’m guessing an RNN would work best.</p><p><strong>1/14/22:</strong> I’ve been looking for a dataset to use for my application which did prove to be a little difficult. A lot of speech datasets are super robust but encompass more “real world” tasks such as simple commands/key words (e.g., “yes”, “no”, “stop”, “go”). One example of a pretty popular speech classification dataset I found in my research is the <a href="https://urbansounddataset.weebly.com/urbansound8k.html">UrbanSound8k dataset</a> that has such “real world” words. I also stumbled upon an audio set curated by Mozilla (the Firefox company right) called <a href="https://commonvoice.mozilla.org/en/datasets">Common Voice</a> with immense amounts of speech data (in the thousands of hours). It is fairly large though, around 70 GB so fair warning if you’d like to download it. I ended up doing so but am not sure if I’ll actually ever use or implement it.</p><p><strong>1/17/22:</strong> I think I found a usable dataset through some <a href="https://figshare.com/articles/dataset/New_draft_item/2360626">paper</a> I found online. The location of the research isn’t in the United States so I’m not sure how reliable it would be for my specific use-case/end audience. I’ll have to look through the clips to see if it makes sense. Two other problems I see with the dataset are that the range of audio files isn’t that large i.e., the dataset isn’t that holistic. Because the research was done on children I’m not exactly sure how well it’ll do on adult voices. The other problem is that the data just might not be enough. From my research online, it seems that audio classification problems need a <em>lot </em>of data.</p><p><strong>1/20/22:</strong> I did some more digging and found a dataset that I think is a little bit more useful. It’s called the <a href="https://github.com/apple/ml-stuttering-events-dataset">SEP-28k</a> dataset and features 28,000 clips taken from podcasts. This addresses both of the issues that I had with the previous dataset in that it has quite a lot of data, and the audio itself is quite diverse. I’ve listened through some of the clips and they seem to be pretty good. Sometimes the audio quality itself isn’t great but hopefully that could simulate real-world conditions. Each clip is three seconds long (once the dataset is set up and the code written is run) which shouldn’t be too short. I’m thinking of doing some more work/research on the theory before I continue with the project to get myself refamiliarized with everything.</p><p><strong>1/23/22:</strong> I’ve been doing a lot of research thus far on models and audio, meaning I’ve probably exhausted a lot of the front page of ML YouTube. I’ve mainly gone through the theory of everything thus far, trying to understand the math behind all of the models, their architectures, and how they fundamentally work. It’s been super insightful to take the time to go through everything and I’m learning a lot in conjunction with gaining ideas of how to implement my project.</p><p><strong>1/31/22: </strong>In order to refamiliarize myself further, I decided to create a small CNN (Convolutional Neural Network) that recognizes handwritten digits. This was actually the first concrete machine learning use-case that I ever learnt about a few years ago through <a href="https://www.youtube.com/watch?v=aircAruvnKk&amp;t=334s">3 Blue 1 Brown’s series on deep learning</a> (I highly recommend it for beginners, it helped with theory [although I will say it’s helpful to be familiar with machine learning before and to know some of the ideas conceptually as well as mathematically]). Since the task is obviously well documented it was really successful, but it mainly just got me familiar with PyTorch as a framework, which is what I wanted in the end. I used TensorFlow/Keras in the past but heard about PyTorch’s capabilities and wanted to test it out. I’m most likely planning on experimenting with RNN’s next.</p><p>-Vedant</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d95ff2fbfdf6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Welcome to BOLD AI]]></title>
            <link>https://medium.com/@bold-ai/welcome-to-bold-ai-b10c83869e01?source=rss-e30760a62a58------2</link>
            <guid isPermaLink="false">https://medium.com/p/b10c83869e01</guid>
            <category><![CDATA[speech-recognition]]></category>
            <category><![CDATA[stem]]></category>
            <category><![CDATA[speech-pathology]]></category>
            <category><![CDATA[speech]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[BOLD AI]]></dc:creator>
            <pubDate>Tue, 21 Jun 2022 05:20:13 GMT</pubDate>
            <atom:updated>2022-10-15T06:18:20.844Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome to BOLD! I’m super excited to finally bring this organization to the world after the few months that it has been in fruition. Countless hours were spent behind the scene trying to tune the machine learning model and get the server set up, but here it is in all of its glory!</p><p>I started this organization as a means to encourage more people to even just take a look at STEM and what it has to offer. In an increasingly digitized age, this scientific and technological “repertoire” stands as pertinent to some extent, whether you pursue history, language, or engineering. In my own experience, it’s hard to get highly invested in a niche unless you know the direction you want to go in. I started coding a few years ago with a sort of love-hate relationship. I enjoyed running the code and seeing a “Hello World!” pop up in the terminal, but at the same time found myself running in circles with what seemed like weights strapped to my legs as I sluggishly waded through my programming.</p><p>Thinking back, the reason that I had such an experience was that I wasn’t presented with a set curriculum when I decided to learn to code. Now, don’t get me wrong, I don’t mean curriculum as in the actual content or lessons. There are hundreds of courses on <a href="https://www.edx.org/">edX</a> and <a href="https://www.coursera.org/">Coursera</a> that I highly encourage you to check out, they’re where I first got started. What I lacked apart from fundamentals, which I was able to extrapolate from these courses, was the direction in regards to where I wanted to take my career in STEM next. School is usually the place that gives such academic direction, but when it comes to a field like programming, there is little else outside of language fundamentals.</p><p>While I did end up getting into machine learning, it wasn’t until I had spent countless hours determining which course to take and what I needed to learn to get there. While that process was crucial, I did at times find it hindering; times, when I could be learning material, were spent mapping out what I was <em>going to</em> learn. I hope that BOLD can be a resource that eliminates the process of having to go through this process for everyone.</p><p>Now, the main point of BOLD, i.e., why I even thought of creating a platform in the first place was to apply what I had learned in machine learning thus far to something that I thought was important. When I was younger, say 8–10 years old, my younger brother had a stuttering issue. While it wasn’t anything extremely severe, I could see the cogs turning in his brain, but the stutter wouldn’t allow him to convey his thoughts fast enough.</p><p>A big part of machine learning is classification, and if you’ve used any software in the past few years, chances are you’ve come across some sort of classification model/algorithm. Gmail, for example, uses sentiment analysis to classify whether an email is spam or not, which is why now there’s a handy tab off to the side that funnels in all of the spam emails that would otherwise clutter your inbox. Similarly, it is possible to classify audio. While conventionally used to classify words or commands, I decided to apply audio classification to determine whether an individual has a speech disorder or not (I’ll go into more detail about the specific math and architecture in a separate blog for those interested). After determining your likelihood of having a disorder, we will provide you with resources to keep you updated on the latest news in speech pathology, as well as resources you can check out if you would like to have a concrete diagnosis or further information from specialists.</p><p>We’re also planning multiple projects in the future to reach out to more aspects of the STEM and design process so stay tuned for those!</p><p>-Vedant</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b10c83869e01" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>