<?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 Kristina Arezina on Medium]]></title>
        <description><![CDATA[Stories by Kristina Arezina on Medium]]></description>
        <link>https://medium.com/@arezina-kristina23?source=rss-fc518303029b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*qu4_ahafZNgVksdDuisLJg.png</url>
            <title>Stories by Kristina Arezina on Medium</title>
            <link>https://medium.com/@arezina-kristina23?source=rss-fc518303029b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 16:31:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@arezina-kristina23/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[Lacking Good Computer Vision Benchmark Datasets Is a Problem — Let’s Fix That!]]></title>
            <link>https://pub.towardsai.net/lacking-good-computer-vision-benchmark-datasets-is-a-problem-lets-fix-that-c1f7eaf13f69?source=rss-fc518303029b------2</link>
            <guid isPermaLink="false">https://medium.com/p/c1f7eaf13f69</guid>
            <category><![CDATA[cvpr]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[computer-vision]]></category>
            <dc:creator><![CDATA[Kristina Arezina]]></dc:creator>
            <pubDate>Sat, 26 Jun 2021 00:02:06 GMT</pubDate>
            <atom:updated>2021-06-26T00:02:06.864Z</atom:updated>
            <content:encoded><![CDATA[<h4><a href="https://towardsai.net/p/category/computer-vision">Computer Vision</a></h4><h3>Lacking Good Computer Vision Benchmark Datasets Is a Problem — Let’s Fix That!</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QbLhXMVXA9Uip-LeV7OxvQ.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@christinhumephoto?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Christin Hume</a> on <a href="https://unsplash.com/s/photos/laptop?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Data often stands between a state-of-the-art computer vision machine learning project and just another experiment. Unfortunately, there is no widely adopted industry standard for selecting the best, and most relevant benchmarks.</p><p>Imagine if you were working on a new computer vision algorithm, how would you select the right benchmark for your algorithm? Would you collect it yourself? Find the benchmark with the most citations? How do you deal with licensing or <em>permissioning</em> issues? Where do you host these large datasets?</p><p>As a result of all the complications involved in selecting a good benchmark often, you do not achieve the results your model should be capable of. This problem will only increase as the amount of computer vision-generated data is growing in volume and complexity as computer vision datasets are no longer simply cats and dogs. Currently, datasets are becoming more and more sophisticated and include images from complex tasks such as cars driving through cities.</p><p>Reflecting on how you go about finding the perfect computer vision dataset for your next machine learning task allows you to vastly improve the results of your computer model. This is the case, as having the right <strong>dataset benchmark</strong> enables you to evaluate and compare machine learning methods to find the best one for your project.</p><p>In machine learning, benchmarking is the practice of comparing tools and platforms to identify the best-performing technologies in the industry. Benchmarking is used to measure performance using a specific indicator resulting in a metric that is then compared to other machine learning methods.</p><h3>What does having the right dataset benchmark mean?</h3><p>Now you may be asking yourself, is there such a thing as a good or bad dataset benchmark, and how can you identify one for another? Both are important and underrated questions in the machine learning community.</p><p>In this blog post, we will answer these questions to make sure after all the research and work you put into crafting the perfect machine learning model it reaches the potential it is capable of!</p><h4>Good benchmarks</h4><p>Recently, many publicly available real-world and simulated benchmark datasets have emerged from an array of different sources. However, the organization and adoption as standards between the sources have been inconsistent, and consequently, many existing benchmarks lack diversity to effectively benchmark computer vision algorithms.</p><p>Good benchmark datasets allow you to evaluate several machine learning methods in a direct and fair comparison. However, a common problem with these benchmarks is that they are not an <em>accurate depiction of the real world</em>.</p><p>Consequently, methods ranking high on popular computer vision benchmarks perform below average when tested outside the data or laboratory where they were created in. Simply put, many dataset benchmarks are not an accurate depiction of reality.</p><p>Good computer vision benchmark datasets will reflect the setting of the real-world application of the model you are developing. <a href="https://objectnet.dev/objectnet-a-large-scale-bias-controlled-dataset-for-pushing-the-limits-of-object-recognition-models.pdf">ObjectNet</a> is an example of an image repository purposefully created to avoid the biases found in popular image datasets. The intention behind ObjectNet’s creation was to reflect the realities AI algorithms face in the real world.</p><p>Unsurprisingly, when several of the best object detectors were tested on ObjectNet, they encountered a significant performance reduction, indicating a <em>need for better dataset benchmarks to evaluate computer vision systems.</em></p><h4>Bad benchmarks</h4><p>If good computer vision benchmark datasets provide a fair representation of the real world, can you guess what characterizes a bad computer vision benchmark dataset?</p><p>Benchmarks that mainly contain images that have been taken in ideal conditions produce a bias toward the perfect and unrealistic conditions they were made in. Consequently, they are inadequate at handling the messiness found in the real world.</p><p>For example, datasets benchmarks made with ImageNet are biased on pictures of objects you would find online in a blog rather than in the real world.</p><p>So although ImageNet is a popular dataset for computer vision, the images in its database do not adequately represent reality, and therefore, ImageNet is not the best computer vision benchmark dataset.</p><h3>What types of dataset benchmarks exist?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*Lr3kDLXDE1vEytP4Z27TGQ.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@mayofi?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">MayoFi</a> on <a href="https://unsplash.com/s/photos/investment?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>There are many types of dataset benchmarks for different tasks. For example, segmentation, scene understanding, and image classification all require different types of benchmarks.</p><p>Although you now know how to distinguish a good benchmark from a bad one on your own we want to equip you with a list of some of the best benchmarks for segmentation, classification, and scene understanding.</p><p>Hopefully, with these lists, you can enlighten the world with your computer vision models right away <em>and</em> have a reference to compare benchmarks to in order to get better at classifying benchmarks as either good or bad.</p><h4>Best dataset benchmarks for segmentation</h4><ul><li>The Berkeley Segmentation Dataset and Benchmark (<a href="https://www2.eecs.berkeley.edu/Research/Projects/CS/vision/bsds/">link</a>)</li><li>KITTI semantic segmentation benchmark (<a href="http://www.cvlibs.net/datasets/kitti/eval_semseg.php?benchmark=semantics2015#:~:text=Semantic%20Segmentation%20Evaluation,conform%20with%20The%20Cityscapes%20Dataset.">link</a>). Check out the Hub equivalent for the <a href="https://app.activeloop.ai/activeloop/kitti_test">test</a>, <a href="https://app.activeloop.ai/activeloop/kitti_train">train</a>, and <a href="https://app.activeloop.ai/activeloop/kitti_validation">validation</a> KITTI datasets.</li></ul><h4>Best dataset benchmarks for classification</h4><ul><li>ObjectNet Benchmark Image Classification (<a href="https://paperswithcode.com/sota/image-classification-on-objectnet#:~:text=ObjectNet%20is%20a%20test%20set,for%20rotation%2C%20background%20and%20viewpoint.">link</a>)</li></ul><h4>Best dataset benchmarks for scene understanding</h4><ul><li>Scene Understanding on ADE20K val (<a href="https://paperswithcode.com/sota/scene-understanding-on-ade20k-val-1">link</a>)</li><li>Scene Understanding on Semantic Scene Understanding Challenge Passive Actuation &amp; Ground-truth Localisation (<a href="https://paperswithcode.com/sota/scene-understanding-on-semantic-scene">link</a>)</li></ul><h3>Why are dataset benchmarks so important?</h3><p>Since there are so many types of dataset benchmarks it is understandably <strong>challenging</strong> to create enough high-standard benchmarks for each dataset.</p><p>However, it is crucial to do so as these benchmarks allow you to see how your machine learning methods learn patterns in a benchmark dataset that has been accepted as being the standard.</p><blockquote>But how can you make sure that the benchmark you are using is the right measurement tool when it comes to the performance of machine learning techniques?</blockquote><p>It’s no secret that having a computer vision dataset that is an accurate depiction of reality is challenging as datasets lack variety and often depict images or videos in ideal conditions.</p><p>Perhaps to make better computer vision machine learning models we need to have more <strong>collaboration</strong> between organizations when making dataset benchmarks. Else, the most popular datasets will have many benchmarks made for them, while less known ones have little to no benchmarks available.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*Jy18eh2R00G95NhYSmicVw.png" /></figure><p>The trend showcased in the histogram above demonstrates how popular datasets have more benchmarks made for them. Being limited to the most popular datasets due to a lack of benchmarks makes it more difficult to obtain <strong>variety</strong> and an <strong>accurate</strong> depiction of reality for datasets used on models.</p><p>However, <a href="https://www.activeloop.ai/">Activeloop</a>, the dataset optimization company, is a solution for making a central and diverse set of benchmark datasets.</p><p>Tools like Activeloop allow for dataset collaboration via centralized storage of the dataset and version control — allowing engineers to create the best computer vision dataset benchmark to develop their next state-of-the-art model!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wr6Xf_x0N7MncgphGgi4zQ.png" /></figure><p>Moreover, delivering valuable insights from unstructured data is difficult, as there is no industry standard for storing unstructured datasets. Activeloop’s <strong>simplicity</strong> allows many people to use it and therefore is on its way to becoming the industry standard for storing unstructured datasets. Its popularity makes it the obvious tool for creating dataset benchmarks collaboratively.</p><p>Also, rather than spending hours and even days on preprocessing datasets Activeloop allows you to efficiently perform preprocessing steps once centrally and then be uploaded to Activeloop for others to use to make benchmarks.</p><p>Clearly, business insights generated from unstructured data are becoming more and more valuable. Yet computer vision benchmarks are not able to be generated at the same rate as computer vision data generation is increasing.</p><p>To continue developing state-of-the-art computer vision machine learning projects, efficient collaboration must occur between machine learning developers to make better computer vision benchmarks. This efficient collaboration can be facilitated with Activeloop.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c1f7eaf13f69" width="1" height="1" alt=""><hr><p><a href="https://pub.towardsai.net/lacking-good-computer-vision-benchmark-datasets-is-a-problem-lets-fix-that-c1f7eaf13f69">Lacking Good Computer Vision Benchmark Datasets Is a Problem — Let’s Fix That!</a> was originally published in <a href="https://pub.towardsai.net/">Towards AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Nanotechnology & Healthcare]]></title>
            <link>https://arezina-kristina23.medium.com/nanotechnology-healthcare-4f87a6dbf996?source=rss-fc518303029b------2</link>
            <guid isPermaLink="false">https://medium.com/p/4f87a6dbf996</guid>
            <category><![CDATA[nanotechnology]]></category>
            <category><![CDATA[science]]></category>
            <category><![CDATA[healthcare]]></category>
            <dc:creator><![CDATA[Kristina Arezina]]></dc:creator>
            <pubDate>Fri, 02 Apr 2021 18:04:41 GMT</pubDate>
            <atom:updated>2022-08-17T21:04:53.694Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gbOKzIBnie_YMSD0yv4Oog.jpeg" /></figure><p>Nanoscience is the study of structures and materials on an <em>ultra</em>-small scale. But just how small is ultra-small and why should you even care about these materials?</p><p>To help you understand just how tiny nano-materials are a nanometre is one-billionth of a meter. To give you context behind that statistic, nanoparticles are usually <strong>500–100000 times ‘thinner’ than a human hair!</strong></p><p>For the majority of human history, humans could only make use of the materials they could see with microscopes or touch with their hands. Then Richard Feynman gave the talk Plenty of Room At The Bottom and stated that we should construct things out of the most fundamental units of chemistry — atoms.</p><p>These tiny particles, called nanoparticles, have the potential to make huge changes to our world by revolutionizing a diverse range of fields, from health care to manufacturing!</p><p>I find that the most fascinating application of nanotechnology in healthcare in the <strong>diagnosis</strong> and <strong>treatment of illnesses</strong>. But before we jump into how nanotechnology can better healthcare let’s first understand which stage we are in for nanotechnology and what stages even exit!</p><h3>Generations of Nanotechnology</h3><p><strong>Mike Roco</strong> from the U.S National Nanotechnology Initiative organized an understanding of the study of nanotechnology within four different generations. These generations are Passive Nanostructures, Active Nanostructures, Systems of Nanosystems, and Molecular Nanosystems.</p><h4>Generation 1: Passive Nanostructures</h4><p>This is the generation of the creation of materials where we control their structure on a molecular level. It allows for material properties that are useful or even revolutionary!</p><p>Products can use <strong>dispersed</strong> and <strong>contact nanostructures. </strong>Then<strong> </strong>products incorporating nanostructures such as reinforced composites, nanostructured metals, polymers, and ceramics and also be created and utilized.</p><p>An example of a passive nanostructure is an additive that turns paint into radio-blocking material. This generation of nanotechnology also includes coating structures in nanomaterial or making materials that are entirely composed of a specific nanostructure.</p><p>The result of doing so may get polymers, metals, or ceramics that are far stronger or lighter than their non-nano-boosted predecessors.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/682/1*Fd_SfRKMkje3a0uUgNTCgw.png" /><figcaption>Selected applications of nanomaterials in coatings and their functions (according to Paschen et al. 2003, Deutsches Lackinstitut 2012, BG BAU 2013)</figcaption></figure><h4>Generation 2: Active Nanostructures</h4><p>In the second generation of nanotechnology, nanostructures aren’t just passive ones with specific properties, but they make <em>changes</em> to other things. They are active in some way and make changes to other objects or materials.</p><p><strong>Nanomedicines</strong> are an excellent example of using nanostructures. For example, a team of researchers has had <a href="http://www.independent.co.uk/life-style/health-and-families/health-news/cancer-treatment-using-nanotechnology-tested-with-astounding-results-a6930841.html">incredible results using targeted nanostructures to treat late-stage metastatic cancer in mice</a>.</p><p>In the study, 50% of mice with “incurable” breast cancer that had spread to other parts of the body were effectively cured of the disease within eight months of treatment. The scientists in question said that this is the equivalent of a 24-year survival period in human terms, which is an impossible result with current methods.</p><p>This generation of nanotechnology also includes nanoscale devices such as the MEMS system in your smartphone. These are microscopic accelerometers that allow your phone to know which way it’s being held and to track its motion.</p><p>The next generation of transistors will also be three-dimensional nanostructures and are likely to enable a new generation of computer performance!</p><h4>Generation 3: Systems of Nanosystems</h4><p>If you think the first two generations were cool, this one is even better! The third generation nanotech is where we see <strong>various nanomachines working together</strong>.</p><p>A <strong>nanofactory</strong> is a molecular assembly machine designed to manufacture products with atomic precision and these nanofactories<strong> </strong>can<strong> </strong>assemble molecules or complex large-scale machines and materials.</p><p>The long terms future of nanotechnology is to have localized production to eliminate the need for the transport of goods. Individualized production or “customized mass production” will be a powerful antidote to the products of the Industrial Revolution that is based on identical replication.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FzqyZ9bFl_qg%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DzqyZ9bFl_qg&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FzqyZ9bFl_qg%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/baa1a8cac07f76781c9363184a0c639f/href">https://medium.com/media/baa1a8cac07f76781c9363184a0c639f/href</a></iframe><h4>Generation 4: Molecular Nanosystems</h4><blockquote>“Molecular nanotechnology is the expected ability to build our products with molecular-level precision, as nature can do. It will bring unprecedented quality, energy efficiency and environmental sustainability”</blockquote><blockquote>—Christine Peterson, president of the Foresight Nanotech Institute in California</blockquote><p>This generation of nanotechnology will give us complete control of the actual <strong>molecules that make up our nanomachines</strong>. So, while a third-generation nanomachine may have different components made from specific molecules, a fourth-generation nanomachine is made from different molecules with specific structures; each molecule has a specific structure and function.</p><p>So researchers are building nanomachines at the molecular level by using specific atoms to build them. Molecular nanotechnology could allow us to create the products we need with the sort of precision that right now only nature can do.</p><h3>Nanotechnology In Healthcare</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ElxNyvBC9q4N4nzTJOi_CA.jpeg" /></figure><p>So now we know about the four generations of nanotechnology! But how can these tiny materials help people via healthcare? Thankfully there are a wide array of ways we can benefit from nanotechnology in the healthcare sector by improving inefficient methods of treatment and diagnosis.</p><p>Right now over <strong>99% of cancer drugs never make it to the tumor</strong>! As they lack transpiration and tools to take them to the tumor they are aiming for. Nanoparticles can act as the career to get the drugs to the tumor.</p><p>Nanoparticles allow drugs to not be flushed out through the liver. If the drugs are in nanoparticles the drugs will not be flushed out of the body as the particles are too big. Thus, the nanoparticle carrier drugs will continue to circulate in the blood to give them more time to find the tumor.</p><p>Nanoparticles can also protect the drugs from being destroyed inside the body. Several important and yet easily degraded drugs are easily removed from the body by enzymes in the blood.</p><p><strong>Nano X-ray treatment</strong> is another improvement in the treatment of cancer with nanotechnology! Nanocrystals are optimized to absorb more X-rays and produce many more free radicals than water damaging the tumor cell’s DNA and cellular structure more severely than the surrounding healthy tissue.</p><p>Because of the nanoparticles, the x-rays effect is amplified and localized within the tumor allowing for a targeted strike against cancer cells while healthy tissues receive the standard dose of radiation the tumor dies much more quickly. Just one injection of nanoparticles can amplify several radiotherapy sessions shrinking the tumor over time. Check out <a href="https://www.nanobiotix.com/">Nanobiotix</a> to find out more.</p><h3>Nanomedicine</h3><blockquote><em>“The use of atomic and molecular scale devices to repair damage in biological systems adapting the precision used by synthetic chemists to into the realm if medicine” —</em>Ralph Merkle</blockquote><p>This branch of medicine applies the knowledge and tools of nanotechnology to the prevention and treatment of disease. Nanomedicine involves the use of nanoscale materials, such as biocompatible nanoparticles and nanorobots, for diagnosis, delivery, sensing or actuation purposes in a living organism.</p><p>Many believe that nanomedicines represent the next era in drug innovation. Current research has demonstrated improved performance, reduced side effects, and revolutionary new treatment strategies like <strong>personalized medicine!</strong></p><p>Overall I believe that the intersection of nanotechnology and healthcare can revolutionize the way people are medically diagnosed and treated! I am excited to continue exploring nanotechnology and the impact it can have on healthcare.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4f87a6dbf996" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ML Understanding Speech—Using a Convolutional Neural Network (CNN) to Classify Audio Clips]]></title>
            <link>https://arezina-kristina23.medium.com/ml-understanding-speech-using-a-convolutional-neural-network-cnn-to-classify-audio-clips-8fbc1a84dc1a?source=rss-fc518303029b------2</link>
            <guid isPermaLink="false">https://medium.com/p/8fbc1a84dc1a</guid>
            <category><![CDATA[naturallanguageprocessing]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[healthcare]]></category>
            <category><![CDATA[voice-recognition]]></category>
            <category><![CDATA[innovation]]></category>
            <dc:creator><![CDATA[Kristina Arezina]]></dc:creator>
            <pubDate>Sun, 31 Jan 2021 19:53:22 GMT</pubDate>
            <atom:updated>2022-08-17T21:05:29.095Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xIdT7Nf4p8H84R0C02CSiw.jpeg" /></figure><blockquote><a href="https://www.youtube.com/watch?v=ind7BEZgWJU">“Don’t worry about a thing, cause every little thing gonna be all right. Singin’: Don’t worry about a thing, ’Cause every little thing gonna be all right!” — Bob Marley</a></blockquote><p>“If you heard this legendary lyric out-loud, I’m sure you would be able to understand or <em>classify</em> the words being said.</p><p>Well, a <strong>Convolutional Neural Network (CNN)</strong> can also classify audio clips into distinct words! In this article, I will:</p><ol><li>Explain how a CNN can do this.</li><li>Explain why classifying audio clips with <strong>machine learning(ML)</strong> can help with efficiency, health, and well being.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YECeOxlko9KoOJNw8RNm3A.jpeg" /></figure><h3>What is a Convolutional Neural Network (CNN)?</h3><p>A CNN is a class of <strong>deep learning networks </strong>used in <strong>Computer Vision</strong> — a subdomain of ML. Before we dive into how CNN’s work, let’s make sure we understand what these words mean.</p><ul><li><strong>Deep learning networks: </strong>This is a subfield of ML concerned with algorithms inspired by the structure and function of the brain called <a href="https://www.forbes.com/sites/bernardmarr/2018/09/24/what-are-artificial-neural-networks-a-simple-explanation-for-absolutely-anyone/?sh=641c0e7a1245"><strong>artificial neural networks</strong></a>.</li><li><strong>Computer Vision</strong>: This refers to the ability to give computers a high-level understanding of digital images or videos to “see” and understand the content of digital images and videos.</li></ul><p>A <strong>CNN</strong> can take in an input image and then assign importance (learnable weights and biases) to parts of the image. Then, the CNN can classify the image based on the patterns of weights and biases it learned.</p><h4>How do CNN’s Work?</h4><p>When you look at an image, your <strong>brain</strong> can identify objects in the picture quickly and seemingly effortlessly. The goal of using a CNN to classify images is to get computers to <strong>recognize objects</strong> in the same manner. However, there is a huge difference between how a human brain and a computer see and interpret images.</p><p>For computers, an image is just an <strong>array of numbers</strong>. However, this array of numbers allows computers to identify patterns, and these patterns are what the computer will use to classify an object in an image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lCQhpLTcPivCOT68.png" /><figcaption>Graphic to help understand kernels</figcaption></figure><p>For a CNN to extract the important features and patterns in an image from arrays of numbers, the CNN uses <strong>kernels</strong> to scan over an image.</p><p>Rather than looking at an entire image all at once to find certain features, the CNN uses <strong>kernels to </strong>look at smaller portions of the image. The kernels look to find patterns between what they see at that point in the image to what they’re looking for. Then, when a feature matches, it is recorded and stored in a <strong>feature map</strong>.</p><p>A feature map is a refined version of the original image. It saves the <strong>important</strong> features of the image and ignores the rest. After several different kernels go over the original image and extract different important features, the kernels join to create the final convolved pattern.</p><p>The role of the <strong>CNN</strong> is to reduce the images into a form that is easier to process, without losing features that are critical for getting a good prediction.</p><h4>What Can CNN’s Be Used For?</h4><p>CNN’s are a go-to method for any type of prediction problem involving image data as an input. Personally, I think CNN’s can help in many fields and situations. Below I listed out just a few examples:</p><p><strong>🚗 Transportation</strong></p><p>CNN’s can identify road signs and categorize them correctly. This allows autonomous vehicles to advance by teaching them how to navigate the road abiding by laws and regulations.</p><p><strong>📱 Social Media</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e7MxMY7lc7xpDfmH9KNKgQ.jpeg" /></figure><p>Face recognition serves to streamline the often tedious process of tagging people in the photo. The face recognition used for this feature can be powered by a CNN. So, next time you use this feature when having to tag people in a couple of hundred images from a conference, thank CNN’s.</p><p><strong>👩‍⚕️ Health Care</strong></p><p>Image processing with CNN’s can help radiologists identify medical issues from patient <strong>X-rays</strong>. Also, CNN’s can be used for identifying when elderly people fall and coupled with other technology, caregivers can get <em>notified</em> of the fall get them the help they need.</p><p>Personally, I am excited about this use case as<strong> </strong>falls are the l<a href="https://www.ncoa.org/news/resources-for-reporters/get-the-facts/falls-prevention-facts/">eading cause of <strong>fatal</strong> <strong>injury</strong></a> and the most common cause of nonfatal trauma-related hospital admissions among older adults.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MnhnAyCAuAy9VNpcgONX9g.jpeg" /></figure><p><strong>🗣 Speech Recognition</strong></p><p>CNN’s can also be used for speech recognition! After following a Tensorflow tutorial, I was able to make a model that classifies audio clips as “down”, “go”, “left”, “no”, “right”, “stop”, “up” and “yes”.</p><p>The model uses a simple convolutional neural network (CNN) since the audio files are converted into <strong>spectrogram images</strong>.</p><h3>Diving Deeper Into How a Tensorflow Model Was Able to Classify Audio Clips</h3><p><em>Please note that real speech and audio recognition systems are much more complex however, this project allowed me to get a basic understanding of the techniques involved in classifying audio clips.</em></p><h4>Imports &amp; Data</h4><p>This tutorial used TensorFlow Keras, and the <a href="https://www.tensorflow.org/datasets/catalog/speech_commands">Speech Commands dataset</a>, which consists of over 105,000 audio files of people saying thirty different words.</p><p>This project classifies 8 words, which each have 1000 examples per label. The data was then split into the Training set (80% of the data), Validation set(10% of the data), and a Test set (10% of the data).</p><h4>Reading Audio Files and Their Labels</h4><p>When first imported the audio file will be read as a <strong>binary file</strong>. To use the model we want to convert this into a <a href="https://en.wikipedia.org/wiki/Tensor#:~:text=In%20mathematics,%20a%20tensor%20is,scalars,%20and%20even%20other%20tensors."><strong>numerical tensor</strong></a>.</p><p>To load an audio file, we use <a href="https://www.tensorflow.org/api_docs/python/tf/audio/decode_wav">tf.audio.decode_wa</a>v, which returns the WAV-encoded audio as a Tensor and the sample rate—which defines how many <strong>times per second</strong> a sound is sampled.</p><p>Each sample represents the <strong>amplitude</strong> of the audio signal at that specific time. In a 16-bit system, the values range from -32768 to 32767. However, the <a href="https://www.tensorflow.org/api_docs/python/tf/audio/decode_wav">tf.audio.decode_wav</a> will normalize the values to the range [-1.0, 1.0].</p><h4>Data &amp; Spectrogram’s</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/633/1*eIPD1HHkSm_A79SGQZGo5A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/572/0*GteT0LmwYUHNi06P.png" /><figcaption>Left: Waveform of word. Right: Spectrogram of word.</figcaption></figure><p>Next, we have to convert the waveform into a <strong>spectrogram</strong>, which shows frequency changes over time when saying a word and represents these changes as a 2D image. This can be done by applying the<a href="https://en.wikipedia.org/wiki/Short-time_Fourier_transform#:~:text=The%20Short%2Dtime%20Fourier%20transform,as%20it%20changes%20over%20time.&amp;text=This%20reveals%20the%20Fourier%20spectrum%20on%20each%20shorter%20segment."> short-time Fourier transform (STFT)</a> to convert the audio files into the time-frequency domain.</p><p>Then a Fourier transform (<a href="https://www.tensorflow.org/api_docs/python/tf/signal/fft">tf.signal.fft</a>) converts a signal to its <strong>component frequencies</strong> but loses all-time related information of how the word was said.</p><p>However, luckily we can use the STFT (<a href="https://www.tensorflow.org/api_docs/python/tf/signal/stft">tf.signal.stft</a>) to split the signal into windows of time and run a Fourier transform on each window. This preserves some time information and returns a <strong>2D tensor</strong> that we can run standard convolutions on.</p><p>The STFT produces an <strong>array of complex numbers</strong> representing the magnitude and phase of the word being said. However, we only need the magnitude for this project, which can be derived by applying <a href="https://www.tensorflow.org/api_docs/python/tf/math/abs">tf.abs</a>on the output of <a href="https://www.tensorflow.org/api_docs/python/tf/signal/stft">tf.signal.stft</a>.</p><p>We want the generated spectrogram “image” to be almost square.<br>To do that we need to chooseframe_length and frame_stepparameters.</p><p>We also want the waveforms to have the same length so that when we convert them to a spectrogram image, the results will have similar dimensions. We can do this by simply zero <strong>padding</strong> the audio clips that are shorter than one second.</p><pre>def get_spectrogram(waveform):<br>  # Padding for files with less than 16000 samples<br>  zero_padding = tf.zeros([16000] - tf.shape(waveform), dtype=tf.float32)<br><br>  # Concatenate audio with padding so that all audio clips will be of the <br>  # same length<br>  waveform = tf.cast(waveform, tf.float32)<br>  equal_length = tf.concat([waveform, zero_padding], 0)<br>  spectrogram = tf.signal.stft(<br>      equal_length, frame_length=255, frame_step=128)<br><br>  spectrogram = tf.abs(spectrogram)<br><br>  return spectrogram</pre><h4>Explore the Data</h4><p>Now let’s compare the waveform, the spectrogram and the actual audio of one example from the dataset.</p><pre>for waveform, label in waveform_ds.take(1):<br>  label = label.numpy().decode(&#39;utf-8&#39;)<br>  spectrogram = get_spectrogram(waveform)<br><br>print(&#39;Label:&#39;, label)<br>print(&#39;Waveform shape:&#39;, waveform.shape)<br>print(&#39;Spectrogram shape:&#39;, spectrogram.shape)<br>print(&#39;Audio playback&#39;)<br>display.display(display.Audio(waveform, rate=16000))</pre><p>Doing so yields the following results:</p><pre>Label: yes<br>Waveform shape: (13375,)<br>Spectrogram shape: (124, 129)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/737/0*euye8fuVNw34xunR.png" /><figcaption>Plot of the waveform &amp; spectrogram for yes</figcaption></figure><h4>Build and Train the Model</h4><p>For the model, we will use a simple convolutional neural network (CNN), since we have transformed the audio files into spectrogram images. The model also has the following additional preprocessing layers:</p><ul><li>A <a href="https://www.tensorflow.org/api_docs/python/tf/keras/layers/experimental/preprocessing/Resizing">Resizing</a> layer to downsample the input to enable the model to train faster.</li><li>A <a href="https://www.tensorflow.org/api_docs/python/tf/keras/layers/experimental/preprocessing/Normalization">Normalization</a> layer to normalize each pixel in the image based on its mean and standard deviation.</li></ul><p>For the Normalization layer, its adapt method would first need to be called on the training data to compute aggregate statistics; for example, finding out the mean and standard deviation and uses an <a href="https://deepai.org/machine-learning-glossary-and-terms/epoch">EPOCHS</a> of 10.</p><pre>for spectrogram, _ in spectrogram_ds.take(1):<br>  input_shape = spectrogram.shape<br>print(&#39;Input shape:&#39;, input_shape)<br>num_labels = len(commands)<br><br>norm_layer = preprocessing.Normalization()<br>norm_layer.adapt(spectrogram_ds.map(lambda x, _: x))<br><br>model = models.Sequential([<br>    layers.Input(shape=input_shape),<br>    preprocessing.Resizing(32, 32), <br>    norm_layer,<br>    layers.Conv2D(32, 3, activation=&#39;relu&#39;),<br>    layers.Conv2D(64, 3, activation=&#39;relu&#39;),<br>    layers.MaxPooling2D(),<br>    layers.Dropout(0.25),<br>    layers.Flatten(),<br>    layers.Dense(128, activation=&#39;relu&#39;),<br>    layers.Dropout(0.5),<br>    layers.Dense(num_labels),<br>])<br><br>model.summary()</pre><h4>Results</h4><p>After training the model it has a test set accuracy of 84%. You can check out all the code <a href="https://colab.research.google.com/drive/1kqp6k6ZDHR95LbqgSp0wOBWnLqqxKDzz?usp=sharing">here</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/372/0*eEleQXqZHeCq1wEM.png" /><figcaption>Results graph of correctly classifying audio</figcaption></figure><h3>Applications of Classifying Audio Clips</h3><p>The reason why I got interested in how CNN’s can classify audio clips centers around exploring the question: <strong><em>Can you tell if someone is depressed just from their voice?</em></strong></p><p>After reading <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4791067/">Detecting Depression Severity from Vocal Prosody</a> it was clear that depression could be identified to some degree due to one’s voice in an interview for depression. Together, participants’ and interviewers’ vocal prosody allowed for detection of the ordinal range of depression severity (low, mild, and moderate-to-severe) in 69% of cases.</p><p>Although we are far from the day in which doctors can be assisted with ML to diagnose depression, I am excited to continue to keep exploring this idea.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8fbc1a84dc1a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Solve a Problem the Right Way—With the Harvard Business School Case Method]]></title>
            <link>https://medium.datadriveninvestor.com/solve-a-problem-the-right-way-with-the-harvard-business-school-case-method-f63eefc4ddc?source=rss-fc518303029b------2</link>
            <guid isPermaLink="false">https://medium.com/p/f63eefc4ddc</guid>
            <category><![CDATA[consulting]]></category>
            <category><![CDATA[research]]></category>
            <category><![CDATA[business-strategy]]></category>
            <category><![CDATA[problem-solving]]></category>
            <category><![CDATA[business]]></category>
            <dc:creator><![CDATA[Kristina Arezina]]></dc:creator>
            <pubDate>Tue, 12 Jan 2021 22:55:07 GMT</pubDate>
            <atom:updated>2022-08-17T21:05:53.637Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b1QqoyMb865C2GYQteqJ2w.jpeg" /></figure><p>Imagine that it’s 2017, and you’ve just been promoted to vice president of Alibaba Group and the general manager of the <strong>Rural Taobao initiative</strong>.</p><p>Your job is to work on Rural Taobao, an initiative designed to attract <em>hundreds of millions</em> of Chinese rural villagers to use Taobao—Alibaba’s consumer e-commerce marketplace. Oh, and also, you need to figure out how to make a <strong>financially sustainable</strong> business model.</p><p>This initiative is on version 3.0, meaning that it has failed twice before. The company is counting on you to make it work — <em>you are their last shot.</em></p><p>A lot of <strong>money</strong> and your <strong>reputation</strong> is on the table with this project. What do you do? How do you approach this problem and create a comprehensive plan to put your solution into action?</p><p>If you were anything like me, your first impulse would be to say: “Okay, time to come up with <em>solutions</em>”. But this approach is <strong>wrong</strong>! The knee-jerk reaction of most people is to try to find answers right ways.</p><p>However, problems such as figuring out how to attract hundreds of millions of Chinese rural villagers to use Taobao while having a financially sustainable business model have<strong> never been solved before</strong>. So there is no answer you can look up and copy — <strong><em>you</em></strong><em> need to solve this</em>.</p><p>With these kinds of problems, <strong>questions</strong> are more important than the <strong>answers</strong>. The answer you come up with can be very wrong as there is no way to check your answer unless you implement it. However, to implement a solution you need to spend a ton of time and money—two resources you can not afford to waste.</p><p>So, you need to figure out what the best course of action is by conducting a ton of research and thinking. It’s definitely not as easy as just having a few googling and brainstorming sessions. But, for this very reason, if you figure out how to solve hard problems like this, you are <strong>valuable</strong> and <strong>unique</strong>.</p><h3>How do you start approaching this problem?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uBUCH3bDoeG07RGf.png" /></figure><h4>1. Understand the Industry</h4><p>So, Google “What is e-commerce” or “E-commerce in China” or even “E-commerce in rural China” and your set? Unfortunately, it’s not that easy. Rather, you want to see how the industry for rural e-commerce is doing right now in China, and you need to find out if it is the <strong>right</strong> <strong>time</strong> to tackle this problem.</p><p>To do this you need to find out tons of information that mainly answers two questions:</p><ol><li>How big of an opportunity is this?</li><li>Should you be focused on this opportunity? (In this case: Should Alibaba focus on rural e-commerce in China?)</li></ol><p>You need to ask questions such as: How many rural internet users there are? How much income do people make in rural areas? Is the amount of disposable income increasing for people in rural areas? What was the worth of the e-commerce industry right now? Is the market at saturation?</p><p>Once you come up with this data, you need to calculate <strong>growth</strong>. One way to do this, which has the added benefit of having a cool name that makes you sound smart, is by calculating the compounded annual growth rate (CAGR). This means if the company grew by a flat percentage every year, what percentage would that be?</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FFu2LUHY8nLw%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DFu2LUHY8nLw&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FFu2LUHY8nLw%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/6e59f9437d145ca74e552aa167b606fd/href">https://medium.com/media/6e59f9437d145ca74e552aa167b606fd/href</a></iframe><h3>Now that you actually know that you want to solve this problem, what do you do?</h3><h4>Customer analysis</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*LyBLlvFxdYXdZK5N" /></figure><p>One <strong>assumption</strong> that people often make is that they believe customers think and act as they do. That can not be further from the truth. People, especially if they are from different cultures, have different cultural values, views of the world, and opportunities.</p><p><strong>You want to ask questions that help you understand:</strong></p><ul><li>What are the customers like? (In this case: What are rural customers like?)</li><li>What behaviors should we take into account, and what does this mean?</li></ul><p>To understand this, you need to understand factors such as people’s household income, disposable income, internet access, tech-savviness, trust, and social norms. Remember, you are not developing a solution for yourself, get rid of any assumptions you have about what people will and will not like!</p><p>In this example of working on expanding Rural Taobao and attracting hundreds of millions of Chinese rural villagers to use Taobao, all while having a financially sustainable business model the customers are nothing like a Canadian born and raised in Ottawa. So you need to change your perspective.</p><p>To get an understanding of customers, you need to <strong>talk</strong> to them and gather qualitative data. Also, you need to find statistics that prove something about the customer with <strong>quantitative</strong> data.</p><h4>2. What is currently being done?</h4><p>This step is only applicable if the company you are solving a problem for has tried to solve this problem before. Most of the time, this is the case as business and technology are very iterative processes.</p><p>You need to understand: What is the current business model? How are they making money? Are they profitable? What is their revenue? What are their costs? In essence, you are trying to find out how <strong>sustainable</strong> their current business model is.</p><p>Then, you need to break down what worked and what did not work. And no, your gut feeling of what worked and did not work is not good enough. You need to do <strong>calculations</strong> and <strong>get numbers</strong>!</p><p>If you think that the business model currently in place is unsustainable you need to <strong>prove it</strong>. You will need to compare the costs of the company, revenue, how much it cost to set up the system currently in place, and how many people are using the product.</p><p>If there were several iterations of the company trying to solve the problem in the past you need to do this process over and over again to get a sense of what worked, what did not work, and how much trouble the company currently is in. If you don’t do this you will make the <strong>same mistakes </strong>as have been made in the past!</p><p>Then, compare the revenue as a percentage of costs for each iteration. As a business, your revenues must be higher than expenses, it’s simple math. So you need to figure out what levers you can pull to create an acceptable business model that is finically sustainable.</p><h4>3. The MECE framework</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/742/1*qJKvhE4VNptcEz3ZlL0ZkA.png" /></figure><p>The <a href="https://www.mbacrystalball.com/blog/strategy/mece-framework/">MECE framework</a> is awesome! In essence, it allows you to lay out what the potential solutions for a problem are. Then it allows you to explore whether or not these solutions will work.</p><p>To understand if potential solutions will work you need to do, you guessed it — more math!</p><p>Eventually, if you explore each possibility you will find what the main issue is and how you can solve it.</p><h4>4. Competitor analysis</h4><p>Now that you have analyzed the company you are trying to find a solution for you may be tempted to come up with solutions. But hold your horses! You need to first understand what similar companies are doing and what is working and not working for them.</p><p><strong>Some good areas for research are:</strong></p><ul><li>What is the competitors’ growth rate over time?</li><li>How much of the market does the competitor have?</li><li>What software the competitors offer and how does it work?</li><li>What is the competitors’ business model (how do they make money and get consumers)?</li><li>What is their revenue/profit?</li></ul><h4>5. Solutions!</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*Z7-0EvHg8Fux1eUE" /></figure><p>Finally, it is time to start thinking about recommendations and solutions! This part should be easy if you did your research and asked the right questions.</p><p>Ask yourself, given what you know now, what solutions make sense? Do you have numbers behind your ideas? Are you making the same mistakes as your company or competitors have made in the past?</p><p>If you follow these 5 steps, I can’t guarantee that you will come up with the right solutions. But you definitely will be asking the right questions, and without the right questions, you will never come up with the right solutions.</p><p>Remember to understand the industry by figuring out how big the opportunity <strong>really</strong> is for this project. Then conduct customer analysis. Don’t assume, find numbers, and <strong>talk</strong> to your customers. Understand what is currently being done in your company to solve this problem. Why is it working or not working? Again, have <strong>numbers</strong> to prove your conclusions! Then, use the MECE framework to explore potential solutions. After that, understand what your competitors are doing and whether or not it is working for them. And finally, find your solution.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f63eefc4ddc" width="1" height="1" alt=""><hr><p><a href="https://medium.datadriveninvestor.com/solve-a-problem-the-right-way-with-the-harvard-business-school-case-method-f63eefc4ddc">Solve a Problem the Right Way—With the Harvard Business School Case Method</a> was originally published in <a href="https://medium.datadriveninvestor.com/">DataDrivenInvestor</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Are You, Really? AI Can Find Out.]]></title>
            <link>https://arezina-kristina23.medium.com/how-are-you-really-ai-can-find-out-4e3fd844b28f?source=rss-fc518303029b------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e3fd844b28f</guid>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[mental-illness]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[naturallanguageprocessing]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Kristina Arezina]]></dc:creator>
            <pubDate>Sat, 14 Nov 2020 04:32:13 GMT</pubDate>
            <atom:updated>2022-08-17T21:08:00.857Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Drkd-rq8SQ_lxM7K" /></figure><p>How are you doing? Oftentimes the answer to this question is— <em>I’m good! </em>Because of this default answer, it can be hard to determine how the person you are chatting with is really feeling. Are they <strong>actually</strong> happy and healthy?</p><p>Doctors often feel the same uncertainly when they are attempting to evaluate whether someone has a mental disorder that is tricky to diagnose, such as depression.</p><p>The <strong>uncertainty</strong> that doctors face is a huge problem as depression is a leading cause of disability worldwide. Although there are known, <strong>effective </strong>treatments for mental disorders, between<a href="https://www.who.int/news-room/fact-sheets/detail/depression"> 76% and 85%</a> of people in low and middle-income countries receive no treatment for their disorder!</p><p>Some barriers to effective care include a lack of resources, lack of trained health-care providers, and social stigma associated with mental illness.</p><p><strong>Inaccurate </strong>assessment is a significant contributor to people not receiving the help they need. In countries of all income levels, people who are depressed are often not correctly diagnosed. And others who do not have the disorder are too often <a href="https://www.who.int/news-room/fact-sheets/detail/depression">misdiagnosed</a> and prescribed antidepressants.</p><p><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4230951/">Low accuracy</a> of a GPs identification of depression can lead to appropriate treatment not being offered to those who may benefit from treatment.</p><p>This is a <strong>huge </strong>problem as untreated depression may <a href="https://pubmed.ncbi.nlm.nih.gov/18945396/">result</a> in increased morbidity due to lack of energy, impaired cognitive focus, and adverse effects on an individual’s social, work or study, and home life.</p><h3>Why Is The Assessment of Mental Health Disease Inaccurate?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bswsV7x2x_PqvkbVgpdwLg.jpeg" /></figure><p>A 2009 meta-analysis of 50,000 patients published in the<a href="https://www.thelancet.com/"> Lancet</a>, found that general practitioners <strong>only</strong> correctly identified depression in patients in<a href="https://www.bridgestorecovery.com/blog/the-dangers-of-mental-health-misdiagnosis-why-accuracy-matters/"> 47.3%</a> of cases!</p><p>Meanwhile,<a href="http://www.reuters.com/article/us-misdiagnosed-bipolar-idUSTRE57C4SZ20090813"> a 2008 study</a> by researchers at the Brown University School of Medicine found that 57% of adults diagnosed with bipolar disorder did not meet diagnostic criteria upon a more comprehensive diagnostic review.</p><p>Aside from bipolar disorder and depression, some of the most frequently misdiagnosed mental health disorders include borderline personality disorder, ADHD, PTSD, and anxiety.</p><p>So, what causes these high rates of misdiagnosis? One factor could be that “clinicians are inclined to diagnose disorders that they feel more comfortable treating” says Dr. Mark Zimmerman, associate professor at Brown University.</p><p>Another major factor that causes psychiatrists to make a misdiagnosis is that oftentimes patients themselves are not telling the doctor their <strong>full symptoms</strong>. This may be due to the stigma of mental illness, not understanding that the things they are experiencing are symptoms or because they do not feel comfortable telling the doctor how they are feeling.</p><p>Also, if one suspected they had depression or other mental illnesses, most hospitals would use the Diagnostic and Statistical Manual of Mental Disorders, fifth edition (DSM-5), and follow a <strong>categorical approach</strong> based on qualitative questioning to form a diagnosis.</p><p>This can be an issue as qualitative questions can be difficult to answer as they require one gauge how they are feeling with <strong>no empirical data</strong> to back it up.</p><p>Clearly, there are a lot of issues with the way mental illness is diagnosed now. Perhaps it is time to look into <strong>different tools</strong> we can use to aid with diagnoses? Well, turns out Facebook and machine learning (ML) might be able to help.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*eZ47QNQlVwmjN0TR" /></figure><h3>Using Facebook Posts To Find Depression</h3><p>Facebook has over <strong>2.2-Billion</strong> active users, and they share all kinds of things. Researchers identified that vast amounts of data are being shared and used the posts on Facebook and medical records to detect early symptoms of a mental health problem.</p><p>With the Facebook data in hand and using an ML model, researchers could identify the depressed patients with a fair degree of accuracy at<a href="https://wire19.com/can-artificial-intelligence-reduce-mental-health-issues/"> AUC=0.69</a>, approximately matching the accuracy of screening surveys benchmarked against medical records.</p><p>The<a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6111060/"> researchers</a> reported the words you post in your status updates could also contain hidden information about your<a href="https://www.wired.com/tag/mental-health/"> mental health</a>. Language predictive of depression includes references to typical symptoms, including sadness, loneliness, hostility, rumination, and increased self-reference.</p><p>To use Facebook’s data, researchers used natural language processing (NLP) techniques to make inferences about peoples’ mental states from what they write on Facebook.</p><h3>How Can NLP Be Used To Help Diagnose Depression</h3><p>In essence, NLP can be used to detect the sentiment of text via <strong>sentiment analysis</strong>. This is the process of determining the emotional tone behind a series of words used to gain an understanding of the attitudes, opinions, and emotions expressed within an online mention.</p><p>But that is not to say that sentiment analysis is a perfect science at all. The human language is complex. So, teaching a machine to analyze the various grammatical nuances, cultural variations, slang, and misspellings that occur in online mentions is a difficult process.</p><h4>How Does NLP &amp; Sentiment Analysis Work?</h4><p>Although NLP &amp; sentiment analysis can be tricky to get right, there are three common steps used by engineers to perform sentiment analysis of a text that I will outline below.</p><ol><li><strong>Tokenization</strong></li></ol><p>This is the process of getting words to be in a <strong>format</strong> that the computer can <strong>process</strong> them in. This is an important step as it allows a neural network to understand the meaning of the words.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*AsUOPZClHvSqYT5YwNAGJw.png" /><figcaption>Tokenization of text</figcaption></figure><p>We can do tokenization by writing code in Python. We can encode words in a sentence such as “I love my dog” into numbers. We can import the tokenizer API’s from Keras in Tensorflow to help us with this <a href="https://colab.research.google.com/github/lmoroney/dlaicourse/blob/master/TensorFlow%20In%20Practice/Course%203%20-%20NLP/Course%203%20-%20Week%201%20-%20Lesson%201.ipynb">step</a>.</p><p>Also, the tokenizer is intelligent enough to catch exceptions such as punctuation. For example, “I love sushi.” and “I love sushi!” will have the same tokenization.</p><p>Now our words are represented by <strong>numbers</strong>! But that is not too useful yet. Next, we need to represent sentences by <strong>sequences</strong> of numbers in the correct order.</p><p>Then we will have data ready for processing by a neural network to understand the sentiment of the text!</p><p><strong>2. Turning sentences into data</strong></p><p>Now we need to create sequences of numbers from the sentences. To do this we will use tools to process them to make them ready for teaching the neural network. Then the sentences containing words will be turned into sequences of numbers.</p><p>And lucky for us, there is a <strong>text_to_sequence method</strong> in Tensorflow which performs most of the work. It creates sequences of tokens representing each sentence so that the data from the text can be ready for training a neural network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MSoYSEZb1o7ZEPdXOJsePg.png" /><figcaption>Top: Word value pairs. Bottom: Sequences that text_to_sequence<strong> </strong>returned</figcaption></figure><p>However, we need to think about how the neural network will classify text that has words it has <strong>never seen </strong>before (which means the words were not in the word index as the training set was limited in vocabulary).</p><p>It is important to not lose the length of the sequence for the neural network to work. So, use the out of <strong>vocabulary token</strong> property and set it to something we would not see in the training set (&lt;OOV&gt; for example).</p><p>The tokenizer will create a token for &lt;OOV&gt; and then replace words that it does not recognize with the out of vocabulary token instead. This way we still lose a lot less meaning than if we did not have an out of vocabulary token.</p><p>Another question we should think about when turning sentences into data is: How can we train a neural network on sentences of different <strong>lengths</strong>? Unlike images where they are all usually the same size, sentences can vary drastically in length which can bias the neural network.</p><p>A simple solution to this problem is using padding. We can import <strong>pad_sequences</strong> from Keras in Tensorflow to pad sequences. That way each of the sentences is the same size as they are padded with zeros at the front. We can also choose to make all the sequences smaller by chopping off the words at the start or end.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*aw3kK10DZP9Z6KGC" /><figcaption>Top: Initial set of sequences. Bottom: Padded set of sequences.</figcaption></figure><h4><strong>3. Training a model to recognize sentiment in text</strong></h4><p>Next, we need to build a <strong>classifier</strong> to recognize sentiment in text. <strong>Sarcasm</strong> is tricky, but we can use a <a href="https://www.kaggle.com/rmisra/news-headlines-dataset-for-sarcasm-detection">dataset</a> of headlines where each headline has been categorized as sarcastic or not. We can then train a classifier on this so that it can tell us if a new piece of text looks like it might be sarcastic.</p><p>Now let’s code this! First, we need to change the dataset from JSON to Python for the model to work. For this, we can import JSON at the top and load the sarcasm.json file with it.</p><p>Then, we can create a list of sentences, labels, and URLs. And when we iterate through JSON we can load the values into the lists. Then once we have the three lists we can do preprocessing on the text.</p><p>Calling tokenizer.fit_on_texts(sentences) on the headline creates tokens for every word in the corpus. Then, we can turn sentences into sequences of tokens and pad them to the same length with this code. If we want to inspect them we can simply print them out.</p><pre>from tensorflow.keras.preprocessing.text import Tokenizer</pre><pre>from tensorflow.keras.preprocessing.sequence import pad_sequences</pre><pre>tokenizer = Tokenizer(num_words = 100, oov_token=&quot;&lt;OOV&gt;&quot;)</pre><pre>tokenizer.fit_on_texts(sentences)</pre><pre>word_index = tokenizer.word_index<br></pre><pre>sequences = tokenizer.texts_to_sequences(sentences, padding=&#39;post&#39;)<br></pre><pre>print(padded[0])</pre><pre>print(padded.shape)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*4mjUlhx9h-nJ5T5c" /><figcaption>Turn sentences into sequences of tokens</figcaption></figure><p>Next, we need to split up the data for <strong>training</strong> and <strong>testing</strong> from the sequences. The neural network will only see the training data and will never see the test data.</p><p>Awesome! We are close to getting the neural network to work. But before we get into that we should understand how our code can get meaning from the numbers that repentant the words in a sentence.</p><p>This is where <strong>embeddings</strong> come in. We can plot the sentiment of the word as coordinates in the x and y plane. By looking at the direction of the vector can start to determine the meaning of the word.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*FheYJYgwMi-7l0w2" /><figcaption>Plotting words in the x and y plane</figcaption></figure><p>What if words that are labeled with sentiments, like sarcastic and not sarcastic are plotted in these <strong>multiple dimensions</strong>? And as the model tries to learn what the direction in these multi-dimensional spaces should look like.</p><p>Words that only appear in the sarcastic sentences will have a strong component in the sarcastic direction and others will have one in the not-sarcastic direction. As we load more and more sentences into the network for training these directions can change to reflect that.</p><p>And when we have a fully trained network and give it a set of words, it could look up the <strong>vectors</strong> for these words, sum them up, and thus, give us an idea for the sentiment. This whole concept is known as embedding. Blow is an example of embedding text using Tensorflow.</p><pre>model = tf.keras.Sequential([</pre><pre>tf.keras.layers.Embedding(vocab_size, embedding_dim, input_length=max_length),</pre><pre>tf.keras.layers.GlobalAveragePooling1D(),</pre><pre>tf.keras.layers.Dense(24, activation=&#39;relu&#39;),</pre><pre>tf.keras.layers.Dense(1, activation=&#39;sigmoid&#39;)</pre><pre>])</pre><pre>model.compile(loss=&#39;binary_crossentropy&#39;,optimizer=&#39;adam&#39;,metrics=[&#39;accuracy&#39;])</pre><p>The top layer in the image above is an embedding where the direction of each word will be learned epoch by epoch. This means that the entire training dataset will be fed into the machine learning algorithm in increments.</p><p>After that, we pool with a global average pooling, which means adding up the vectors. Then this is then fed into a neural network.</p><p>Cool! But how do we use this to establish sentiment for <strong>new</strong> sentences? Let’s create some sentences that we want to classify in the sentence array. Then use the tokenizer that was created earlier to convert them into sequences. This way the words will have the same tokens as the training set.</p><p>We will then pad those sequences to be the same dimensions as those in the training set and use the same padding type. And we can then predict on the padded set. Below is the code for sentiment analysis with new text.</p><pre>sentence = [&quot;granny starting to fear spiders in the garden might be real&quot;, &quot;game of thrones season finale showing this sunday night&quot;]</pre><pre>sequences = tokenizer.texts_to_sequences(sentence)</pre><pre>padded = pad_sequences(sequences, maxlen=max_length, padding=padding_type, truncating=trunc_type)</pre><pre>print(model.predict(padded))</pre><p>Sentiment analysis is a powerful tool that can be used to help doctors diagnose mental illness. But at the moment, most applications of it are to increase the <strong>profits</strong> of businesses. Hopefully, with public awareness of sentiment analysis society, will demand institutions such as healthcare to use this powerful tool for the <em>good of humanity</em>.</p><h3>TL;DR</h3><ul><li>Doctors often feel uncertain when they are attempting to evaluate whether someone has a mental disorder. This causes many problems.</li><li>Many things attribute to the high rates of misdiagnosis: clinicians are inclined to diagnose disorders that they feel more comfortable treating, oftentimes patients themselves not telling the doctor their full symptoms, the DMS-5 is a categorical approach based on qualitative questioning to form a diagnosis.</li><li>Researchers used what people shared on Facebook and medical records to detect early symptoms of a mental health problem.</li><li>The main steps to NPL are: tokenization, turning sentences into data, and training a model to recognize sentiment in text</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e3fd844b28f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What’s The Deal With All The Open Source ML Libraries?]]></title>
            <link>https://medium.com/analytics-vidhya/whats-the-deal-with-all-the-open-source-ml-libraries-d7b1f1ae5b33?source=rss-fc518303029b------2</link>
            <guid isPermaLink="false">https://medium.com/p/d7b1f1ae5b33</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[pytorch]]></category>
            <category><![CDATA[tensorflow]]></category>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Kristina Arezina]]></dc:creator>
            <pubDate>Mon, 02 Nov 2020 03:17:23 GMT</pubDate>
            <atom:updated>2022-08-17T21:09:22.166Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TSHzvm7vgasU-ilzbAsnng.jpeg" /></figure><p>The tech community is <strong>amazing</strong>! We help each other by open-sourcing resources and sharing knowledge on platforms such as GitHub and Stack Overflow. There are over <a href="https://github.blog/2018-11-08-100m-repos/#:~:text=Today%20we%20reached%20a%20major,collaborating%20across%201.1%20billion%20contributions.">100 million repositories</a> now live on GitHub and over 18 million questions and <a href="https://www.google.com/search?sxsrf=ALeKk01XgT35CtUawmQcdXegtNgEq4IthQ%3A1604180039002&amp;ei=RtidX9DTPMXI_Qap0YbABw&amp;q=how+many+answers+are+there+an+stack+overflow&amp;oq=how+many+answers+are+there+an+stack+over&amp;gs_lcp=CgZwc3ktYWIQAxgAMgcIIRAKEKABOgQIIxAnOgUIABCRAjoICAAQsQMQgwE6CwguELEDEMcBEKMCOgUIABCxAzoICC4QsQMQgwE6CAgAEMkDEJECOgQIABBDOgIIADoICC4QyQMQkQI6BwgAELEDEEM6CwgAELEDEIMBEMkDOgUIABDJAzoICCEQFhAdEB46BwgAEMkDEA06BAgAEA06BggAEA0QHjoICAAQCBANEB46BggAEBYQHjoJCAAQyQMQFhAeUOvLAVjfjAJgx5ICaARwAXgAgAG9AYgB6yGSAQUzMC4xNJgBAKABAaoBB2d3cy13aXrAAQE&amp;sclient=psy-ab">27 million answers</a> on Stack Overflow.</p><p>This feature of the tech community really helped me during the past two weeks when I was exploring the sentimental analysis of text. I was amazed at all the <strong>open source libraries</strong> available to help me tinker with sentimental analysis!</p><p>But this got me thinking: <em>Why are companies open-sourcing these Machine Learning (ML) libraries?</em> In general, businesses don’t do things unless it is economically incentivized. What is the <strong><em>incentive</em></strong>?</p><h3>Open Sourcing ML Libraries Is Popular</h3><p>Google Brain, Open AI, Facebook Research, and Google DeepMind are just some examples of <strong>tech giants</strong> open-sourcing their research and models for developers to use.</p><p>But there are also countless open source initiatives made by the developer community. Let’s explore some of the free libraries available for Natural Language Processing (NLP) and Computer Vision below.</p><h4>Natural Language Processing</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mAFjaVY2bh6vwl7I.png" /></figure><p>Mostly thanks to Facebook’s AI Research Lab,<strong> PyTorch-NLP</strong> can be used to perform NLP in Python quickly. It comes with pre-trained embeddings, samplers, dataset loaders, metrics, neural network modules, and text encoders.</p><p>With all of these features, PyTorch enables fast, flexible experimentation and efficient production.</p><p>On the other hand, <strong>TextBlob</strong> is a Python library for processing textual data that was made independent of a tech giant sponsoring its development. It provides a consistent API for common NLP tasks such as part-of-speech tagging, noun phrase extraction, sentiment analysis, and more.</p><p>I personally found TextBlob intuitive and simple to use when I was using Twitter’s API to perform sentiment analysis on Tweets. Just <a href="https://colab.research.google.com/drive/1hCYmiatrfe35yBaVg4SS63rFUJjddpf4#scrollTo=6OTJUSVxAsM1">one line of code</a> could be used to get the <strong>subjectivity</strong> and <strong>polarity</strong> of the text.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/563/1*L2xIAUy7N--BTV4C5IdmRw.png" /><figcaption>Sentiment Analysis of Bill Gates Tweets Using Textblob —<a href="https://colab.research.google.com/drive/1hCYmiatrfe35yBaVg4SS63rFUJjddpf4?usp=sharing"> source</a></figcaption></figure><h4>Computer Vision</h4><p>PoseNet is a computer vision model that can be used to estimate the pose of a person in an image or video by estimating where key body joints are. PoseNet was developed by <strong>TensorFlow</strong>. And the <strong>Google Brain</strong> team created the TensorFlow library for numerical computation and large-scale machine learning.</p><p>Pose estimation refers to computer vision techniques that detect human shapes in images and videos so that one could determine, for instance, where someone’s knee is in an image or video. Pose estimation technology is not recognizing who/what is in an image like object detection does. Instead, the algorithm is simply estimating where key body joints are.</p><p>When TensorFlow was introduced, developers were able to establish, train, and run machine learning models solely in the browser, using Javascript and a high-level layers API. And since <a href="https://github.com/tensorflow/tensorflow">TensorFlow</a> is an open source library anyone can check out the repo on GitHub and tinker with it.</p><p>Again, like TextBlob, I found PoseNet intuitive to use. And I did not need to make an ML model to find the key points of a <a href="https://demo4posenet.netlify.app/">person’s stance and skeleton in a browser</a>.</p><h3>Why Are ML Libraries Being Open Sourced?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/0*KjIsvpuszRiETZLW.jpg" /></figure><p>Very rarely in business things happen just for the sake of kindness. Usually, decisions are made due to the <strong>financial</strong> benefit of a company.</p><p>Although I love all the open source libraries, I think more people need to start asking <strong>why</strong> they are being made. Actually, in general, people should ask why more often.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2UBZMksINK7_97pJ.jpg" /></figure><p>Facebook AI was made to <em>“[Pioneer] transformative technologies that empower and connect the world”</em>. They are fulfilling this mission by fostering applied research in open collaboration with the community.</p><p>Facebook AI has researched and published papers on many fields including Computer Vision, Conversation AI, NLP, AI solutions to keep people safe on social platforms, NLP, ranking and recommendations, speech and audio and many more.</p><p>Meanwhile, TensorFlow was developed to create <em>“an entire ecosystem to help you solve challenging, real-world problems with machine learning”</em>. In essence, TensorFlow makes it easy for you to build and deploy ML models so that <strong>everyone</strong> can use the power of ML.</p><p>Due to the ease of using TensorFlow various companies from a wide variety of industries implement ML to solve their <strong>biggest problems</strong>. Companies specializing in healthcare, social networks, and even eCommerce use TensorFlow to help them integrate ML into their products.</p><h4>Examples of Companies Using TensorFlow</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KHf4rUuPJa2XMV1x" /></figure><p>Let’s further explore how companies from across many domains use Tensorflow — maybe we will spot a <strong>pattern</strong>.</p><p><strong>Airbus</strong></p><p>Airbus works on the future of aerospace uses TensorFlow to extract information from their satellite images and deliver valuable insights to their clients. Using ML allows them to monitor changes to the Earth’s surface.</p><p><strong>Carousell</strong></p><p>Carousell is a Singaporean smartphone and web-based consumer to consumer and business to consumer marketplace for buying and selling new and secondhand goods. They use TensorFlow to improve the buyer and seller experience. They build ML models with deep image and NLP understanding to benefit both sellers and buyers.</p><p><strong>GE Healthcare</strong></p><p>GE Healthcare trained a neural network using TensorFlow to identify anatomy on MRIs of the brain. Using TensorFlow, GE Healthcare is training a neural network to identify specific anatomy during brain MRI exams to help improve speed and reliability.</p><p>And there are many more examples, feel free to check them out <a href="https://www.tensorflow.org/about/case-studies">here</a>.</p><h4>Let’s Look at the Companies That Google Acquires</h4><p>Alphabet, Google’s parent company, has acquired acquired over <a href="https://en.wikipedia.org/wiki/List_of_mergers_and_acquisitions_by_Alphabet#:~:text=As%20of%20December%202016%2C%20Alphabet,manufacturing%20company%2C%20for%20%2412.5%20billion.">230 companies</a>. One of the most recent acquisitions Google made in 2020 is acquiring Fitbit for approximately <strong>$2.1 billion</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/773/0*rSE7U490jb_n9nYP" /><figcaption>The Fitbit Charge 4</figcaption></figure><p>Fitbit was founded in early <strong>2007</strong> by James Park and Eric Friedman, who saw the potential for using sensors in small, wearable devices. Now let’s imagine a few things…</p><p>What if Google was working on Fitbit from day one in 2007 when it was created. Let’s picture that 50 employees were working on this project. The typical Google Junior Software Developer salary is $105,638 at Google. So from 2007 to 2020, Google would have to pay about $68,664,700 to just pay workers to create Fitbits.</p><p>This does not even take into consideration the hardware and software that is needed to make the project. And in 2007 Google would have no way of ensuring that Fitbits would be successful and that the investments would <strong>pay off</strong>.</p><p>Now, of course, this scenario is completely made up but it showcases why perhaps it is in the tech giant’s <strong>interest</strong> to open source ML libraries. If I was a tech giant I would also open source software in the hopes that a company uses it, and develops something with their <strong>own time and money</strong>. And then if I saw great potential in them I would acquire them.</p><h4>What About The ML Libraries Made By Developers Themselves?</h4><p>Let’s take TextBlob as an example. It is used in well around <a href="https://enlyft.com/tech/products/textblob">116 companies</a>. The library can be used for free by anyone.</p><blockquote>“Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,”</blockquote><p>One of the benefits of open-sourcing is that developers can casually contribute to projects. Also, open-sourcing can be a huge help in building community, widening your marketing funnel, increasing the quality of your code, and building software people love.</p><h3>So, Should You Use A ML Library?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/878/0*vehpBitEaT0tpKAb.jpg" /></figure><p>Well, there are several schools of thought when it comes to the decision of either making the ML model from scratch or using an open source ML library. The decision comes down to <strong>speed, knowledge, and scalability.</strong></p><p>Usually, libraries allow you to create models faster and deploy a model to production. However, if the ML engineer does not know <strong>how</strong> the library works the project will likely not be able to scale as when bugs occur or the model is producing some weird results the ML engineer will not know how to fix them.</p><p>There is also another huge factor that should contribute to one decision to use an ML library — the <strong>dataset</strong>. But how can you ensure that the dataset the library is trained on is not bias? Well that is the topic of my next article 😉</p><h3>TL;DR</h3><ul><li>There are a lot of open source libraries for ML made by both tech giants and developers</li><li>Tech giants might be open-sourcing ML libraries in hopes that a company will use them to improve. Then, the tech giants may acquire the company</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d7b1f1ae5b33" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/whats-the-deal-with-all-the-open-source-ml-libraries-d7b1f1ae5b33">What’s The Deal With All The Open Source ML Libraries?</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DSM-5: Searching For New Solutions]]></title>
            <link>https://arezina-kristina23.medium.com/dsm-5-searching-for-new-solutions-8fc01a371e4b?source=rss-fc518303029b------2</link>
            <guid isPermaLink="false">https://medium.com/p/8fc01a371e4b</guid>
            <category><![CDATA[health]]></category>
            <category><![CDATA[innovation]]></category>
            <category><![CDATA[mental-illness]]></category>
            <category><![CDATA[mental-health]]></category>
            <dc:creator><![CDATA[Kristina Arezina]]></dc:creator>
            <pubDate>Fri, 09 Oct 2020 14:41:32 GMT</pubDate>
            <atom:updated>2020-10-09T14:41:32.366Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ipFXkH2w0ptGaIoRvWum0w.jpeg" /></figure><p>Shoot, you’ve injured your arm! It was hurting for some time, and you think it may be broken — so you decide that you need to go to the hospital as you are having trouble navigating day-to-day life.</p><p>Once you get to the hospital, you have an <strong>interview</strong> with a doctor for an assessment of your symptoms and history of arm injury. You are asked a series of questions such as:</p><blockquote>Have you felt pain in your arm lately? How does that affect you? Does your arm improve or get worse as the day goes on? On a scale of 1 to 10, if 10 was really, really hurting, where would you put yourself?</blockquote><p>You try your best to answer these questions; however, you are having some <strong>trouble</strong>. You are not exactly sure where your pain is placed on the scale of 1 to 10, or if your arm feels worse or better as the day goes on.</p><p>You seek to do a physical examination to figure out if you have a broken arm. But, the only physical tests available are ones to<strong> rule out</strong> another medical cause for your arm being broken.</p><p>Finally, the doctor thinks about the problems you described and entertains a more specific series of arm diagnoses. Meanwhile, you are frustrated, tired, and in pain, as you are not getting answers as to why your arm is hurting.</p><p>Of course, if you hurt your arm, this would <strong>not</strong> be the way you would be diagnosed — you would get an X-ray or an MRI. But if you suspected you had depression or other mental illnesses, most hospitals would use the <em>Diagnostic and Statistical Manual of Mental Disorders, fifth edition (DSM-5)</em>, and follow a <strong>categorical approach</strong> based on qualitative<strong> </strong>questioning to diagnose you. Similar to the way your hypothetical arm injury was diagnosed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/349/0*PxW0CmctP6ZCh680.jpg" /></figure><h3>What is the DSM-5?</h3><p>The DSM-5 — also referred to as the “Psychiatry Bible” — is the handbook used by most healthcare professionals as the <strong>authoritative</strong> <strong>guide</strong> to diagnosing mental disorders.</p><p>The DSM-5 contains descriptions, symptoms, and other criteria for categorically diagnosing mental disorders. It also provides a common language for clinicians to communicate about mental illness with their patients.</p><h3>Issues With DSM-5</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TYbagjLGDSBpAS9z.jpg" /></figure><p>One of the main issues with the DSM-5 is that it does not provide an understanding of the human mental process — <strong>the mind</strong>.</p><p>Also, it does not account for the importance of various symptoms as the descriptions of symptom criteria are overly broad. This means that patients diagnosed with the same disorder may have very <strong>dissimilar clinical presentations</strong>.</p><p>Furthermore, the DMS-5 classifies mental disorders as if they were <strong>distinct entities</strong>. Even though people diagnosed with different disorders often have various characteristics in common. Also, doctors sometimes do not assess the qualitative diagnostic criteria methodically, often lacking the time or incentives to do so.</p><h3>4 Alternatives to The DSM-5</h3><p>There are 4 viable alternatives to the DSM-5, each with their own tricky acronym and long name to remember — ICD, PDM, HiTOP, and RDoC.</p><h4>1. International Classification of Diseases (ICD)</h4><p>The ICD is the most popular and similar alternative to DSM-5. Likely because it is the keeper of the diagnostic codes used for tracking incidence and prevalence rates, as well as for health insurance compensation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/280/0*TBNDWc0vTETQ0jvL.png" /></figure><p>The main difference between the DSM-5 is that the ICD includes not just mental health diagnoses but <strong>all disease-related diagnoses</strong>. Also, they have different publishers. The ICD is published by the World Health Organization (WHO), and the DSM-5 is published by the American Psychiatric Association (APA).</p><h4>2. Psychodynamic Diagnostic Manual (PDM)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/347/0*VczQyNIua8kZ7fBr.jpg" /></figure><p>The PDM makes an effort to be <strong>descriptive</strong> rather than theoretical. So, unlike other methods, it explicitly has a <a href="https://www.simplypsychology.org/psychodynamic.html">psychodynamic</a> take on diagnostics and mostly lacks a theoretical basis approach.</p><p>The PDM was created to combat the concerns about the gradual diminishment in the professional discourse of in-depth, <a href="https://www.urmc.rochester.edu/MediaLibraries/URMCMedia/education/md/documents/biopsychosocial-model-approach.pdf">biopsychosocial</a> case formulation and individual treatment planning.</p><p>However, critics of the PDM say it fails to provide clinicians the detailed information necessary to guide effective interventions.</p><h4>3. Hierarchical Taxonomy of Psychopathology (HiTOP)</h4><p>The HiTOP is a<strong> data-driven</strong>, hierarchically based alternative to traditional classifications that showcases psychopathology — the study of abnormal cognitions — as a set of dimensions organized into increasingly broad, transdiagnostic spectra.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*bNWhkeUyReNaBYQZ" /><figcaption>HiTOP working model</figcaption></figure><p>In the HiTOP framework, patient psychopathology is no longer described in terms of categorical diagnoses. Rather, psychopathology is conceptualized along <strong>dimensions</strong> with differing levels of severity. The constructs higher in the chart above are broader and more general, whereas constructs lower in the chart are more specific.</p><p>HiTOP explicitly acknowledges the clinical reality that <strong>no clear divisions</strong> exist between most mental disorders and normality or, oftentimes, even between neighboring disorders.</p><p>Moreover, the concept of diagnosis is<strong> </strong>not a boolean value of either being present or absent. Rather it is considered to be a profile that emphasizes the patient’s symptom severity.</p><p>HiTOP may improve <strong>communication</strong> as the dimensional ratings convey more specific information by relaying symptom severity in addition to improving the reliability of a given diagnosis. In contrast, the DSM-5 and ICD approach typically provides a single evaluation with a diagnostic group including a wide range of severity.</p><p>However, there are some barriers for integrating HiTOP into practice. For example, HiTOP communicates clinical problems based on psychopathological profiles rather than categorical diagnoses. Thus, explaining the meaning of higher-level profiles can be more <strong>difficult and time-consuming</strong> than listing multiple diagnoses.</p><h4>4. Research Domain Criteria (RDoC)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*o6kU_Xz5D51jIyBQ.jpg" /></figure><p>The RDoC is a research initiative attempting to build a diagnostic system from the ground up — one that uses <strong>biological markers</strong> to diagnose mental disorders.</p><p>This method of diagnosing is gaining popularity as the National Institute of Mental Health (NIMH) declared they would <strong>no longer fund</strong> research proposals that use DSM-5 diagnoses — instead requiring researchers to use the RDoC matrix.</p><p>The RDoC quantitative view of mental disorders — and the resulting diagnostic systems — provide benefits such as reliability and ease for diagnosis. However, for the RDoC to work, we need to understand a comprehensive picture of a typical and atypical brain and behavioral development across the lifespan.</p><p>Right now, research is not far enough along for RDoC’s adherents to construct a strictly biomarker-based diagnostic system. However, the RDoC hopes one day to replace the DSM-5.</p><h3>How Can Alternatives To DSM-5 Change The World</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*vO6u15BvQEXbnPVO" /></figure><p>A<strong> </strong>quantitative way of prescribing mental disorders can serve as a way of helping doctors make an <strong>accurate diagnosis — </strong>saving time and resources for both the patient and the doctor.</p><p>This approach would improve the DMS-5 system in place now, where mental illness is diagnosed via answers to qualitative questions that can <strong>mislead</strong> the doctor to make the wrong diagnosis. Plus, the quantitative data generated can be used to train AI algorithms to improve mental health.</p><p>Alastair Denniston, a doctor and honorary professor at the U.K.’s University of Birmingham argues that:</p><blockquote>If anything, technology can help doctors focus on the human elements of medicine, rather than getting bogged down in the minutiae of diagnosis and data collection.</blockquote><p>Rather than spending most of the time Doctors have with patients diagnosing if there is a breakthrough in quantitative approaches to mental disorders, they can focus on relaying treatment options for the illness.</p><p>Clearly, alternatives to the DSM-5, such as the ICD, PDM, HiTOP, and RDoC, may have the potential to make the world a more productive, happier, and healthier place!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8fc01a371e4b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI Will Change The World — Here’s How]]></title>
            <link>https://medium.datadriveninvestor.com/ai-will-change-the-world-heres-how-c9da9a72874b?source=rss-fc518303029b------2</link>
            <guid isPermaLink="false">https://medium.com/p/c9da9a72874b</guid>
            <category><![CDATA[agriculture]]></category>
            <category><![CDATA[future]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[healthcare]]></category>
            <dc:creator><![CDATA[Kristina Arezina]]></dc:creator>
            <pubDate>Sat, 03 Oct 2020 14:11:02 GMT</pubDate>
            <atom:updated>2020-10-08T15:40:05.419Z</atom:updated>
            <content:encoded><![CDATA[<h3>AI Will Change The World — Here’s How</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*w1hL7eiemQ0XN_gG" /><figcaption>Photo by <a href="https://unsplash.com/@_louisreed?utm_source=medium&amp;utm_medium=referral">Louis Reed</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>The world is transforming right in front of us — Artificial Intelligence (AI) is <strong>revolutionizing every industry!</strong></p><p>By now most people have heard of AI as it is a romanticized concept that gets a lot of media attention. Understandably people wonder <strong><em>what</em></strong> AI is and have asked one or more of these questions — How does AI work? What are the different types of AI? What is Machine Learning?</p><p>Although it is fascinating to think about what AI is I believe the far more important question is — <strong>how </strong>will AI impact the world? After all, when math was created in the 6th century BCE, most people wondered what math was and didn’t pay attention to the question of how math will change the world forever. If they have they might have been prepared for the revolution in architecture, banks and finance, and astronomy.</p><p>So, instead of writing about the <strong><em>what</em></strong> of AI, I explored <strong><em>how</em></strong> AI will change the world by making a <a href="https://whimsical.com/LXTYdwHsFYe1rdyFCRPfML"><strong>mind-map</strong></a><strong> of the industries that I believe will be substantially impacted by AI!</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6iI6UbkzvNzQs9Lc" /></figure><p>This article will zone in on the most <strong>fundamental institutions </strong>to humankind that allow us to<strong> <em>eat, live, and learn</em></strong> and explain how they will be changed with AI. Then we will explore how these innovations will change the world!</p><h3>🚜 Revolution In Agriculture</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AHSk4I-WlAuwvEkK" /></figure><p>Humans, like any other animal, need to eat! However, what makes humans different than other species is that we can farm, and thus, allocate more time and energy to thinking.</p><p><a href="https://www.datadriveninvestor.com/2020/10/08/voice-isnt-dead-how-ai-is-changing-the-call-tech-game/">Voice Isn&#39;t Dead - How AI is Changing The Call Tech Game | Data Driven Investor</a></p><p>However, the population has<strong> exponentially grown </strong>and<strong> fewer people are choosing to work as farmers.</strong> So, we need to ensure that agriculture can assemble and distribute food efficiency.</p><blockquote>“The world’s farming population is growing older. As young people increasingly chose city life, who is going to grow our food?” — Martha Henriques</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*QozELY0GbHhRbIMk.png" /></figure><p>Most likely, the farmers who grew the food for your next meal have the <a href="https://www.telegraph.co.uk/news/2016/10/05/andrea-leadom-is-right--we-need-to-get-more-young-people-into-fa/">majority of their careers behind them</a>. In the UK, the average age of a farmer is 59. In Kenya, it is 60. And in Japan, with the highest average age for a farmer, it is 67. All of a sudden the global food supply begins to look very<strong> uncertain</strong> — but have no fear, AI to the rescue!</p><p>AI agriculture bots might be what enables you to eat a delicious bowl of pasta in the future. Why? Well, bots can <strong>harvest crops at a higher volume and faster pace</strong> than human labourers, more <strong>accurately identify and eliminate weeds</strong>, and<strong> reduce costs for farms</strong> by having around the clock labor force.</p><p>AI agriculture bots use <a href="https://croplife.ca/field-notes-precision-agriculture-canada/"><strong>precision agriculture</strong></a> to aid in detecting diseases in plants, pests, and poor plant nutrition on farms. Once sensors detect and target weeds, AI can be used to decide which herbicides to apply within the right buffer zone. This helps to prevent over-application of herbicides and excessive toxins in our food.</p><p>AI agriculture bots can also <strong>mimic the expertise of human farmers </strong>in planning out operations on farms. Computer vision and deep learning algorithms can process data captured from drones flying over the farm. Then the data can then be used to optimize planning to generate more bountiful yields by determining crop choices, the best hybrid seed choices, and resource utilization.</p><h3>🚑 Revolution In Healthcare</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VhikHqoZ22t06rvq" /></figure><p>Who doesn’t want to have the freedom to be healthy enough to play, create, and make amazing memories with loved one’s? But to have this, we need better drugs and treatment options, personalized healthcare, and better diagnosis and treatment of mental health illnesses. Luckily, with the right technology, this can become a reality!</p><h4>Get Well Soon! — With Better Drugs and Treatment Options</h4><p>Humans have a lot to learn about the human body to fix it when it is having problems. However, humans don’t need to be the only one’s working on this problem — <strong>AI can help discover new drugs and treatments!</strong> Here are a few ways AI can help you get well soon.</p><p>Personalized healthcare investigators can be accessible to everyone thanks to — i<strong>ntegrative data science</strong>. Integrative data science allows you to<strong> </strong>pool together independent data sets and combined them into one entity that can be statistically analyzed. Then, AI can find connections and new insights into diverse, linked health datasets.</p><p>Also, in the future, AI can replace the need for biological tissue samples and the invasive procedures used to acquire them. AI will give physicians the same detailed information gathered from real tissue samples by offering them the ability to characterize the properties of tumors using<strong> </strong><a href="https://www.forbes.com/sites/charlestowersclark/2019/04/30/the-cutting-edge-of-ai-cancer-detection/#872469733639"><strong>image-based diagnostics alone</strong></a><strong>.</strong></p><p>Bye bye paperwork! I’ve never met a doctor that loved menial tasks rather than researching new treatments and discoveries or helping patients understand their illness. Well, hopefully, it will soon be impossible to meet a doctor that loves menial tasks as AI will take care of them. AI may automate supply chains to make financial and administrative work more efficient- freeing up doctors to do more <strong>impactful</strong> work.</p><h4>Unique People Need Personalized Healthcare</h4><blockquote>“Today you are You, that is truer than true. There is no one alive who is You-er than You.” — Dr. Seuss</blockquote><p>How many hours did you sleep last night? How stressed are you? What did you eat for breakfast? Each decision makes us unique and may influence our health differently than someone else.</p><p>This is why advanced wellness devices are key to the much-needed revolution in <strong>personalized health care</strong>. In the future, a physician will be able to have access to the same wealth of data that a patient has on their own wellness devices. This will allow doctors to take <strong>proactive</strong> moves towards ensuring their patients’ health rather than the <strong>reactive</strong> approach taken today.</p><h4>We Need Numbers! — Quantitative Knowledge on The Brain</h4><p>The Diagnostic and Statistical Manual of Mental Disorders, Fifth Edition (DSM-5) and the International Statistical Classification of Diseases (ICD-10) have something in common — they both have very long titles. Oh, and the fact that they are the two main systems in use currently to <strong>categorize mental disorders.</strong></p><p>These books cover all known mental health disorders for both children and adults. They also have a <strong>classification system </strong>that attempts to separate mental illnesses into diagnostic categories based on descriptions of symptoms.</p><p>However, with AI, brain-computer interfaces, and medical devices, quantitative information may be derived directly from the brain’s<strong> neurobiology</strong> rather than from specialists’ qualitative interpretations of symptoms.</p><p>This advancement can help patients who have communication difficulties, physical hindrances, or fall in a certain age group that can block qualitative symptom interpretations such as the elderly or children of young ages who are unable to talk.</p><h3>📚Revolution In Education</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PMkuvh_oFfyk16p7" /></figure><h4><strong>All Around the World</strong></h4><p>Nope, I’m not referring to the songs sung by A Touch of Class, Oasis, or Justin Bieber; rather, I’m referring to the fact that <strong>all around the world people will have access to a world-class education!</strong></p><p>With a subset of AI called <a href="https://towardsdatascience.com/your-guide-to-natural-language-processing-nlp-48ea2511f6e1">Natural Language Processing</a>(NLP) classrooms will soon be available to people that speak different languages or who might have visual or hearing impairments. NLP will be able to create <strong>subtitles in real-time </strong>for what the teacher is saying, and thus, provide everyone with the opportunity to learn!</p><h4><strong>AI Understands That Each Child Is Unique</strong></h4><p>Everybody learns differently and AI can help <strong>tailor the curriculum to each student</strong> — something that even the most ambitious teacher would not have the time nor energy to do.</p><p>AI can be used to provide learning, testing, and feedback to students from pre-K to college level. The algorithms can supply students with the challenges they are ready for by identifying gaps and strengths in knowledge. This approach will be far <strong>more efficient and better for overall learning</strong> as methods such as <a href="https://collegeinfogeek.com/spaced-repetition-memory-technique/">spaced repetition</a> will be used.</p><h4><strong>The Teacher’s Secret Weapon — Automating The Boring Stuff</strong></h4><p>Advancements in AI will allow teachers to spend more time on creating engaging lectures and spending time helping their students understanding a concept! This is the case as AI can step in to <strong>grade </strong>multiple-choice tests and evaluate written answers. Furthermore, AI can offer<strong> recommendations for how to close the gaps in learning</strong> by gathering and analyzing data from evaluations.</p><p>Almost every big industry is either going to be impacted or is already impacted by AI in some way. The future is exciting as agriculture will be more efficient, healthcare will be personalized and education will be an opportunity for students all around the world!</p><p>If you would like to dive deeper into how AI will change other industries take a look at this<a href="https://bit.ly/3inwBMn"> mind-map</a>!</p><h4>Gain Access to Expert View — <a href="https://datadriveninvestor.com/ddi-intel">Subscribe to DDI Intel</a></h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c9da9a72874b" width="1" height="1" alt=""><hr><p><a href="https://medium.datadriveninvestor.com/ai-will-change-the-world-heres-how-c9da9a72874b">AI Will Change The World — Here’s How</a> was originally published in <a href="https://medium.datadriveninvestor.com/">DataDrivenInvestor</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Learned How To Program At 16 Years Old]]></title>
            <link>https://arezina-kristina23.medium.com/how-i-learned-how-to-program-at-16-years-old-369e7b152b75?source=rss-fc518303029b------2</link>
            <guid isPermaLink="false">https://medium.com/p/369e7b152b75</guid>
            <category><![CDATA[code]]></category>
            <category><![CDATA[code-newbie]]></category>
            <category><![CDATA[self-taught]]></category>
            <category><![CDATA[women-in-tech]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Kristina Arezina]]></dc:creator>
            <pubDate>Sat, 26 Sep 2020 00:24:30 GMT</pubDate>
            <atom:updated>2022-08-17T21:12:07.135Z</atom:updated>
            <content:encoded><![CDATA[<h3>How I Learned To Program At 16 Years Old</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uBYfE5g8JhuQpOtOg9G8vw.png" /></figure><p>Has anyone ever asked you — <em>If you could have a superpower what would it be?</em> What is your answer to this standard icebreaker? Flying? Being Telepathic? Being super fast? Personally, I think having the ability to make an idea into a reality is a superpower — so it follows that <strong>knowing how to program is a superpower!</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z6Rr10X0FvF2N0R7SNM8_g.png" /><figcaption>uOttaHack3 Hackathon</figcaption></figure><p>In March 2019, I decided that I wanted to have the superpower of coding — so <strong>my self-learning programming journey began!</strong> Right now, it is a year and a half since I began learning how to program on my own, and I can confidently say that it was one of the most rewarding things I have done! Knowing how to program allowed me to meet amazing people at hackathons and meetups, gave me the opportunity to work on cool <a href="http://kristinaarezina.com/">projects</a>, and even got me an internship. However, coding was not easy to learn — especially since <strong>I learned front-end development on my own while in high school.</strong></p><p>In this article,<em> </em><strong><em>I will share how I went about learning to program and hopefully spare you from the mistakes I made</em></strong>. If you are keen to get started with coding right away, there is a <strong>compiled list of things I wish I knew before starting to program at the end of this article</strong>. However, if you want to follow my journey from day one when I didn’t know a line of code, keep on reading.</p><h3>The Programming Journey Begins — The Only Computer Science Class I Ever Took</h3><p><strong>✅ Things I Did Right:</strong></p><ul><li>Learning the basics of programming</li></ul><p><strong>🙅‍♀️ Things I Did Wrong:</strong></p><ul><li>Not applying the things I learned to make projects</li></ul><p>Before embarking on my solo programming journey, I did take one computer science class in 2018 in my high school computer science lab. I don’t have any projects to show from this class as we used the school’s computers, and I had no idea what <a href="https://guides.github.com/activities/hello-world/">GitHub</a> was, let alone how to <a href="https://www.netlify.com/blog/2016/09/29/a-step-by-step-guide-deploying-on-netlify/">deploy a project</a>.</p><blockquote><em>Want to read this story later? Save it in </em><a href="https://usejournal.com/?utm_source=medium.com&amp;utm_medium=blog&amp;utm_campaign=noteworthy&amp;utm_content=eid7"><em>Journal</em></a><em>.</em></blockquote><p>In this class, we were taught the programming language — Visual Basic — if you have never heard of it, don’t fret, it doesn’t even chart in <a href="https://insights.stackoverflow.com/survey/2019#technology">professional developer surveys</a>. However, this class taught me <strong>the basics of programming: Functions, methods, parameters, arrays, classes, objects, events, variables, constants, error types, loops, and try and catch statements.</strong></p><p>Taking a class in computer science does not teach you the most valuable skill needed to program — <strong><em>googling</em></strong>. So, although I did learn the fundamentals of programming, I did not know how to figure things out on my own or how to use the skills I was taught to make something cool.</p><p><strong>📚 Awesome Resources:</strong></p><ul><li><a href="https://www.youtube.com/watch?v=zOjov-2OZ0E">FreeCodeCamp.org</a>: Introduction to Programming and Computer Science</li><li><a href="https://www.codecademy.com/learn/learn-how-to-code">Codecademy</a>: Basics of Programming</li></ul><h3>March 2019: The Self Learning Programming Journey Begins</h3><p><strong>✅ Things I Did Right:</strong></p><ul><li>Learning front-end development first</li><li>Learning the basics of how the internet works</li><li>Learning Vanilla Javascript and CSS before using frameworks</li></ul><p><strong>🙅‍♀️ Things I Did Wrong:</strong></p><ul><li>Learning by watching and reading and NOT by creating</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UATMRR88k7jC9zmzpVFgkg.jpeg" /></figure><p>Three months after finishing the Visual Basic computer science class I decided to look into programming on my own as I loved creating and learning. <strong>I chose to learn front-end development first as it would allow me to see the results of my time and effort right away.</strong> Looking back this was a good decision as it was motivational to see results.</p><p>At this point Javascript, HTML and CSS were completely foreign names and concepts; however, I learned that the web is based upon them, so I decided to learn them. I think it is important to mention that the countless frameworks available for Javascript and CSS were overwhelming and intimidating to a newbie like me. Personally, I learned Vanilla (meaning no framework) Javascript and CSS as<strong> frameworks will always be changing; however, the fundamentals of Javascript and CSS won’t.</strong></p><p>When I first started learning the basics of HTML, CSS, and Javascript, I was still in the school mindset of shoving information into your head and not applying it. So, I was <strong>reading articles and watching tutorial videos while taking notes rather than making projects.</strong> Therefore, I did not progress fast.</p><p><strong>📚 Awesome Resources:</strong></p><ul><li><a href="https://blog.hubspot.com/marketing/web-design-html-css-javascript">Web Design 101</a>: How HTML, CSS, and JavaScript Work</li><li><a href="https://www.w3schools.com/">W3schools</a>: Great tutorials on HTML, CSS and Javascript</li></ul><h3>May — June 2019: Creating Projects &amp; Failing</h3><p><strong>✅ Things I Did Right:</strong></p><ul><li>Started developing projects</li><li>Began looking at other people’s code</li></ul><p><strong>🙅‍♀️ Things I Did Wrong:</strong></p><ul><li><a href="https://libguides.princeton.edu/c.php?g=102546&amp;p=930626">Naming files with spaces</a></li><li>Not knowing how to navigate the <a href="https://www.youtube.com/watch?v=5XgBd6rjuDQ">command line </a>or directories on my computer</li><li>Not using <a href="https://www.atlassian.com/git/tutorials/what-is-version-control">version control</a> with GitHub</li><li>Making projects that did not solve a problem</li><li>Not knowing much about integrated development environment’s (IDE’s)</li></ul><p>After passively learning for a while, I realized that <strong>there is no way you can learn things, remember them, and make use of them if you don’t practice by making your own projects.</strong> So, I brainstormed some ideas for projects that would revolutionize the world forever and came up with — a meme finder. Nope, I am not joking, my first programming project was a meme finder.</p><p>By May 13, I made a simple landing page with CSS and HTML and very little Javascript. However, I will still have trouble with <a href="https://www.smashingmagazine.com/2011/01/guidelines-for-responsive-web-design/">responsive design</a> and continued to be flustered by all the terms in programming.</p><p>By May 17, I realized that <strong>a great way to learn how to create something is by looking at other people’s code</strong>. So I searched for tutorials on Youtube for <a href="https://www.youtube.com/watch?v=pjhMFuPnGS0&amp;list=PLtwj5TTsiP7v6q5j8pin78pUja_yJNrDi">similar projects that used Vanilla JavaScript</a> and implemented their logic in my project.</p><p>All was going well, and I was about to change the world with my meme finder, but in June <strong>all my progress was lost</strong>. I still don’t quite understand how that happened, but I have a strong suspicion that it has something to do with naming files with spaces and not knowing how to navigate the terminal and directory systems on my computer.</p><h3>July 2019: Attempt #2 At Learning To Code — Replicating</h3><p><strong>✅ Things I Did Right:</strong></p><ul><li>Replicating open-source front-end projects</li><li>Learning how the directory system on my computer works</li></ul><p><strong>🙅‍♀️ Things I Did Wrong:</strong></p><ul><li>Using Google Drive to back up code</li></ul><p>I decided to try programming again and this time I used <a href="https://enlight.nyc/">enlight.nyc</a> and other resources to <strong>follow tutorials in Javascript, HTML, and CSS and replicate them myself</strong>. After I completed each tutorial I looked at my code to make sure I understood how it worked. This method allowed me to get the best of both theory and practice. When I got comfortable with a few of these tutorials I would make a spin-off to test my knowledge. For example, I made a <a href="https://enlight.nyc/projects/quote">quote generator</a> with a <a href="https://enlight.nyc/projects/hex-color-generator">hex color generator</a> in the background. Another method I used to learn was to <strong>frequently stop the tutorial and ask myself, how I would solve this problem?</strong> Furthermore, I spent some time learning how the directory system on my computer works and how to properly name files that way my code was not lost again.</p><p><strong>📚 Awesome Resources:</strong></p><ul><li><a href="https://enlight.nyc/">Enlight.nyc</a>: Learn to code by building fun projects</li><li><a href="https://www.youtube.com/watch?v=6v4vBXL-qkY">Coding A Calculator In Pure HTML CSS and JavaScript</a></li><li><a href="https://www.freecodecamp.org/news/vanilla-javascript-tutorial-build-a-memory-game-in-30-minutes-e542c4447eae/">FreeCodeCamp</a>: Memory Game in Vanilla JavaScript</li></ul><h3>August 2019: Learning The Real Basics &amp; Looking Into Frameworks</h3><p><strong>✅ Things I Did Right:</strong></p><ul><li>Learning how to use the <a href="https://www.youtube.com/watch?v=5XgBd6rjuDQ">command line</a></li><li>Joining <a href="https://realpython.com/python-git-github-intro/">GitHub</a></li><li>Learning how to use <a href="https://reactjs.org/">React</a> and <a href="https://material-ui.com/">Material UI</a></li></ul><p><strong>🙅‍♀️ Things I Did Wrong:</strong></p><ul><li>Not making a <a href="https://git-scm.com/docs/gitignore">.gitignore file</a> when using GitHub. Tip: look into a .gitignore file when starting to use GitHub.</li></ul><p>Finally, I felt comfortable coding in Javascript, HTML, and CSS! I decided it was time to move away from interactive tutorials and started working on another personal project. I came up with the idea of <a href="https://terms2program.kristinaarezina.com/">Terms2Program</a>, an application that would help coding newbies like me feel less intimidated by all the terms, languages, and frameworks in the programming world. However, <strong>before jumping straight into development I realized I need to learn how to use </strong><a href="https://realpython.com/python-git-github-intro/"><strong>version control</strong></a><strong> and the </strong><a href="https://www.youtube.com/watch?v=5XgBd6rjuDQ"><strong>command line</strong></a><strong> to improve efficiency</strong>. Once I was familiar with them I decided to learn <a href="https://reactjs.org/">React</a> as I liked the idea of reusable components.</p><p>I was terrified when I ran <em>npx create-react-app</em> as I was not sure how to get started and was scared to mess up my computer. But after a few tutorials, I felt less intimidated by React and actually preferred it to Vanilla Javascript.</p><p><strong>📚 Awesome Resources:</strong></p><ul><li><a href="https://realpython.com/python-git-github-intro/">Introduction to Git and GitHub for Python Developers </a>— note although this says for Python Developers it can be used for other languages too</li><li><a href="https://www.youtube.com/watch?v=5XgBd6rjuDQ">Jesse Showalter</a>: How to use the Command Line</li><li><a href="https://www.youtube.com/watch?v=PEXcg8xu2y0">LevelUpTuts</a>: Free YouTube course for React</li><li><a href="https://www.youtube.com/watch?v=xm4LX5fJKZ8">Code Realm</a>: Free YouTube course for React &amp; Material UI</li></ul><h3>September 2019: Started Building Terms2Program</h3><p><strong>✅ Things I Did Right:</strong></p><ul><li>Using <a href="https://www.sketch.com/">Sketch</a> to design what all the pages will be like in the web app</li><li>Using <a href="https://material.io/resources/color/#!/?view.left=0&amp;view.right=0&amp;primary.color=8C9EFF">Material Design</a> for making the color theme of the web app</li></ul><p><strong>🙅‍♀️ Things I Did Wrong:</strong></p><ul><li>Being scared of using anything that charged a fee</li><li>Overcomplicating the architecture of the web app</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/950/1*qxiBd7Q3ZkwbVpCTJR0t5w.gif" /></figure><p>At the beginning of September, I felt confident enough to start working on <a href="https://terms2program.kristinaarezina.com/">Terms2Program</a>. I started by <strong>creating a digital sketch of the web app using Sketch</strong>. This helped me have a vision in mind when creating the application. Then <strong>using React, Material UI, and Material Design I created the UI of the application</strong>. Once the web app looked good I need to figure out how to store the data needed to make the web app actually work.</p><p>I was a complete beginner to backend programming and thought that I needed to make the database with <a href="https://firebase.google.com/docs/firestore">Cloud Firestore</a>. I thought Cloud Firestore looked good, and after watching many tutorials and reading their documentation I could understand how the data would be stored. However, because it charged a fee for a certain amount of reads and writes to the database I was scared to use it.</p><p>Looking back I was mistaken in being scared about being charged for queries as you only get charged:</p><ul><li>$0.18 for 100K Document writes</li><li>$0.06 for 100K Document reads</li></ul><p><strong>However, I was overcomplicating things</strong>. For a simple web app, all I needed was a JSON object to loop over to extract the necessary data.</p><p><strong>📚 Awesome Resources:</strong></p><ul><li><a href="https://www.youtube.com/watch?v=IaT4wdWTwuo">Material Design</a>: Customize style to better reflect a product’s brand</li><li><a href="https://www.youtube.com/watch?v=qywB0JHQeC4">Jesse Showalter:</a> Beginners guide to Sketch Basics</li><li><a href="https://www.youtube.com/watch?v=v_hR4K4auoQ">Google Firebase</a>: Get to know Cloud Firestore</li></ul><h3>October 2019: Finished Terms2Program &amp; Joined Hacktoberfest</h3><p><strong>✅ Things I Did Right:</strong></p><ul><li>Joined <a href="https://hacktoberfest.digitalocean.com/">Hacktoberfest</a> — learned a ton about open-sourced code</li><li>Went to local meetups to meet other people that code</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*trCjJ83jyCGnYfYww2fgWw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/950/1*-6a7s5CTAeS-iRdrAqSMCg.jpeg" /></figure><p>By October I finished Terms2Program! At this point, I wanted to meet other people that were into programming, so <strong>I went to local meetups for coding</strong>. There I met some awesome programmers that inspired me to keep on learning. Also, in <strong>October I took part in Hacktoberfest</strong> which I learned a lot from, and not to mention had a lot of fun participating in.</p><p><strong>Participating In Hacktoberfest Taught Me:</strong></p><ol><li>How to look at open-source code, make a pull request, make a branch, and how to make a push request — very useful skills to have when programming.</li><li>It showed me how much cool stuff is being made with code all around the world.</li><li>It exposed me to new frameworks and languages.</li></ol><p>Since October 2019 I continued learning and developing my programming skills by going to <a href="https://devpost.com/software/can-you-save-me">Hackathons</a> and being part of group tech projects such as <a href="https://technovationchallenge.org/">Technovation</a>. Furthermore, I learned backend development in Node and Python, explored data structures, and worked as a software developer intern. However, <strong>none of these memories and experiences would have been made without starting to code.</strong></p><h3>💻 If I Were to Start From Scratch</h3><p>To help others with their programming journeys I looked back and thought about <strong>what paths and strategies would have made my journey easier</strong>. Here is what I came up with:</p><ol><li>Spend time learning about <a href="https://realpython.com/python-git-github-intro/"><strong>GitHub</strong></a><strong> which is a version control system and platform for open-source code. </strong>Also, learn<strong> </strong>how to make and <a href="https://libguides.princeton.edu/c.php?g=102546&amp;p=930626">name documents and directories</a> on your computer.</li><li>Spend time on figuring out how an <strong>Integrated Development Environment (IDE) </strong>works<strong>, </strong>this is the place where you will write code. My favorite IDE is <a href="https://code.visualstudio.com/">Visual Studio Code</a>. Also, learn how to use a <a href="https://www.youtube.com/watch?v=5XgBd6rjuDQ">command line</a>.</li><li>Do not spend time reading books or long blogs about programming concepts. Rather <strong>start learning Vanilla Javascript, CSS, and HTML by finding tutorials for small projects and follow along</strong>. It will be hard and you will not understand most of it. But when you finish the tutorials look back and try to understand why the program works. Making things is a much more efficient way of learning to code.</li><li>When you are comfortable with Vanilla Javascript start learning frameworks such as React, Vue, or Angular — I recommend React.</li><li>Once you understand the basics of Vanilla CSS start to use frameworks for CSS such as <a href="https://tailwindcss.com/">Tailwind</a> and <a href="https://material-ui.com/">Material UI</a> — they will save you a ton of time.</li><li>When you have completed a few tutorials make a list of project ideas that you are passionate about.<strong> Start making a project using the programming knowledge you have</strong> — remember start small.</li><li>Share what you create with the world! Also, go to programming meetups for inspiration and to learn from the best.</li></ol><p>It doesn’t matter what your age or occupation is, if you put in the time and effort you will learn to program — and trust me <strong><em>you won’t regret it!</em></strong></p><h4>More from Journal</h4><p>There are many Black creators doing incredible work in Tech. This collection of resources shines a light on some of us:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fusejournal.com%2Fapp%2Fembed%2Fjournal%3Aspace%3Aproject%2F5c84f6f0-715c-48b8-9387-9e74f33b7a7b&amp;display_name=Journal&amp;url=https%3A%2F%2Fusejournal.com%2Fapp%2Fspace%2Fjournal%3Aspace%3Aproject%2F5c84f6f0-715c-48b8-9387-9e74f33b7a7b&amp;image=https%3A%2F%2Fimperio.usejournal.com%2Fimage%2Fjournal%3Aspace%3Aproject%2F5c84f6f0-715c-48b8-9387-9e74f33b7a7b%2F1602668529%3Fclient%3Dfacebook&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=usejournal" width="900" height="710" frameborder="0" scrolling="no"><a href="https://medium.com/media/ca84c63a615be91123438987244ec06c/href">https://medium.com/media/ca84c63a615be91123438987244ec06c/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=369e7b152b75" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Teenagers Expect from Your Chatbot]]></title>
            <link>https://medium.com/voice-tech-podcast/what-teenagers-expect-from-your-chatbot-5cfbce3095f5?source=rss-fc518303029b------2</link>
            <guid isPermaLink="false">https://medium.com/p/5cfbce3095f5</guid>
            <category><![CDATA[chatbot-design]]></category>
            <category><![CDATA[conversational-ui]]></category>
            <category><![CDATA[alexa]]></category>
            <category><![CDATA[chatbot-development]]></category>
            <category><![CDATA[google-home]]></category>
            <dc:creator><![CDATA[Kristina Arezina]]></dc:creator>
            <pubDate>Mon, 31 Aug 2020 18:46:24 GMT</pubDate>
            <atom:updated>2020-09-08T07:56:21.047Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://data.unicef.org/topic/adolescents/overview/#:~:text=Adolescents%20%E2%80%93%20defined%20by%20the%20United,the%20Rights%20of%20the%20Child"><em>There are 1.2 Billion teenagers in the world!</em></a><em> And this generation of teenagers grew up in a time when technology had already become mainstream. Therefore teens are comfortable clicking, typing, tapping, swiping, </em><strong><em>and conversing with text-based, or speech-based chatbots</em></strong><em>.</em></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fbingewith.com%2Farticle%2F%3A%3A_Generate_Audio&amp;dntp=1&amp;display_name=BingeWith&amp;url=https%3A%2F%2Fbingewith.com%2Farticle%2F%3A%3A_Generate_Audio&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=bingewith" width="480" height="110" frameborder="0" scrolling="no"><a href="https://medium.com/media/d6a9e202d4ee773dbc23199fcf6d186c/href">https://medium.com/media/d6a9e202d4ee773dbc23199fcf6d186c/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*HbDtjTsmoZi6Tc0Op4v18g.png" /><figcaption>Photo by <a href="https://unsplash.com/@christianw?utm_source=medium&amp;utm_medium=referral">Christian Wiediger</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Although teenagers are generally more comfortable with technology than adults, teens and adults think and act differently. If you want to be able to maximize the potential of chatbots for your business by providing instant (and cheaper) customer service, giving product recommendations, and advertising, it is important to think about when and why teenagers would use a chatbot. In hopes of answering these questions, I conducted a survey to see<strong> exactly what teenagers expect of chatbots and how they feel towards different types of chatbots</strong>. I discuss the results of the survey and provide insight into teenagers’ likes and dislikes when interacting with chatbots. These results will hopefully help you optimize your business’ customer experience with chatbots!</p><p>This survey sheds light upon:</p><ol><li>When and why would teenagers use a chatbot</li><li>What teenagers are hesitant using a chatbot for</li></ol><h3>When and why would a teenager use a chatbot?</h3><p>As the responses to the survey came in, it became apparent that <strong>teenagers choose to use chatbots for things they would otherwise feel shy doing</strong>.</p><blockquote><em>Q1: What would you use a chatbot for?</em></blockquote><blockquote><em>A1: “Things I would be too shy to ask people in person.”</em></blockquote><blockquote>Build better voice apps. Get more articles &amp; interviews from voice technology experts at <a href="https://voicetechpodcast.com/">voicetechpodcast.com</a></blockquote><p>Teens want to be able to use chatbots for simple things that they don’t necessarily want to use a phone call for. Making a phone call requires you to be fully present, on the spot, and to have some sort of pre-rehearsed idea of what you’re going to say. On the contrary, getting answers from a chatbot can be done with no planning and over any amount of time with full anonymity.</p><p>The inefficacy and discomfort of calling in may cause a teenager not actually go through with ordering food from a new business! However, if the restaurant had a chatbot that allowed a user to order food, it’s possible that many more teenagers would feel content ordering food from the restaurant.</p><p>Tasks that fell under the task-based chatbot category included getting access to information like <em>coffee shop operating hours</em> and <em>finding answers to questions or concerns</em>. Our results indicated that teens love avoiding customer service calls for restaurants, banks, or stores and would much rather get their information quickly from a chatbot!</p><h3>What are teenagers hesitant to use a chatbot for?</h3><p>We asked teenagers when they’d prefer <em>not</em> to use a chatbot.</p><p>Some teens responded by saying,</p><blockquote><em>Q2: What don’t you like using a chatbot for?</em></blockquote><blockquote><em>A2: “Anything not complicated… [since] I feel more comfortable handling professional stuff on phone.”</em></blockquote><p>It turns out that most teenagers are more than happy to use chatbots to reset a password or to find out whether their favorite coffee shop was re-opening for dine-in service, after being closed due to COVID-19 (a simple question with a simple yes/no answer). However, when asked about using a chatbot for more complicated tasks, such as finding out if they can get reimbursed for an item they bought online, most teenagers stated they rather call in to ask a human agent.</p><p>Though we don’t know exactly why this is, one theory is that teens have more faith in a higher-risk task being executed correctly if they speak with a real human. Chatbots often won’t be able to break the rules to get you what you want, while a human agent does sometimes have that authority.</p><p>One scenario illustrating this result from the survey is here:</p><blockquote>The teenagers were told they “bought an expensive backpack online that went on sale the NEXT DAY! You’d like to check on whether the brand will match the sale price, and reimburse you for the difference”.</blockquote><p>For this situation, the large majority of teenagers (77.8%) said they would call in to ask a real agent while only 22.2% said they would use a chatbot. Thus, if your business provides a chatbot that helps deal with situations wherein the customer’s time and / or money is involved it may be a good idea to advertise the sophistication of your chatbot up front. This way, your users will be more confidant and comfortable using it, instead of calling in and adding to your customer service costs.</p><p>If you are looking into developing a chatbot for teenagers, it would be wise to keep in mind the following main points regarding what teenagers expect from chatbots. Firstly, teens will use chatbots for a variety of reasons, which include shyness, and getting information quickly that they can’t find via a quick search. Secondly, teenagers are hesitant using a chatbot for complicated or unique tasks, and are less likely to use a chatbot (and talk to a real human) if they believe an exception should be applied to the problem they’re trying to solve.</p><p>With these points in mind, you will be able to maximize the potential of chatbots for your business!</p><p>Thanks<strong> </strong>to Brielle Nickoloff for the copyedits!</p><h3>Something just for you</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Flinks.collect.chat%2F5d8c870c8705ce12e45fb7d0&amp;dntp=1&amp;display_name=Collect.chat&amp;url=https%3A%2F%2Flinks.collect.chat%2F5d8c870c8705ce12e45fb7d0&amp;image=https%3A%2F%2Fcollect.chat%2Fassets%2Fimages%2Flogo-green.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=collect" width="600" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/7f5cb45fd785102f7af729c560e2de3f/href">https://medium.com/media/7f5cb45fd785102f7af729c560e2de3f/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5cfbce3095f5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/voice-tech-podcast/what-teenagers-expect-from-your-chatbot-5cfbce3095f5">What Teenagers Expect from Your Chatbot</a> was originally published in <a href="https://medium.com/voice-tech-podcast">Voice Tech Podcast</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>