<?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 Rosana de Oliveira Gomes on Medium]]></title>
        <description><![CDATA[Stories by Rosana de Oliveira Gomes on Medium]]></description>
        <link>https://medium.com/@rosana-gomes-phd?source=rss-58cc348fc4b5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*CP6Yi_2-I2vtE4IHHN5bfg.png</url>
            <title>Stories by Rosana de Oliveira Gomes on Medium</title>
            <link>https://medium.com/@rosana-gomes-phd?source=rss-58cc348fc4b5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 25 Nov 2026 01:33:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rosana-gomes-phd/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[Successfully Transitioning Into a Data Science Job in the Energy Sector]]></title>
            <link>https://medium.com/omdena/successfully-transitioning-into-a-data-science-job-in-the-energy-sector-72b705faaacd?source=rss-58cc348fc4b5------2</link>
            <guid isPermaLink="false">https://medium.com/p/72b705faaacd</guid>
            <category><![CDATA[careers]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[omdena]]></category>
            <dc:creator><![CDATA[Rosana de Oliveira Gomes]]></dc:creator>
            <pubDate>Tue, 26 Jan 2021 23:50:10 GMT</pubDate>
            <atom:updated>2021-01-28T17:27:41.911Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F_NSlFQNhD5tIPyJYPKpNg.png" /><figcaption><a href="https://www.linkedin.com/in/rosanaogomes/">Rosana de Oliveira Gomes</a>, Ph.D in Astrophysics and Data Scientist.</figcaption></figure><h3><strong>What job did you get?</strong></h3><p>Next spring (in Europe), I am starting to work as a Data Science and Innovation Assistant for an Austrian company specialized in Time Series. The work will be done within the Research and Development department, with applications to energies, among other topics.</p><h3><strong>Can you describe your journey into data science? And why did you switch careers?</strong></h3><p>As a Ph.D in Astrophysics, I’ve always loved doing research and finding interesting insights about stars and Nuclear Physics.</p><p>In 2015, I came to do part of my Ph.D. in Frankfurt (Germany) at an interdisciplinary institute. There, I got in contact with many physicists working with AI and Analytics applications to several fields, such as neuroscience, finance and renewable energies. Also, around the same time, there was a lot of turmoil about the <a href="https://en.wikipedia.org/wiki/Paris_Agreement">Climate Change and the <em>Paris Agreement</em></a><em>.</em></p><p>I remember how excited I was to see how many applications to society someone with a similar background as mine can have. To me, this was the moment that slowly but steadily I started my career in data science. First by attending seminars about AI to just learn what was it all about; then later by joining courses at the university and online, and starting my self-learning path from books and study groups.</p><p>My interests in AI and the possibilities to help society grew as time passed and, at some point, it became clear that my <em>sort of hobby</em> became more important to me than my current research. So in 2020 I decided to finally take the leap and joined Omdena.</p><h3><strong>Can you share a point in your career where things got a bit difficult? And how did you overcome roadblocks? What mindset related tips can you give?</strong></h3><p>Deciding to change careers after 10 years of doing research was not easy. Many people could not understand why I wanted to leave my research path and some even thought that I was going through a career crisis.</p><p>That was when I learned that mentors are crucial in every professional <em>endeavor</em>. The person who supported me the most in my career change was my Postdoc supervisor, who encouraged me to take the time of my research to learn about other fields where I could contribute to the world, such as renewable energies and deep learning.</p><p>Unfortunately, my mentor passed away rather abruptly in 2020, after being diagnosed with a rare disease. The loss of someone who would support me in my decisions and give me space to explore was brutal. Despite all the hard situations and even the fact that I was getting even more involved in my research field given the new academic circumstances, it became clear to me that the path I was following was not the one I wanted to pursue. But even though it was hard, I knew that someone believed I could do it. And so I did.</p><blockquote>I believe that the best we can do to ourselves as professionals, is at some point decide to own our own story. It does not matter what other people think is the right for your career, and even how much stability or money you can make. In the end, you have to listen to your own passion. To me, believing in what you do is the only way to be happy. As my mentor told me long ago:<em> ‘You will be working many hours of your life: it better be working on something you enjoy and care about!’</em></blockquote><h3><strong>Being a Women in Data Science, do you have any advice for our female changemakers?</strong></h3><p>We grow up in a society that still says what women should wear, how they should speak, and what kind of jobs we should take. Knowing who you are and where you want to go is a muscle to be exercised. There will always be people doubting what you can do, trying to put you in lower positions than you deserve, or giving the credit of your work to male colleagues.</p><p>It is important to understand that it is not a war in which opposite genders are enemies, but a matter of knowing your value as a professional regardless of it. My advice to all female changemakers out there is to make sure that the place where you work is a place that values people equally. Always pay attention to how men and women are treated in the environments that you choose to put yourself into. <em>Are female data scientists in leadership positions? Do women receive recognition about technical work or are they doing mostly management? Are the opinions and ideas of female employees heard and acknowledged?</em></p><h3><strong>How did the Omdena experience help you in securing the job? How can someone in the Omdena community make the best out of this experience?</strong></h3><p><em>Omdena was the game-changer in my data science story.</em></p><p>First, it brought me great opportunities to learn and get experience with Data Science while fulfilling my personal values of making a difference in the world through my technical skills.</p><p>When I decided to leave academia, I quickly found out that it would be impossible to get a position in the industry without real-world project experience, even holding a Ph.D. Thanks to Omdena, I could tailor the choices of projects I wanted to be part of — related to <a href="https://omdena.com/projects/climate-change/">sustainability</a>, <a href="https://omdena.com/projects/ai-solar/">energies</a>, and the <a href="https://omdena.com/projects/ai-disaster-response/">humanitarian sector</a> — which eventually made me an experienced data scientist in these fields of applications.</p><p>Through my currently 8 projects with Omdena in the past year, I had the chance to gain experience in a broad range of AI techniques and industry practices such as <a href="https://omdena.com/projects/ai-pandemics/">predictive modeling</a>, <a href="https://omdena.com/projects/ai-solar/">computer vision</a>, <a href="https://omdena.com/projects/climate-change/">natural language processing</a>, as well as building APIs and deploying models in a <a href="https://omdena.com/talent/">Talent project</a>. By working with large international teams, I could also improve my <a href="https://omdena.com/blog/ai-disaster/">communication</a>, <a href="https://omdena.com/projects/children-violence/">management</a>, and <a href="https://omdena.com/projects/ai-road-safety/">mentoring</a> skills acquired from academia and apply them within Data Science projects. In every single interview I took, I could use these projects as examples of some experience or skills achieved.</p><p>Another incredible advantage I had by working at Omdena projects was to <strong>get to know a lot of like-minded data scientists</strong>. At the end of each project, I would end up with new friends and colleagues that helped me along my journey with tips, recommendations, and endorsements of my skills. The community, together with the constant Omdena support, helped to establish me as an experienced Data Scientist t<em>o the point that when I applied to my new position, the company already knew me.</em></p><p>My advice to the new members of the Omdena family is:</p><ul><li>Choose projects aligned with your values and that are in a field of application that you would like to pursue (for example, finance, healthcare, mobility, etc).</li><li>Make sure that you walk out of each project with a new set of AI skills. It can be quite easy to only apply to projects with techniques you already know, but the beauty of learning with 50 (initially) strangers is a very rare experience for you to miss.</li><li>Connect to people in the community and build your own network of changemakers. They will be your support system all the way and maybe even become friends for life!</li></ul><h3><strong>If you would start all over again. What would you do differently?</strong></h3><p>I’d definitely spend less time <em>‘on the fence’.</em></p><p>When you are changing careers, it is really important to embrace the new path. I spent a very long time identifying myself as a <em>‘Researcher in Astronomy changing careers into Data Science’ </em>rather than calling myself a Data Scientist, even when I was working in Data Science projects for a very long time.</p><h3><strong>Any closing words?</strong></h3><p>Whatever path we choose in life, it is extremely important to have a support system, so we can lift each other up and celebrate every single step of the way. The same is true for careers in data science.</p><blockquote>Find your kind of people and make sure to have fun with them on your data science journey. They will be the friends who will spend days with you trying to figure a way to improve models performance, who will recommend the best new AI courses out there and who may be one day the ones that will recommend you to a wonderful job.</blockquote><h4>This article was originally published on <a href="https://omdena.com/blog/transition-data-science/">Omdena´s blog</a>.</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=72b705faaacd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/omdena/successfully-transitioning-into-a-data-science-job-in-the-energy-sector-72b705faaacd">Successfully Transitioning Into a Data Science Job in the Energy Sector</a> was originally published in <a href="https://medium.com/omdena">Omdena</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI meets Art: can creativity be replicated?]]></title>
            <link>https://rosana-gomes-phd.medium.com/ai-meets-art-can-creativity-be-replicated-430ec1e5ef80?source=rss-58cc348fc4b5------2</link>
            <guid isPermaLink="false">https://medium.com/p/430ec1e5ef80</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[creativity]]></category>
            <category><![CDATA[art]]></category>
            <dc:creator><![CDATA[Rosana de Oliveira Gomes]]></dc:creator>
            <pubDate>Sun, 24 Jan 2021 17:48:15 GMT</pubDate>
            <atom:updated>2021-01-24T17:48:15.139Z</atom:updated>
            <content:encoded><![CDATA[<p><em>This article was written by </em><a href="https://www.linkedin.com/in/rosanaogomes/"><em>Rosana de Oliveira Gomes</em></a><em>, </em><a href="https://www.linkedin.com/in/ajaykumarpalaniswamy/"><em>Ajaykumar Palaniswamy</em></a><em>, </em><a href="https://www.linkedin.com/in/sara-el-ateif-b36694117/"><em>Sara El-Ateif</em></a><em> and </em><a href="https://www.linkedin.com/in/harini-suresh/"><em>Harini Suresh</em></a><em> through the </em><a href="https://omdena.com/blog/"><em>Omdena</em></a><em> Writers’ Academy and under the mentoring of </em><a href="https://medium.com/@mojito_"><em>Mohit Sharma</em></a><em>.</em></p><p><strong>Art</strong> is subjective, reactionary, and culturally dependent. <strong>AI</strong> is objective, logical, and universal. What happens when these two worlds collide? What does this <strong>collaboration of man and machine </strong>mean for the future of creativity artistic process?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tWD0xv4sq9hNLq4_muqEGg.jpeg" /><figcaption>Source: <a href="https://www.danielambrosi.com/Dreamscapes">https://www.danielambrosi.com/Dreamscapes</a></figcaption></figure><p>Art makes us aware of our human condition.</p><p>In the past, all sorts of art ever created came from the human mind.</p><p>This is not the only case anymore.</p><p>The advances of Artificial Intelligence (AI) are making machines able to mimic humans day by day, be it the ability to learn, see or speak. it has come the time to ask ourselves if this is true to creativity.</p><p>In this article, we explore how AI has been contributing to multiple manifestations of art and what we should expect about the integration of creativity and technology for the future of society.</p><h3>Past and Present of Art &amp; Creativity</h3><p>Artists are often perceived as storytellers, dreamers, or <em>out of the box </em>persons. They cultivate their artwork in many forms, expanding ideas and appealing to the senses of audiences through visuals, sounds, and many other forms.</p><p>History has made artistic works and technological tools in the former eras to work along with each other to delve into the new ways to express ourselves with increasingly complex partners — paint, write, sculpt, and music.</p><p>The desire to create uniqueness and beauty has gifted mankind with remarkable pieces of art which remain highly valued and have inspired generations after centuries through the <a href="https://en.wikipedia.org/wiki/History_of_art">several stages of schools or art</a>.</p><p>Advances in AI techniques have been walking hand in hand with the <a href="https://aiartists.org/ai-timeline-art">AI and art timeline</a> in the past decades. Machine Learning “state of the art” models and algorithms make our lives easier by doing tasks at a human level accuracy. Deep Learning and and Natural Language Processing are at their finest growing curves now, and applications of Computer Vision and text analysis are becoming the most common ones when it comes to AI and art.</p><blockquote>We can now ask ourselves: What happens if AI becomes a creator? What happens if some sophisticated intelligent entity starts building creative artwork alongside humans?</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DgHBgJT8NsMVbslMKJo0mg.png" /><figcaption><strong><em>Edmond de Belamy</em></strong> is a <a href="https://en.wikipedia.org/wiki/Generative_adversarial_network">generative adversarial network</a> <a href="https://en.wikipedia.org/wiki/Portrait_painting">portrait painting</a> generated by Paris-based arts-collective <em>Obvious (2018). Source: </em><a href="https://en.wikipedia.org/wiki/Edmond_de_Belamy"><em>Wikipedia</em></a><em>.</em></figcaption></figure><p>In the early 21st century, the artistic environment dramatically changed. AI-driven artworks invaded museums and galleries, such as the <a href="https://edition.cnn.com/style/article/obvious-ai-art-christies-auction-smart-creativity/index.html">“Portrait of Edmond Bellamy” which had an auction pre-sale-estimate of $433,500 USD</a>.</p><p>Although AI-generated artwork is recognized as an esteemed technical piece of art, it can also be associated with lack of emotional value and passion by the absence of human inspiration and social context.</p><p>Being able to replicate creative processes via digital devices is a complex task, as the understanding of the human mind is still a significantly unknown even to human researchers and scientists.</p><p>From a psychology perspective, creativity may be defined as a new idea that has value in solving a problem, such as a new useful object or a revolutionary idea. From a mathematical or statistical point of view, creativity may come from random stochastic process occurring in one’s intellect, inspired by learning from previous experiences and outcomes.</p><p>In the past, technology was an auxiliary tool to artist. However with the advances of tools like AI, the entire concept of art is exposed to a new interpretation. The art of the 21st century is no longer inspired purely by feelings and thoughts — characteristics which are intrinsically human — but also by patterns and randomness not necessarily understandable by humans.</p><blockquote>Is creativity triggered by random event in our heads that give life to an empty canvas? Is there a set of statutes to art? Or can it be implemented as a set of predefined algorithmic instructions?</blockquote><h3>AI meets Art</h3><p>AI is built to have the capacity to think like the human brain. The advances in AI for social impact showed the potential of such techniques for innovation, sustainability and humanitarian factors. Surprisingly to some, AI can be related to social impact through art too.</p><blockquote>You may now be asking yourself whether AI can replicate complex tasks such as creating art: the catch lies in how these models are trained.</blockquote><blockquote>It’s like teaching a child how to read and how to perceive senses. One has an intuition on these principles of nature. But this intuition breaks as soon as we try to define artistry and creativity.</blockquote><p>While some may be anxious that the evolution of AI can be threatening for artists, it is also a fact that it produces a creative roadmap for thinking in various original directions.</p><p>Augmenting creativity through AI can act as a guiding force for artists and a driving force for the young generation to get involved with art.</p><p>As AI and art integration, there are multiple applications which can be brought into light, from bringing back life of old portraits to the endless creativity of innovative Art in the 21st century.</p><h4>AI for Art and History Conservation</h4><p>It is not quite rare that our parents show us the pictures of our ancestors and we are worried that they are too deteriorated for us to still perceive details.</p><p>In a similar fashion, as years and centuries go by, the conservation of art pieces is crucial to keep these suitable to be studied by future generations of artists and keep inspiring art enthusiasts.</p><p>Generative design is another side of augmented creativity which will have various designs generated with a blend of ‘intuition’ and ‘emotions’. The neural networks can be trained to produce a variety of artistic features which can be incorporated in various ways to produce desirable effects.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*Btot6HEn3UPZoF8AIcncMA.jpeg" /><figcaption>3D model of historic arches of Palmyra rebuilt with AI. Source: <a href="https://news.microsoft.com/transform/heritage-activists-preserve-global-landmarks-ruined-in-war-threatened-by-time/">Microsoft Transform</a></figcaption></figure><p>An example of AI application to historical architecture , the <a href="https://www.techradar.com/in/news/how-ai-can-restore-our-forgotten-past">Deep Image Prior, a neural network created by an Oxford University research team and Nvidia’s image reconstruction, </a>demonstrated the process of digital restoration.</p><p>Moreover, moving backwards in history, a number of portraits and paintings have lost their significance particularly because we are unable to interpret their purpose.</p><p>AI helps us to decode the artist’s minds by catching details that would not be visible to human eyes through the identification of patterns. This way, historic art can be re-written and ultimately become better understood by historians and art researchers.</p><p>AI also plays a significant role in understanding history. From understanding the lives of dinosaurs to mapping historical locations by 3D models recreations. AI is expected to help to remembering the history of places where war and destruction events took place.</p><h4>Bringing Artists Back to Life</h4><p>One of the most exciting aspects of applying AI to art is the idea that creative artwork from remarkable artists does not have to end when the artists die.</p><blockquote>“When you are a genius, you do not have the right to die, because we are necessary for the progress of humanity.” — Salvador Dali’s last public statement, 1989.</blockquote><p>One beautiful of such application of AI in art is the <em>awarded Dali Lives project, </em>in the Dali Museum in Florida. This project, developed to celebrate what would have been Dalí’s 115th birthday, allows museum visitors to interact with an equivalent to a <em>deepfake</em> Salvador Dalí through screens around the Museum.</p><p>The <a href="https://www.museumnext.com/article/artificial-intelligence-and-the-future-of-museums/">artificial intelligence technology</a> used to bring Dalí back to life was trained on hundreds of interviews, quotes, pictures and original writings from Dali. In this way, it was possible to capture the most realistic possible version of the artist, based on all his recorded essence left in the world through voice, image and language.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FBIDaxl4xqJ4%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DBIDaxl4xqJ4&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FBIDaxl4xqJ4%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/9af3b9e5fb0228639c3c94b37b3b4254/href">https://medium.com/media/9af3b9e5fb0228639c3c94b37b3b4254/href</a></iframe><p>The technique behind the scenes is called <a href="https://en.wikipedia.org/wiki/Generative_adversarial_network">Generative Adversarial Networks (GANs),</a> which is a powerful tool based on game theory, in which two <a href="https://en.wikipedia.org/wiki/Neural_network">neural networks</a> contest with each other.</p><p>The most famous use of GANs is <em>deepfakes.</em> Apart from the negative connotation associated to fake news, GANs can be used in positive art applications, <a href="https://expmag.com/2020/10/a-new-film-with-a-dead-star-thanks-to-cgi-and-deepfake-technology-its-possible/">such as bring movie stars back to life</a> in iconic roles and also <a href="https://www.economist.com/the-world-if/2018/07/05/performance-anxiety">help actors who suffer from performance anxiety</a> to have a backup.</p><p>…</p><p>Recurrent Neural Networks (RNNs), a class or artificial neural networks associated to sequential models and temporal series, are another powerful tools on bringing the work from writers back to life.</p><p>RNNs can be trained to learn the patterns of the entire life work of famous writers or stories, and later extrapolate it to new content. That was the case of the <a href="https://www.dailymail.co.uk/sciencetech/article-3691791/Don-t-worry-JK-Rowling-job-safe-New-chapter-Harry-Potter-books-written-AI-COMPUTER-makes-no-sense.html">new chapter of Harry Potter written by an AI,</a> which contains parts that could fool even the most devoted fans of the series.</p><p>See below an example of and RNN applied to recreate Shakespeare plays (originally posted <a href="https://medium.com/towards-artificial-intelligence/ai-writes-shakespearean-plays-e0d5f30c16b2">here</a>):</p><blockquote>ROMEO: how I, away too put That you shall have thieffort, are but love.</blockquote><blockquote>JULIET: Go, fight, sir: we say ‘Ay,’ and alack to stand and not to go to; And washt us him to-domm. Ay, my ows young; a man hear from his monsher to thee.</blockquote><blockquote>KING RICHARD III: Come, cease. O broteld the costime’s deforment! Thou wilt was quite.</blockquote><blockquote>PAULINA: I would you say the hour! Ah, hole for your company: But, good my lord; we have a king, of peace?</blockquote><blockquote>BALTHASAR: Cadul and washee could he ha! To curit her I may wench.</blockquote><blockquote>GLOUCESTER: Had you here shall such a pierce to temper; Or might his noble offery owe and speed Which seemest thy trims in a weaky amidude By this to the dother, dods citizens.</blockquote><blockquote>Third Citizen: <br>Madam sweet give reward, rebeire them With news gone! Pluck yielding: ’tis sign out things Within risess in strifes all ten times, To dish his finmers for briefily.</blockquote><blockquote>JULIET: <br>Gentlemen, God eveI come approbouting his wife as it, — triumphrous night change you gods, thou goest: <br>To which will dispersed and France.</blockquote><p>Similarly to actors, painters and writers, AI can also be inspired by deceased musicians, architects and many other remarkable artists.</p><h4>Creating AI-based Art</h4><p>When AI meets art, it democratizes the artistic process by making it more accessible to those who do not have artistic skills.</p><p>The partnership between AI and creators helps to build AI-inspired work.</p><p>This means that inspirations from several artists can be designed to be merged by a human designer, but implemented by an AI, generating a unique piece of art through the collaboration of human and machine.</p><p>In this sense, humans still remains as the core tool in the form of “Augmented Intelligence” to propel into the future of art — whereas AI acts as a tool to enhance our skills and craftsmanship with collaborative-driven effort, rather than invoking the idea of autonomous machines surpassing human beings.</p><p>An example of collaboration between humans and AI to build art, is through the <a href="https://www.youtube.com/watch?v=jngkUu-aBz8">Drawing Operations Unit: Generation 2</a> (DOUG) — which is an AI worker which collaborates with a human artist by learning her drawing styles and patterns and late helping her to create more art.</p><p>…</p><p><a href="https://en.wikipedia.org/wiki/Neural_Style_Transfer">Neural Style Transfer (NST)</a><strong> </strong>is another amazing application of AI in a creative context. It is a process made possible due to the virtue of deep learning, which migrates the semantic content of one image to different styles.</p><p>The below image is an amalgam of the art styles of <a href="https://en.wikipedia.org/wiki/Mona_Lisa"><em>“Mona Lisa”</em></a> by Da Vinci and <a href="https://en.wikipedia.org/wiki/The_Starry_Night"><em>“The Starry Night”</em></a> by Vincent van Gogh.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*27tFqiNUeUK9BHVLkjZyYg.jpeg" /><figcaption>“Mona Lisa” with different art styles (source: <a href="http://genekogan.com/works/style-transfer/">http://genekogan.com/works/style-transfer/</a>)</figcaption></figure><p>One might argue that this is just copying an art style and using it and that no element of uniqueness is present. However, the process is not about replicating an art form but understanding what art itself is.</p><blockquote>Comprehend such an abstract concept and apply it to different domains is art itself and part of the creative process of many artists who are inspired by the giants from the past.</blockquote><p>The combination of several works of art to inspire AI to create has applications in diverse domains of art, such as:</p><ul><li><strong>Music:</strong> check out the <a href="https://filmora.wondershare.com/audio-editing/best-ai-music-composer.html">Top 10 AI composers of 2020;</a></li><li><strong>Themes:</strong> <a href="https://www.media.mit.edu/projects/shelley/overview/">the MIT Shelley</a> which transforms pictures into horror images;</li><li><strong>Paintings: </strong>GANs allow for creating realistic paintings which are authored by algorithms, such as in the website<em> “</em><a href="https://thisartworkdoesnotexist.com/"><em>thisartworkdoesnotexist.com</em></a><em>”.</em></li><li><strong>Combinations of art domains: </strong>another form of AI-driven art is by the combination of art. The <a href="https://vimeo.com/226305316">voice driven sound sculpture</a>, allows anyone to create sculptures based on human voice.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/0*SNzeMb44VsdiyhIE" /><figcaption><em>This image was generated using the website “</em><a href="https://thisartworkdoesnotexist.com/"><em>thisartworkdoesnotexist.com</em></a><em>”.</em></figcaption></figure><p>This artistic image seems to be created by an artist or designer with his bold brush strokes on the canvas. But what’s interesting about it, is that it wasn’t created by a human being! Yes, this piece of art was generated using a GAN.</p><blockquote><em>You can go try generating your own unique art using the GAN provided and see creativity literally being created on your screen.</em></blockquote><p>After all the examples seen so far, you might argue that this definition of creativity is still not unique and dependent on random scientific discoveries and mathematical discoveries.</p><p>It’s indeed true that these artworks are fueled by certain principles but what matters is that our digital devices are beginning to think virtually. GANs models are able to infer these principles and start amending them and creating a set of data of their own.</p><h4>AI in the Art Industry</h4><p>The domain of AI is not limited to fine arts only.</p><blockquote>When AI meets art, it is also used to create digital art solutions, rendering environments, architecture, and generating game scenes for visual designers.</blockquote><p>After reading about how AI is revolutionizing art and creating its own pieces, you may be wondering how the companies in the <em>Art Industry</em> are taking full advantage of this new aspect.</p><p>To answer this question let’s explore some of these sectors.</p><p><strong>Game industry: </strong>One such pioneer in this field is <a href="https://www.prometheanai.com/"><strong>Promethean AI</strong></a><strong>. </strong>It<strong> </strong>is the world’s first AI-based approach that works together with artists, assists them in the process of building virtual worlds, and helps creative problem solving by suggesting ideas. <a href="https://kotaku.com/ea-created-an-ai-that-taught-itself-to-play-battlefield-1824004290"><em>EA,</em> recently built an AI agent that taught itself to play Battlefield 1</a> and developed a 3D game environment specifically for deep learning networks to navigate.</p><p><strong>Movie industry: </strong>one of the most promising applications of AI in the art industry goes for sure to the introduction of deepfakes into movies. Deepfakes can play the role of original actors, as well as create persons who do not exist to be the part of a movie. Moreover, AI has also created short films scripts, such as <a href="https://youtu.be/vUgUeFu2Dcw"><strong>Zone Out</strong></a> and <a href="https://youtu.be/LY7x2Ihqjmc"><strong>Sunspring</strong></a><strong> </strong>based on science fictions scripts.</p><p><strong>Design and architecture: </strong>the possibilities of AI for design of environments and products are promising for the new decade.</p><p>The 2021 year started with exciting advances from OpenAI on the release of two deep learning models, CLIP (Contrastive Language-Image Pre-training) and DALL·E (named in combination of <em>Salvador Dalí</em> and Pixar’s WALL·E). The models combine text and images data, and released what can be the future AI for design, through the what became known as the <a href="https://www.technologyreview.com/2021/01/05/1015754/avocado-armchair-future-ai-openai-deep-learning-nlp-gpt3-computer-vision-common-sense/">avocado armchair.</a> As the name suggests, the AI generates an image of an armchair inspired by an avocado.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*tj0_HS3A_BHbmq_UmePYNw.jpeg" /><figcaption>3D rendered AI model by <a href="https://www.prometheanai.com/"><strong>Promethean AI</strong></a><strong>.</strong></figcaption></figure><p>Moreover, 3-D spaces can also be rendered using AI-based models that take care of reflections, shadows, and ray tracing. The model can distinguish between objects at human-like accuracy and can potentially ease up the process of visual designers by giving them a base to work on.</p><p><strong>Police Investigation: </strong>one positively surprising application of AI and art is by use of AI for crime investigation. It is common that artists work in investigations making sketches of faces, in a somewhat rudimentary attempt to find criminals or missing people. If AI is combined with the artists’ drawings, <a href="https://www.newscientist.com/article/2245996-an-ai-can-generate-photographs-of-peoples-faces-from-line-drawings/">it is possible to create faces based on the drawings, which can ultimately help police investigations</a>.</p><p><strong>Music industry: </strong>as mentioned in the previous sections, <a href="https://www.theverge.com/2018/8/31/17777008/artificial-intelligence-taryn-southern-amper-music">AI-based music is already a hit</a> and the possibilities of combinations of diverse music styles to form new ones is an exciting idea in the sector.</p><p><strong>Culinary arts: </strong>another nice application of AI is in the art of cooking.<strong> </strong><a href="https://researcher.watson.ibm.com/researcher/view_group.php?id=5077"><em>IBM</em>’s <em>Chef Watson</em></a> uses AI to help develop recipes and advice on food pairings and unique flavors.</p><blockquote>Behind the avant-garde uses of AI in Art industry, lies a disturbing question: Who Owns the Art Created by Artificial Intelligence?</blockquote><p>As AI becomes more ubiquitous, legal scholars and engineers alike ask themselves who actually gets the copyright from what AI robots produce — man or machine? Is the art form idiosyncratic to a particular entity?</p><p><a href="https://qz.com/1054039/google-deepdream-art-if-an-ai-creates-a-work-of-art-who-owns-the-rights-to-it/?mc_cid=c3b60bc4ac&amp;mc_eid=db5b6d14d5">As pointed out by researcher <strong><em>Robert Hart</em></strong></a><a href="https://qz.com/1054039/google-deepdream-art-if-an-ai-creates-a-work-of-art-who-owns-the-rights-to-it/?mc_cid=c3b60bc4ac&amp;mc_eid=db5b6d14d5">,</a> the ownership laws need to adapt to the reality of the modern world to not delay the advances of the industry.</p><h3>The Future of Art with AI</h3><p>In the past, artists had the ability to touch the human mind and convey intense emotions through the use of several elements, such as music, paintings or movies.</p><p>Given the advances of technology, it is natural to ask ourselves if this will be an extra element in the equation of artistic process and the entire art sector.</p><p>AI is changing the relationship between art and the until now art enthusiasts, by democratizing the artistic process.</p><p>In the near future, the perception of what art will mean may change drastically.</p><p>At the moment it is hard to say, but it is possible that an entire new genre of art associated with AI creation takes place, and things such as <em>AI movies </em>and <em>AI music</em> start to be consumed in the media.</p><p>In the same way, the price of art pieces can have a significant impact when AI is added to the creative process. On one hand, there may be that the price of <em>human artwork</em> increases by the public choosing to value human creativity as the <em>genuine art</em>. On the other hand, AI art can make prices cheaper, as they make the creation and design processes automated, becoming appealing to industry sectors that need original and cheaper pieces of art.</p><p>Deep learning models are becoming experts at understanding art styles to the extent that they can accurately predict if a particular art style has been forged. This shows the potential of AI for the future of art authentication.</p><p>In terms of industry, it is expected that companies will further improve AI algorithms to generate better quality content in gaming, movies or any other creative sectors. AI may also help to enhance human creativity, through AI algorithms which are told what to create.</p><p>Additionally, it is believed that generative design, where the designer inputs their design goals and specifications, will disrupt many industries, including architecture, consumer product design, and other engineering fields.</p><p>At the moment, it is still hard to say what the outcome of the AI and art encounter in many sectors is going to be.</p><p>But for the technology enthusiasts, this is for sure a topic to keep an eye on in the next few years.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=430ec1e5ef80" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Trash We Make: Applying Machine Learning for Analyzing and Predicting Illegal Dumpsites]]></title>
            <link>https://medium.com/omdena/the-trash-we-make-applying-machine-learning-for-analyzing-and-predicting-illegal-dumpsites-7aa0349989ad?source=rss-58cc348fc4b5------2</link>
            <guid isPermaLink="false">https://medium.com/p/7aa0349989ad</guid>
            <category><![CDATA[geospatial-analytics]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[waste]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[unsupervised-learning]]></category>
            <dc:creator><![CDATA[Rosana de Oliveira Gomes]]></dc:creator>
            <pubDate>Tue, 29 Sep 2020 13:56:56 GMT</pubDate>
            <atom:updated>2020-09-29T14:35:25.969Z</atom:updated>
            <content:encoded><![CDATA[<h4>How AI can contribute to a cleaner world.</h4><p><em>This article is part of the Omdena series of articles ‘The Trash We Make’, which summarizes the work carried out in the </em><a href="https://omdena.com/projects/ai-illegal-dumping/"><em>Omdena Challenge in partnership with TrashOut</em></a><em>. You can find the first articles in the series </em><a href="https://medium.com/omdena/the-trash-we-make-ai-solutions-for-a-cleaner-world-18caeeb95e85"><em>here</em></a><em>. This article was written by Ramansh Sharma, Rosana de Oliveira Gomes, Simone Vaccari, Emma Roscow, and Prejith Premkumar.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FjvUEvKOu7Xs02xK" /><figcaption>Photo by <a href="https://unsplash.com/@antoinegiret?utm_source=medium&amp;utm_medium=referral">Antoine GIRET</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Just like any other day, we start our morning with a coffee and a snack to go from our favorite bakery. Later on the same day, we check out our mail where we find letters, newspapers, magazines, and possibly a package that just arrived. Finally at night, after a rough week, we decide to go out to have drinks with friends. Sounds like a pretty uneventful day, right?</p><blockquote>Except that we produced lots of trash in the form of plastic, glass, paper, ad more.</blockquote><p>According to <a href="https://ec.europa.eu/eurostat/statistics-explained/index.php/Municipal_waste_statistics">eurostat</a>, it is estimated that an average person in Europe produces more than 1.3 kg of waste per day (in Canada and the USA, it can go up to more than 2 kg). This is equivalent to a person producing 800 kg of trash per year. <strong>Now imagine millions of… billions of people doing the same. Every day!</strong></p><p>To give you an even clearer perspective: less than 40% of all the waste produced in Europe is recycled — and it is even less across the other continents. Even further, it is estimated that 20% of all generated waste ends up on illegal dumpsites in Europe, and 50% in Africa.</p><p><a href="https://www.trashout.ngo/">TrashOut</a> is an environmental project which aims to map and monitor all illegal dumps around the world and to reduce waste generation by helping citizens to recycle more. This is done through a mobile and web application that helps users with locating and monitoring illegal dumpsites, finding the nearest recycling center or bin, joining local green organizations, reading sustainability-related news, and notifying users about updates on their reports.</p><p>In this article, we discuss our analysis of illegal dumpsites across the world, both in local and global scales.</p><h3>The problem</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5ua5DfZU7mh50WV9" /><figcaption>Photo by <a href="https://unsplash.com/@oceancleanupgroup?utm_source=medium&amp;utm_medium=referral">Ocean Cleanup Group</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>The problem statement for this project was to “<em>build machine learning models on illegal dumpsites to see if there are any patterns that can help to understand what causes illegal dumpsites, predict potential dumpsites, and eventually how to avoid them</em>”. We decided to tackle this wordy problem statement by dividing it into three manageable sub-tasks to be worked on throughout the duration of the project:</p><ul><li><strong>Sub-task 1.1:</strong> Spatial patterns of existing TrashOut dumpsites</li><li><strong>Sub-task 1.2: </strong>Predict potential dumpsites using Machine Learning</li><li><strong>Sub-task 1.3: </strong>Understanding patterns of existing dumpsites to prevent future potential dumpsites</li></ul><h3>Datasets</h3><ol><li><a href="https://www.trashout.ngo/">TrashOut</a>: Reports on illegal dumpsites provided by users through the TrashOut mobile App. For each report, a number of features are recorded, and the most relevant for this analysis were: location (latitude and longitude, city, country, and continent), date, picture, size, and type of waste.</li><li><a href="https://www.openstreetmap.org/#map=14/4.0423/9.6831">Open Street Maps</a> (OSM): Geospatial dataset and information on the cities road network, including the type of roads (e.g. motorway, primary, residential, etc)</li><li><a href="https://sedac.ciesin.columbia.edu/data/set/gpw-v4-population-count-rev11">Socioeconomic Data and Applications Center</a> (SEDAC): Population density at 1km grid, from which we also calculated the population density gradient to account for population density in the neighboring cells</li><li><a href="https://developer.foursquare.com/docs/places-api/">FourSquare</a>: Information about nearby venues</li><li><a href="https://data.worldbank.org/indicator">World Bank Indicators</a>, World Bank’s “<a href="http://datatopics.worldbank.org/what-a-waste/">What a Waste 2.0</a>”, <a href="https://ec.europa.eu/eurostat/web/main">Eurostat</a>, <a href="https://ec.europa.eu/environment/waste/studies/pdf/Separate%20collection_Final%20Report.pdf">European Commission Directorate-General for Environment</a>: Datasets for socio-economic indicators.</li><li>Non-dumpsites Control Dataset: we generated our own Control Dataset, which was required to train the model on where dumpsites <em>do not </em>occur. For every TrashOut dumpsite location, we selected a pseudo-random location 1 km away and assigned this as a potential non-dumpsite location.</li></ol><h3>Methods</h3><p>The first challenge was to identify and extract meaningful information for the spatial analysis from the available datasets. Our assumption was that illegal dumpsites are more likely to occur in highly populated places, in proximity to main roads and in proximity to venues of interest such as sports venues, museums, restaurants, etc. Based on this assumption, we used the available dataset to extract, for every TrashOut dumpsites as well as for every location of our Non-dumpsite/Control Non-dumpsites, the 17 features described in Table 1:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/621/1*jLsSxbzIlEj7uF9itnv_QA.png" /><figcaption>Table 1: Datasets and API’s used to acquire different features for dumpsites</figcaption></figure><p>* For the control dataset, the source for Continent was <a href="https://pypi.org/project/pycountry-convert/">pycountry-convert</a> library.</p><h3><strong>Sub-task 1.1: Finding Spatial patterns of existing TrashOut dumpsites</strong></h3><h4>City-based Analysis of Illegal Dumpsites</h4><p>We performed an in-depth analysis focused on six shortlisted cities, with the goal to represent different social statuses and geographical locations so all continents were included, and based on the availability of a considerable number of TrashOut dumpsite reports. The cities analyzed were:</p><ul><li>Bratislava, Slovakia (Europe)</li><li>Campbell River, British Columbia (Canada)</li><li>London, UK (Europe)</li><li>Mamuju, Indonesia (Asia)</li><li>Maputo, Mozambique (Africa)</li><li>Torreon, Mexico (Central America)</li></ul><p>For the city-based analysis, we accessed the road network information from the OSM dataset by using the <a href="https://osmnx.readthedocs.io/en/stable/osmnx.html">Python package <em>OSMnx</em></a>. This API allows easy interaction with the OSM data without needing to download it, which makes it very accessible in any location around the world. We structured the analysis in a Colab Notebook for consistency and analyzed the following features for each city: distance to three types of roads (motorway, main and residential), distance to the city center, population density, size, and type of waste.</p><h4>Results for Bratislava</h4><p>The proportion of TrashOut dumpsites vs. Control Non-dumpsites and their proximity to nearest roads within 1 km is shown in Figure 1, however, the statistical assessment was undertaken within 100 m using the<a href="https://stattrek.com/hypothesis-test/difference-in-proportions.aspx"> two-proportion <em>Z-test</em></a>. The three graphs are generated for each road type (motorways, main roads, and residential roads) with the purpose to identify whether dumpsites are more likely to appear in proximity of a specific road type. In Bratislava, around one-fifth of dumpsites were found in proximity to a main road (within 100 m), and these were found more likely to be reported next to a main road (within 100 m) compared to locations of Control Non-dumpsites. However, most dumpsites are not reported on roadsides, and in fact, being further away from a road was found to be a slightly better predictor of where a dumpsite might occur.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/456/0*TD53LIjh3auPC--L" /><figcaption>Figure 1: Proximity to a nearest major road for dumpsites and control datasets</figcaption></figure><p>The location of TrashOut dumpsites across Bratislava, colored by reported size, is shown in Figure 2. The majority (around three-quarters) of dumpsites are estimated by TrashOut users to be too big to be taken away in a bag. Dumpsites of all sizes are found throughout the city, but the largest dumpsites tend to be further away from motorways.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/652/0*Tno5fp4lae4dZhd2" /><figcaption>Figure 2: Size of dumpsites in the city of Bratislava</figcaption></figure><p>Several types of waste were reported alongside other types of waste within the TrashOut dumpsites. The number of dumpsites containing each type of waste is shown in the bar chart in Figure 3.1, whereas in Figure 3.2 is shown the percentage of dumpsites containing several types of waste in a matrix. The majority of reported dumpsites in Bratislava contain what TrashOut users describe as domestic waste. Domestic waste often coincides with plastic waste, which itself is found in around half of the dumpsites. Around one-third of dumpsites are reported to contain construction waste.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/998/0*1I7SPxdM5AFncRKx" /><figcaption>Figure 3: Waste types in the TrashOut datasets for Bratislava</figcaption></figure><h4>Conclusions</h4><p>Visualizing the distribution of dumpsite reports throughout the city with the spatial analysis undertaken can be informative in preparation to clean up existing dumpsites, as well as for identifying potential new hotspots. The following observations were drawn from this city-level geospatial analysis.</p><p>Information about the <em>type </em>and <em>size </em>of dumpsites may be important for local authorities and decision-makers to consider how best to clean up dumpsites. Having a spatial visualization of the locations and characteristics of each dumpsite across each city area, not only helps to inform management efforts to clean up existing dumpsites, but also to try minimizing potential new dumpsites by introducing bins for specific types of waste, or holding events to increase recycling awareness.</p><p>Plastic waste is found alongside other types in many dumpsites, which is not surprising. Waste that can be separated occurs simultaneously in reports: domestic and plastic, glass or metal. This might suggest that infrastructure is lacking (i.e. waste collection facilities), or the population is not aware of waste sorting and recycling.</p><p>The amount of construction waste in reports for every part of the world suggests that legislation for construction and demolition waste needs to be improved and compliance needs to be checked/assessed in many places. This might suggest that residents find construction waste difficult or costly to dispose of legally, or that construction companies are neglecting their responsibility to clean up.</p><p>It is important to stress that we cannot say where dumpsites actually appear, only where they are reported to TrashOut. Dumpsites may be reported with higher frequency in some areas because there are more residents or passersby to report them, regardless of whether there are more dumpsites in those areas.</p><p>The use of these tools and analysis will always need to be supported by local knowledge, as well as with the involvement of local municipalities and authorities.</p><h3><strong>1.2: Predicting potential dumpsites</strong></h3><h4>Features to train the Machine Learning model</h4><p>The second subtask focused on creating a Machine Learning model that could predict whether a location is at risk of becoming a dumpsite. Since we have already seen the variables that were considered to be of a strong influence on dumpsites in Table 1, these variables could be used to predict whether a new location could turn into a dumpsite.</p><p>When acquiring the venue categories, we set a radius parameter in the Foursquare library until which distance it is supposed to fetch venue categories information. Although we created datasets with radii <strong>500m</strong>, <strong>1km</strong>, <strong>2km</strong>, and <strong>3km</strong>, we came upon the conclusion that the <strong>1km</strong> radius dataset was the most appropriate one with the best model performance. It was not too near to the location from which the data was being collected therefore not losing any vital information, and at the same time not too far so that irrelevant information needed to be fetched.</p><p><strong>The features:</strong> Number of Venue Categories, Nearest Venue Categories, and Frequent Venue Categories were only acquired up until 1km from a given location. Moreover, the five nearest venue categories and five most frequent venue categories were acquired for each given location as separate variables. If the Foursquare API failed to acquire not all 5 (or even none in some cases) categories within a 1km radius, then a None string would be placed instead in the empty variables.</p><p>A similar approach was taken for the OSM library for the distance to roads features. The value was only collected for roads up till a 1km radius from a location, with the exception of few cases where the API returned a distance slightly beyond 1km.</p><p>For the population density feature, our team discussed different approach ideas, and eventually, we decided that, instead of having a singular value for the population density of the given location, the probability of a dumpsite occurring in (or in very close vicinity of) that location is also affected by the surrounding population. Therefore if the location is in the center of a 1x1 square km cell, then the population densities of the eight 1x1 square km cells around the center cell are also considered. This would be a rather good way to see if the dumpsite is in the middle of a highly-populated area, in the outskirts of the city, or in a nowhere land. Using these nine different population densities (with a more weightage on the center cell’s density), a population gradient is calculated for the location which is given to the model as a separate feature in addition to the population density.</p><p>These were the 17 features that would be used for the Machine Learning model part of this subtask. But how do we teach the model what a dumpsite is?</p><h4><strong>Control dataset</strong></h4><p>We wanted to train a Machine Learning model such that it learns to understand what constitutes a dumpsite in the 17 variables we gathered. We fetched and calculated the features for every one of the approximately 56,000 dumpsites in the TrashOut dataset that we had. However, it is not possible to train a model just by showing it what a dumpsite is. This is because when we show a location that is highly unlikely to become a dumpsite, we want our model to confidently tell us so. An analogous comparison would be to show 56,000 cats to a child and then expect he/she to recognize that a dog is not a cat.</p><p>The solution lies in creating a control dataset. <strong>In order to teach the Machine Learning model what a dumpsite is, we also need to teach it to understand what a dumpsite is not.</strong></p><p>For the sake of simplicity, we can also call the control dataset <strong>non-dumpsites</strong>. So how do we go about finding non-dumpsites? Any location that is not a dumpsite is in essence a non-dumpsite. However, that will not help the model learn meaningful differences between the two classes: dumpsites and non-dumpsites. Instead, what we can do is find close geographical points to the dumpsites that we already have and use them as the control dataset. Once again, we experimented with multiple distances from the dumpsite to pick these points and found that a distance of 1 km works best. The advantages of choosing these points are:</p><ul><li>The points are close enough to the dumpsites so that there are subtle changes in the features that the model will be able to learn and appropriately map to the two classes.</li><li>The points are not too close so that the model fails to realize key differences between the features of the two classes.</li><li>The points are not so far that there is no correlation between the two classes, therefore, preventing nullification of the purpose of the control dataset.</li><li>When we choose a point near a reported dumpsite, we assume that a location nearby a known dumpsite has active users of the TrashOut app in the area, so if there was no dumpsite report, we assumed there was no dumpsite in that location.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mL0MUnvjAVtRWBtr" /><figcaption>Figure 4: Illustration of determining the approach to creating a control dataset.</figcaption></figure><p>We also took measures to make sure that the non-dumpsite point generated for each dumpsite did not contain another dumpsite, was not in the vicinity of another dumpsite, and was not in a major water body.</p><p>The control dataset was made for every dumpsite so that the two classes were balanced for <strong>binary classification</strong>. Additionally, all the features that were used in the dumpsite dataset were used for the control dataset as well.</p><h4><strong>Modeling</strong></h4><p>Our team investigated three different Machine Learning models throughout the project:</p><ol><li><strong>Random forest classifier</strong> — This approach did not work because the model failed to understand the data in a thorough manner and yielded extremely low accuracy. ❌</li><li><strong>Neural Networks</strong> (<strong>Dense</strong> and <strong>Ensemble</strong>) — These series of models and its iterations did not work either because the model was tremendously overfitting. It would be unsuitable for real-world purposes. ❌</li><li><strong>Light Gradient Boosted Model (LGBM)</strong> — This model was our final model. It had good accuracy and the minimum generalization error among all three models. ✅</li></ol><h4>Results</h4><p>The final accuracy of our model was <strong>80%</strong> on the test set. We employed the use of k-fold cross-validation to maximize the accuracy our model could achieve on the test set. We also observed how important the individual features were when it came to classifying a given location to be prone to a dumpsite or not. This analysis was done with the help of SHAPELY and PDP plots as shown in Figure 5 below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TTaZq79mMbZUsDBj" /><figcaption>Figure 5: Importance of every individual variable on the model performance.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*S2i6rRjbhPY8WceA" /><figcaption>Figure 6: Probability output change in the model induced by change in distance to roads feature</figcaption></figure><p>The SHAPELY plot in Figure 5 shows the contribution of each feature towards the prediction. It depicts the importance that each feature has. A high value of importance signifies that the model considers it as a very important factor when determining if a given location is a dumpsite or not. It is indicated that the most important feature of the model for both classes is the distance to road variable.</p><p>The Partial Dependence Plot in Figure 6 helps one understand the effect of a specific variable on the model output. As the value of a feature changes, its effect on the model will also change accordingly. We compute these plots for all the numerical values that we have, to understand its effect on the prediction of the model. The one shown above is the plot analyzing the effect of distance to roads variable. As it can be observed, as the distance from a given location to a major road increases (positive x-axis), the probability that that location is a dumpsite decreases. The soft spike from 1500 m to 2500 m is due to how we manually placed the value of 2500 m in an example when the API could not find a road up till that distance. Regardless, this situation can be manually handled in the deployment implementation.</p><p>One of the key achievements of the team was being able to generate a full city heat map of the city of Bratislava (most of our tests were based here) by running the model on more than 700 locations in the city. In the heat map, the actual dumpsites are plotted in blue markers while the roads are marked in black lines (major roads and highways are visibly thicker than minor roads). The spectrum goes from whitish-yellow to dark red with yellow regions resembling a low probability of becoming a dumpsite and the red regions resembling a high probability of becoming a dumpsite. The heat map provides many beneficial usages. For example, municipalities and local authorities can make smaller heat maps for regional neighborhoods to determine which areas are at a high risk of becoming a dumpsite.</p><p>Another important variational use of this heat map is to combine it with valuable insights about socio-economic factors, population density, distance to roads, etc. The reason being that even though the model has considerably good accuracy, the wisdom still lies in the intuition of local authorities and municipalities. These officials will be better equipped to analyze key neighborhoods and areas to find the places where there is a major road or highway nearby, has a high population density, and a certain set of venue categories in close proximity. Then, a heat map can be generated for that area and specific regions can be identified which require immediate attention to mitigate the possibility of becoming a dumpsite.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MGX25oH7PyExSXzV" /><figcaption>Figure 7: Heat map of the city of Bratislava using the ML model to predict dumpsites</figcaption></figure><h3><strong>Sub-task 1.3: </strong>Understanding patterns of existing dumpsites to prevent future potential dumpsites</h3><h4>Global analysis of illegal dumpsites</h4><p>In order to analyze illegal dumpsites on a global scale, we combined the data from TrashOut with two other datasets:</p><ul><li><a href="http://datatopics.worldbank.org/what-a-waste/"><em>What a Waste</em></a>: For <strong>reported</strong> global waste production</li><li><a href="https://data.worldbank.org/indicator"><em>World Bank Indicators</em></a><em>:</em> For the socio-economic factors that may affect waste</li></ul><p>From this setup, it was possible to divide the countries analyzed into four clusters, using unsupervised learning:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*DJoNdOYQ08rIVeh1nx2YDQ.png" /><figcaption>Figure 9: Global analysis clustering summary. Source: <a href="http://www.omdena.com/">Omdena</a></figcaption></figure><p><strong>Small population developed countries (Blue cluster):</strong> countries with a small population and population growth, but high urban populations and access to electricity. These countries also have low urban population growth and GDP. The countries in this cluster present a high production of glass, metal, and paper/cardboard waste, and the highest production of yard/green waste.</p><p><strong>High population developed countries (Orange cluster):</strong> countries with the highest GDP, and also high access to electricity, urban population, tourism. Low inflation and urban population growth. also produces high amounts of glass and paper/cardboard and is responsible for the highest production of special waste and total municipal solid waste: These countries are also associated with the lowest production of organic waste.</p><p><strong>High population developing countries (Green cluster):</strong> countries with the highest population and inflation; moderate access to electricity and GDP, and growing urban and total population. They generate high amounts of organic, rubber/leather and wood waste, and low amounts of glass. This can be associated with the high population being less concentrated in cities and also to the level of industrialization of such countries, which may be the ones that most produce factory materials such as leather and rubber.</p><p><strong>Small population developing countries/low income (Red cluster):</strong> countries with a small population and GDP; lowest electricity access, but highest GDP and population (including urban) growth. Most of the waste produced in these countries is from food and organic sources. These are the countries that also produce the lowest amounts of glass, metal, and rubber/leather waste. Such scenarios can be associated with the low populations and also possible use of waste in a sustainable way, as these countries also present low production of green/yard and wood waste.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xRVwMvG_g1ptdTekjywz5g.png" /><figcaption>Figure 8: Some features in the global analysis in country clusters.</figcaption></figure><p>Combining this analysis to the illegal dumpsites data from TrashOut, our team obtained the following insights:</p><ul><li>Plastic waste is highly produced across all clusters, indicating that this kind of trash needs to have a global awareness strategy.</li><li>Different types of illegal trash are associated with rural and urban areas, making it important on a global scale. Countries with higher rural population (low income) will produce more illegal organic waste, whereas developed countries present more reports on illegal dumping of plastic, cardboard, yard/green waste, rubber/leather and special waste.</li><li>Socio-economic factors such as infrastructure, sanitation, inflation and tourism play a moderate role in the different production of illegal waste worldwide.</li><li>We identify that population is the most important factor in the production of special waste, municipal solid waste and the total amounts of waste per year. However, most of the special waste produced in developed countries (majority) is reported.</li></ul><h3>Conclusions</h3><p>In this project, we have analyzed data on a local and global scale to understand which factors contribute to illegal dumping, as well as predict and finding possible ways to avoid it.</p><p>It is important to stress that we cannot say where dumpsites actually appear, only where they are reported to TrashOut. Dumpsites may be reported with higher frequency in some areas because there are more residents or passersby to report them, regardless of the number of dumpsites in those areas.</p><p>Nevertheless, visualizing the distribution of dumpsite reports with the spatial analysis undertaken can be informative for identifying potential new hotspots. The following observations can be extracted from our analysis:</p><h4><strong>On a city level</strong></h4><ul><li>The prediction of the ML model and the heatmap can be used as tools for targeted waste management interventions, but will always need to be supported by local knowledge as well as with the involvement of local municipalities and authorities.</li><li>The main road and motorway junctions are locations where illegal disposal of waste is prone to occur. We can witness this in Bratislava and Torreón.</li><li>A lot of reports occur in natural resources areas, e.g. watercourses or natural parks. We can see this in Bratislava, Mamuju, and Campbell River. This may be due to two factors: ease of disposal without being caught; people walking by those areas may be more environmentally aware and wanting to preserve more the places where they go to enjoy nature. Consequently, they create reports more often.</li><li>Waste that can be separated occurs simultaneously in reports: domestic and plastic, glass or metal. This might suggest that infrastructure is lacking (i.e. waste collection facilities), or the population is not aware of waste sorting. This is especially clear in Maputo city.</li><li>The amount of construction waste in reports for every part of the world suggests that legislation for construction and demolition waste needs to be improved and compliance needs to be checked/assessed in many places. This applies to companies and individuals. Construction waste seems to be a problem for many cities.</li><li>TrashOut reports seem to be created in pulses, not on a regular basis. For all the cities examined, there are certain months when the number of reports created exceeds the average by far. Moreover, reports seem to be generally created in specific parts of a city (eg. London).</li></ul><h4><strong>On a global scale</strong></h4><ul><li>Plastic waste production is high across the globe, making it an international problem;</li><li>Among all the socio-economic factors, population plays a strong role in the production of waste in the world (legal and illegal);</li><li>The level of development and socio-economic factors (infrastructure, sanitation, education, among others) play an important role in the kind of waste produced by countries. In particular:</li></ul><ol><li>Small developed countries present a high production of glass, metal, and paper/cardboard waste, and the highest production of <strong>yard/green waste</strong></li><li>High population developed countries: high amounts of glass and paper/cardboard and the highest production of <strong>special waste</strong> and <strong>total municipal solid waste</strong>. These countries are also associated with the lowest production of organic waste</li><li>High population developing countries: high amounts of organic, rubber/leather and wood waste, and low amounts of glass;</li><li>Small developing countries/low income: most of the waste produced in these countries is from food and <strong>organic</strong> sources.</li></ol><p><strong>Possible Factors to Avoid Illegal Dumping</strong></p><ol><li>Organisation of clean-up events in areas where many dumpsites are already existing can be arranged to clean up the targeted areas in a fun, interactive, and educational way. Collaboration with local authorities should be put in place to improve existing waste infrastructure and build new ones, if necessary.</li><li>Those areas identified as high risk for becoming new potential dumpsites could be targeted with waste infrastructure development/enhancement programs. Additionally, learning events could be organized to raise awareness about dumpsites risks, and how to minimize, or avoid altogether, dumpsites by using properly the waste facility infrastructure existing.</li><li>Examples of learning events consist of learning sessions on how to use waste infrastructure and recycling bins according to local/national authorities, the benefits of a sustainable way of living through the 4R cycle (Refuse, Reduce, Reuse, Recycle), and how to avoid single-use items (or a specific type of waste as can be highlighted by a city-level analysis).</li></ol><h3>The team</h3><p>This Omdena challenge was completed successfully thanks to the hard work and expertise of 42 collaborators, coming from 21 countries. In particular, the work presented in this article was done by the team:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/989/1*QBwSqZ5mswOrG9haUqjGxg.png" /><figcaption>Task 1 (Dumpsites analysis and prediction) team from the Omdena-TrashOut challenge</figcaption></figure><p><strong>To join new Omdena challenges and become an AI changemaker, learn more </strong><a href="http://www.omdena.com/projects"><strong>here</strong></a><strong>.</strong></p><p><em>This article is part of the Omdena series of articles ‘The Trash We Make’, which summarizes the work carried out in the </em><a href="https://omdena.com/blog/illegal-dumping/"><em>Omdena Challenge in partnership with Trash Out</em></a><em>. You can find other articles in the series here (Article 1 place holder). This article was written by Ramansh Sharma, Rosana de Oliveira Gomes, Simone Vaccari, Emma Roscow, and Prejith Premkumar on behalf of the Omdena team.</em></p><h4><strong>For helping to make the world a cleaner place, we invite you to install and contribute to the </strong><a href="https://www.trashout.ngo/">TrashOut app</a><strong>.</strong></h4><h4><strong>Happy cleanup!</strong></h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7aa0349989ad" width="1" height="1" alt=""><hr><p><a href="https://medium.com/omdena/the-trash-we-make-applying-machine-learning-for-analyzing-and-predicting-illegal-dumpsites-7aa0349989ad">The Trash We Make: Applying Machine Learning for Analyzing and Predicting Illegal Dumpsites</a> was originally published in <a href="https://medium.com/omdena">Omdena</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Wind Energy Trade with Deep Learning — Time Series Forecasting]]></title>
            <link>https://medium.com/data-science/wind-energy-trade-with-deep-learning-time-series-forecasting-580bd41f163?source=rss-58cc348fc4b5------2</link>
            <guid isPermaLink="false">https://medium.com/p/580bd41f163</guid>
            <category><![CDATA[editors-pick]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[time-series-forecasting]]></category>
            <category><![CDATA[renewable-energy]]></category>
            <category><![CDATA[wind-energy]]></category>
            <dc:creator><![CDATA[Rosana de Oliveira Gomes]]></dc:creator>
            <pubDate>Mon, 27 Jul 2020 09:05:13 GMT</pubDate>
            <atom:updated>2020-08-02T21:05:54.288Z</atom:updated>
            <content:encoded><![CDATA[<h3>Wind Energy Trade with Deep Learning — Time Series Forecasting</h3><h4>Predicting wind energy production with AI</h4><p><em>This article was written by </em><a href="https://www.linkedin.com/in/rosanaogomes/"><em>Rosana de Oliveira Gomes</em></a><em> on behalf of the Deep Delve team for the </em><a href="https://ai4impact.org/dld.html#"><em>AI4Impact Deep Learning Datathon 2020</em></a><em>.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wR-QcQC9NL5T9OIQA481fA.jpeg" /><figcaption>Source: <a href="https://unsplash.com/photos/xRvaPOFsEKo">Unsplash</a>.</figcaption></figure><h3>Introduction to the Problem</h3><p>Nowadays more than ever, the world needs to collaborate in achieving clean energy solutions for fighting the Climate Crisis. The <a href="https://www.un.org/sustainabledevelopment/energy/">Sustainable Development Goals</a> adopted by all United Nations Member States since 2015 aim to ensure access to affordable, reliable, sustainable, and modern clean energy for all by 2030. Clean energies come from renewable resources supplied by nature, such as sun, wind, tides and waves, geothermal heat, among others. Their use range from electricity generation both in large scale and off grid (for rural and remote areas) [1] to heating/cooling systems and transport. However, renewable sources such as sun and wind energy depend on the weather and are more volatile than traditional sources. As many nations in the world increase their share of renewable energy supplies [2,3], it is important to guarantee that these clean energy sources provide a stable supply while replacing fossil fuel based energies.</p><p>In the <a href="https://ai4impact.org/dld.html#"><em>AI4Impact Deep Learning Datathon 2020</em></a>, the topic of clean energies was investigated employing Deep Neural Networks. In the first part of the challenge, the teams worked on predicting energy demand using the <a href="https://www.kaggle.com/robikscube/hourly-energy-consumption">Kaggle data set</a> containing over 10 years of hourly energy consumption data from <a href="https://www.pjm.com/">PJM Interconnection LLC</a>. You can check some insights from team Deep Delve on this first part of the project in the video below.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F29s6iQ_46r4%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D29s6iQ_46r4&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F29s6iQ_46r4%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/ee6ae4f72714b293fa2e9c083fd31dc3/href">https://medium.com/media/ee6ae4f72714b293fa2e9c083fd31dc3/href</a></iframe><p>The second part of the challenge was dedicated to forecasting wind energies for maximizing trading profits. Together with solar, wind energy is one of the most prominent renewable energies sources, providing 4.8% of worldwide electricity supply in 2018 [4,5] and being responsible for 15% of the electricity consumed in Europe in 2019 [6]. Wind energy is generated by the mechanical power of wind on turbines that generate electricity. Because wind has variable intensity over time and may stop blowing intermittently, electricity produced by this source is commonly combined with other power sources in order to improve reliability and stability.</p><p>The economics of wind energy can be understood by considering the trades among different kinds of energy companies. <strong>Regional or national energy companies</strong> buy pre-determined amounts of energy (measured in kWh) from <strong>energy producers</strong>, which are companies that operate wind farms (in the case of wind energy). As steady supply of energy is expected from the grid, energy producers can be penalized with substantial fines by governments in the case of power outages.</p><p><strong>Energy trade companies</strong> play an important role on <em>evaluating the risk of shortfall</em> in energy transactions by helping to <em>predict the expected energy production </em>(specially in the case of wind, as a non-steady energy source). Energy traders predict the production of energy (in our case, wind energy) on behalf of the energy producers, taking into consideration two scenarios:</p><ul><li>in the case of a <strong>shortfall</strong> below the prediction, energy is bought on the spot market to supply the grid (with prices above the average energy price)</li><li>in the case of <strong>excess</strong> over the forecast production, energy producers are not compensated for the extra energy.</li></ul><p>In this sense, precise forecasting of energy production plays a fundamental role for the financial performance of wind farms (i.e. wind energy producers).</p><h3>Problem Statement</h3><p>Wind energy is highly dependent on environmental factors such as wind speed. It is critical for energy traders to successfully predict wind energy production in order to maximize profits. By applying Deep Learning to <em>financial risk</em>, we aim to make a wind energy forecast model with a leading time of 18 hours and 1 hour resolution for the <em>Ile de France </em>region. The goal is to implement a model that optimizes profits for wind farms, minimizing excess of shortfalls of energy production.</p><h3>Methodology</h3><p>In order to evaluate how well our wind energy model performs, we estimate how much monetary profit the model would achieve when compared to real energy produced. The model is tested using real data over time during the <strong>evaluation period</strong>, following the trading cycle:</p><ul><li><strong>Warmup: </strong>first 18 hours in which no trades are performed (started on July 22nd 2020, at 00:00 UTC).</li><li><strong>Trading Period: </strong>produce a wind energy forecast for the next 18 hours (T+18) every hour, including weekends, public holidays, 24/7 (started on July 22nd 2020, at 18:00 UTC).</li><li>Trading ends at the end of the <strong>evaluation period </strong>(July 28th 2020, at 23:00 UTC).</li></ul><p>The analysis of financial performance follows the trade methods discussed before, with the following specifications:</p><ul><li><strong>Price of energy (kWh): </strong>10 euro cents.</li><li><strong>Maximum energy (kWh) sold per day:</strong> maximum forecast of the day.</li><li><strong>Energy production excess:</strong> energy producer is not compensated for extra energy generated.</li><li><strong>Energy shortage:</strong> buy energy from the spot market (20 euro cents/kWh). The amount of energy available to buy depends on the cash at hand and is only possible when a positive balance is available.</li><li><strong>Initial cash reserve:</strong> 10,000,000 euro cents for buying energy difference shortage case. This amount is returned at the end of the evaluation.</li><li><strong>Debt (cumulative): </strong>in a case of shortage in which the cash available in hand is less than required to purchase, a fine of 100 euro cents per kWh is issued. This is recorded as a negative value and added to the cash-at-hand.</li></ul><h3>Data set</h3><p>The goal in this project is to forecast the total wind energy production for the <em>Ile-de-France</em> region surrounding Paris. The data for wind energy production comes from the French energy transmission authority <a href="https://www.rte-france.com/">Réseau de transport d’électricité</a> (RTE). The data setenergy-ile-de-france contains near-real time wind production from the <a href="https://www.rte-france.com/en/eco2mix/eco2mix-telechargement-en">RTE’s online database</a>, following these specifications:</p><ul><li>Energy production (kWh) in time stamps of one 1 hour, starting from January 1st 2017 at 00:00 UTC to present time.</li><li>Wind forecast data for 8 major wind farms in the region (see table below), from 2 different wind models provided by <a href="http://www.terra-weather.com/">Terra Weather</a> (16 forecasts).</li><li>Dependent variables: wind speed (m/s) and wind direction (degrees North — for example, a wind direction of 45 degrees means the wind blows <strong>from</strong> the northeast). Forecasts are updated every 6 hours, and are interpolated to an 1 hour time base. All values for wind speed and direction are estimated from models.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/915/1*h8bz22N0d3Ch27nJUykb3w.png" /><figcaption>Table 1: Information about the 8 major wind farms in the <em>Ile-de-France</em> region, which were used in the project.</figcaption></figure><h3>Exploratory Data Analysis (EDA)</h3><p>Before jumping into the Deep Learning model, we need to first extract insights from the data and work on data preparation. Data extraction and modeling were implemented with <em>Smojo</em> programming language by Terra AI within the Autocaffe platform used throughout the competition.</p><h4>Statistics and normalization</h4><p>We start our analysis by obtaining descriptive statistics of the wind energy in our data set, as shown in Table 2. We emphasize that the data was extracted directly from Autocaffe, and is already interpolated therefore not containing any missing values.</p><p>Next step is to normalize the data, in order to make all features have a similar range of values. This step is important to not bias the network towards features with higher values, as well as to speed up the learning process. All features were standardized to zero mean and unit standard deviation, following the equation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EO5C1Zx-KWiaj0-riEjxww.jpeg" /></figure><p>where Xnorm is the value of the normalized input feature, Xmean is the mean value of X and stddev is the standard deviation.</p><p>When dealing with forecasting, it is important to define a metric at which one can measure how well the model predictions are in comparison to the real values obtained (actuals). Another important concept when dealing with time series is <em>persistence</em>, which is basically the assumption that the observed values of a quantity in the present are going to be the same in the future (T+X = T+0). The persistence is a trivial forecast model and, therefore, any credible time series model must at least beat the persistence value.</p><p>Assuming a Mean Absolute Error (MAE) metric, we identify a persistence of 0.65 for our data set, which is the first benchmark that our model has to overcome.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1020/1*7sP_Dd_ubZIsuJS740g-ww.jpeg" /><figcaption>Table 2: Descriptive statistics for wind energy.</figcaption></figure><h4>Wind Energy Time Series</h4><p>We start our time series analysis with visualizations of the wind energy production over the years using box plots for Figures 1 and 2. In this visualization, a box corresponds to 50% of the data for each year, the horizontal line inside each box corresponds to the median value, the whiskers (range from box) correspond to the maximum and minimum values (excluding outliers) and finally the circles correspond to outliers (1.5 times the box = distance from the box).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6dS7xekI-_DFsUxCT7CFfg.png" /><figcaption>Figure 1: Box plot for wind energy production (normalized) in <em>Ile de France</em> over 2017 and 2019.</figcaption></figure><p>From Figure 1, it is possible to identify an increase of wind energy production over the years. This general increase can be associated to more investments of the French government on its overall wind energy production. This can have happened through capacity increase in wind farms or the increase in the number of wind farms themselves, as one can see in Table 1 by the installation of wind farms Angerville 1 and 2 in 2019 [7,8].</p><p>If we increase the resolution of our analysis over time and focus on the year of 2019, as an example, we can see from Figure 2 that the energy production has a broader range during the months of March and September-December. Similarly, from April to August a decrease in energy production is also identified, indicating a possible seasonal correlation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W3hHkY2dhFXsc7xsdi5TWQ.png" /><figcaption>Figure 2: Box plot for wind energy production (normalized) in Ile de France over the months of 2019.</figcaption></figure><p>Box plots are good for an understanding of the distribution. Now looking into a similar analysis of energy over the months of 2018 in Figure 3, we can better visualize yearly behavior of wind energy production. We highlight the daily averages with orange dots for easier understanding. From the orange curve, one can see that January is the month with highest and August the one with lowest wind energy production. Similar behavior over time is identified in the other years. This information is later used for generating new features for our model optimization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DbXWpZ0EKh18Q6thX62CrA.png" /><figcaption>Figure 3: Monthly mean energy resample</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qF4Te4LCnwqVl0GdzMA0VA.png" /><figcaption>Figure 5: Wind speed for Guitrancourt (vertical axis) over January (horizontal axis).</figcaption></figure><h4>Wind speed and direction</h4><p>After identifying some insights about the wind energy production over time, we can now investigate the features available in our data set.</p><p>We have the wind speed and wind direction for 8 different wind farms in <em>Ile de France</em>, in a total of initial 16 features.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OrI5n8tAxYlylQu5vpMM2w.png" /><figcaption>Figure 5: Wind direction for Guitrancourt (vertical axis) over January (horizontal axis).</figcaption></figure><p>Figures 5 and 6 show the wind speed and wind direction for the Guitrancourt wind farm over the month of January 2019, respectively. No clear insights seem to be visible from the time series behavior of these two features.</p><p>We opted for the year of 2019 in this analysis, since it is the year in which all wind farms are available. Similar behavior was identified when investigating the other 7 wind farms in our data set.</p><p>Figure 6 shows a zoom in in Figure 3 for the energy production over the same period of January 2019. Looking into regions and the whole time period available in our data, we can now compare the energy production peaks and valley to the behavior for wind speed and direction (Figures 4 and 5). Although any correlation seem to be clear among energy production and wind direction, we see similar patterns over time for energy production and wind speed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hMcQ6l6VKjTPbyWlMAE86Q.png" /><figcaption>Figure 6: Wind energy production (vertical axis) over days of January 2019 (horizontal axis).</figcaption></figure><p>In order to investigate such similarities further, Figure 7 shows the Pearson correlation diagram among all wind speed and direction features for all regions and over the whole time available in our data. In this diagram, higher values (red) indicate stronger correlation, whereas lower values (white) indicate weaker correlations. Results indicate no direct correlation between wind direction and energy, but a clear and strong correlation with speed far all wind farms. Weaker correlations among wind speed and direction for the same farms can be identified, not with a significant correlation score.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/743/1*z6j9ifih_OKMKBjYKT9CXg.png" /><figcaption>Figure 7: Pearson correlation among initial features.</figcaption></figure><p>Finally, we can have a look at the wind features distribution in Figure 8. Histograms of wind speed (left) and direction (right) are shown for 4 wind farms (all wind farms present similar curves). We can see that the distribution of the features are not following a Gaussian distribution, because the peak of wind speed is shifted to the left and the wind direction has 2 peaks. This indicates that using a <em>Mean Absolute Error</em> metric is more suitable for the model evaluation, as is discussed in the next session.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fSf70hA3CyvG5x8KIiC79A.png" /><figcaption>Figure 8: Wind speeds and direction distribution for 4 wind farms in France over 2017 and 2019.</figcaption></figure><h3>Deep Learning Model</h3><p>The goal of this project is to make wind energy forecasting for the <em>Ile de France</em> region. <a href="https://machinelearningmastery.com/time-series-forecasting/">Time series forecasting</a> is a common problem solved with Neural Networks and Deep Learning. You can check an overview on tome series models <a href="https://towardsdatascience.com/an-overview-of-time-series-forecasting-models-a2fa7a358fcb">here</a> and on the forecasting topic <a href="https://otexts.com/fpp2/accuracy.html/">here</a>.</p><p>We started our modeling task with a base Neural Network model, later increasing its complexity by adding different features and parameters.</p><h4>Feature Engineering</h4><p>Considering that the data is already normalized and set for training and testing, we move on to the feature engineering phase, in which we investigated possible modifications or combinations of our original features to improve model’s performance. We drop single wind direction in specific wind farms as a feature, but search for more insightful features relevant for determining energy production.</p><p>Based on the discussion in the EDA session, the final set of features used in the best performing model is the following:</p><ul><li><strong>Spatial Average Features: </strong>wind speed (over all wind farms coordinates), direction (over all wind farms coordinates), wind speed vector and wind direction vectors.</li><li><strong>Time Features: </strong>Number of hours from 6AM UTC, Number of months from January, Number of months from April, Seasons.</li><li><strong>Weight Nominal Features: </strong>current wind speed divided by the nominal speed 12m/s weighted by nominal power output (see Table 1), for all wind farm location and all vectors averaged.</li></ul><h4>Difference Model</h4><p>Using a difference model while dealing with time series is extremely important to reduce noise in the data, without changing maximum and minimum values. Moreover, difference helps to capture more insights about the behavior of variables over time. For this reason, we averaged the variables over the following time windows:</p><ul><li>Last 24, 48, 72 hours,</li><li>Last week, last bi weeks (14 days),</li><li>Difference 18hs (trading lead time): t36, t18, t0</li></ul><p>Finally, we also investigated the impact of higher order time contributions to the energy production forecasting by introducing <a href="https://towardsdatascience.com/deep-learning-and-momentum-investing-2273e8db5b86"><em>momentum</em></a><em> and force</em>. Momentum (m) and Force (f) helps giving more information about the behavior of the <em>time rate</em> over time. For a time dependent variable <em>s</em>, an independent variable <em>x, </em>a time <em>t</em> and a time step <em>h</em> the momentum and force are defined as follows:</p><p>s(t) = x(t) +x(t-h),</p><p>m(t) = s(t) -s(t-h),</p><p>f(t) = s(t)-2s(t-h) +s(t-2h).</p><p>Momentum and force are important quantities to minimize lag between a model prediction and the actual values. We used this analysis only for wind energy production, given that the other features come from wind models.</p><h4>Neural Network</h4><p>After analyzing and pre processing the data, we identified insightful new features for our model in the last session. Now we can finally build our neural network model. First, we already identified from the data behavior that a <em>MAE metric</em> is more suitable, given the non Gaussian behavior of the data. We have also identified several new features to be inputs of our neural network.</p><p>When dealing with input features, there is always to risk to add noise to the network or to make the learning process slow in the case the some input features are not relevant for the problem. For this reason, we used <a href="https://towardsdatascience.com/why-data-should-be-normalized-before-training-a-neural-network-c626b7f66c7d"><em>input scaling</em></a><em> </em>in order to only select relevant features to train our neural network.</p><p>Input scaling is a powerful method to reduce noise as well as the effect of outliers in a neural network. The method consists of multiplying the input features by (positive) scaling factors, letting the network learn which ones are relevant as part of the model’s training. After scaling the inputs, the inputs can be further <em>clamped</em> with a <em>tanh</em> of their values.</p><p>Another important method for dimensionality reduction is an unsupervised learning technique called <a href="http://ufldl.stanford.edu/tutorial/unsupervised/Autoencoders/"><em>autoencoder</em></a><em>. </em>This method consists of a subnetwork that compresses and decompresses the input features in a <em>bottleneck network </em>that identifies possible correlations among input features. See more about the topic <a href="https://www.jeremyjordan.me/autoencoders/">here</a>.</p><p>All the methods mentioned above were investigated under several parametrizations in order to find the best performing configuration for our forecast model. Similarly, we have tested several neural network architectures, trying different number of layer, layer sizes, activation functions, optimizers and <a href="https://machinelearningmastery.com/dropout-for-regularizing-deep-neural-networks/">dropout regularization</a> probabilities.</p><p>The best performance configuration has a score of <strong>0.48</strong>, which beats persistence by 26 % for a MAE metric. The specific parameters and architecture used are summarized in Table 3 below (the output layer is not mentioned in the table) and discussed in the next session.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A9l7njwzLdcdzIYtedqXBQ.png" /><figcaption>Table 3: Best Performance model.</figcaption></figure><h4>Results</h4><p>Figures 9 and 10 show the training and test losses for the autoencoder and the main neural network, respectively. The results show that although the model is able to beat persistence, the test loss is still high in comparison to training, indicating learning challenges for the network. As learned throughout this project, high test losses can come from a too large network and/or still too much noise in the data. Let’s continue thinking about it….</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*tRslH4hvKlvTJSz-yTzPzA.png" /><figcaption>Figure 9: Training and Test losses (vertical axis) as a function of iteration for autoencoder.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*zFKLb5r_6LUQb92bdGEFjQ.png" /><figcaption>Figure 10: Training and Test losses (vertical axis) as a function of iteration for the model.</figcaption></figure><p>From the loss results one could expect a not particularly great performance of the model. However, if we now look into the results for lagged correlation in Figure 11, we identify very good results. Here, it is important to come back and understand the goal of project: <em>to maximize profit from energy production forecast</em>. As stated in the trading methodology at the beginning of the article, whenever the model does not predict an excess for a shortfall, the traders will lose profit. From this perspective, it makes sense that the model that profits the most is the one that is able to better predict the peaks and valleys in the time series, but not necessary have a high accuracy throughout the whole time series.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*9y6f58Xb_TcA_oSmxCXq1A.png" /><figcaption>Lagged correlations for Train and Test data.</figcaption></figure><p>In this sense, what was done in this optimization analysis was to prioritize lagged correlation over loss in order to maximize profit. Depending on the problem in which time series forecast is employed, the logic may differ, as for example in the case in which outliers are not important.</p><p>Finally, we show the Actuals vs Training and Actuals vs Test predictions in Figure 12. A clear linear relation is visible in both cases, indicating a good prediction of the model and that the model is actually learning and not memorizing the training data. As discussed above, the model was optimized to minimize lagged correlation and for this reason a broader linear behavior is identified. This is a direct consequence of how our model was tailored.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*Fb3bCteX9P9k1bAw5Z26xw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*VYVbBkogt2yJQXyBL60SiQ.png" /><figcaption>Figure 12: Actual data versus Training(left) and Test (right) predictions.</figcaption></figure><h3>Summary</h3><p>In this project, we trained a neural network model for wind energy prediction in France. This model was later applied to maximize the profits of wind energy traders for real data during a period of several days. During the evaluation period, the models of different teams were compared in terms of profit generated.</p><p>Important things learned throughout the <em>Datathon </em>include:</p><ul><li>Domain knowledge is crucial in order to identify relevant features for wind energy forecasting,</li><li>Detailed data analysis can help with insights on feature engineering and parameter choices,</li><li>Data preprocessing is crucial for a good performance of the model,</li><li>Reducing noise is a key component of time series analysis.</li></ul><p>The model implemented by team <em>Deep Delve</em> is a neural network which predicts wind energy production and is capable of generate reasonable profits for traders and producers of energy. Possible improvements for the model include more experimentation on parameter tuning and neural network architectures, as well as more advanced Deep Learning techniques such as Recurrent Neural Networks — known for perform well in time series problems. A deeper features engineering analysis can also lead to new important factor for wind energy prediction which were not considered in this project, such as altitude and even climate change effects.</p><p>The use of Deep Learning for understanding time series has a high scope and potential for impacting many other fields, such as identifying diseases spread over time (healthcare, economics, sales, stock market, among others). In particular, in the field of renewable energies, it can also be used for forecasting demand and consumption of energy.</p><p>Check our short presentation in the link below :)</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FnVJoukWizz4%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DnVJoukWizz4&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FnVJoukWizz4%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/b46f5198d13e3ba5a20e981bb3a4e007/href">https://medium.com/media/b46f5198d13e3ba5a20e981bb3a4e007/href</a></iframe><p>We would like to thank AI4Impact for organizing this insightful <em>Datathon</em> and for providing all competitors the opportunity to learn more about time series forecasting, neural networks and renewable energies.</p><p><em>Deep Delve Team: </em><a href="https://www.linkedin.com/in/nokyee-ching-637a89153/"><em>Ching Nok Yee</em></a><em>, </em><a href="https://www.linkedin.com/in/nancy-y-zhang/"><em>Nancy Zhang</em></a><em>,</em><a href="https://www.linkedin.com/in/rosanaogomes/"><em> Rosana de Oliveira Gomes</em></a><em>, </em><a href="https://www.linkedin.com/in/cydal/"><em>Sijuade Oguntayo</em></a><em>, Valerie Koh Hui Yi</em></p><h4>Further References</h4><p>[1] <a href="http://www.undp.org/energy/activities/wea/drafts-frame.html">Renewable energy technologies</a>. <em>World Energy Assessment (2001)</em></p><p>[2] <a href="https://www.clickenergy.com.au/news-blog/12-countries-leading-the-way-in-renewable-energy/">“12 Countries Leading the Way in Renewable Energy”</a>. <em>Click Energy</em></p><p>[3] <a href="https://web.archive.org/web/20181128034842/http://resourceirena.irena.org/gateway/dashboard/?topic=4&amp;subTopic=54">“Renewable Electricity Capacity And Generation Statistics June 2018”</a>. <em>Internet Archive Way Back Machine</em></p><p>[4] <a href="https://www.bp.com/en/global/corporate/energy-economics/statistical-review-of-world-energy/renewable-energy.html.html#wind-energy">Statistical-review-of-world-energy</a>. <em>bp</em></p><p>[5] <a href="https://gwec.net/51-3-gw-of-global-wind-capacity-installed-in-2018/">“Global Installed Capacity in 2018”</a>. <em>Global Wind Energy Council</em></p><p>[6] <a href="http://energinet.dk/EN/El/Nyheder/Sider/Dansk-vindstroem-slaar-igen-rekord-42-procent.aspx">New record-breaking year for Danish wind power</a>. <em>Energinet</em></p><p>[7] <a href="https://www.weforum.org/agenda/2019/11/innovative-european-renewable-energy-projects/">This is how Europe is paving the way for a sustainable, green future</a>. <em>We Forum</em></p><p>[8] <a href="https://www.weforum.org/agenda/2020/05/energy-transition-index-2020-eti-clean-sustainable-power/">These countries are leading the transition to sustainable energy</a>. <em>We Forum</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=580bd41f163" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/wind-energy-trade-with-deep-learning-time-series-forecasting-580bd41f163">Wind Energy Trade with Deep Learning — Time Series Forecasting</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DARING TO BECOME A DATA SCIENTIST:]]></title>
            <link>https://medium.com/omdena/daring-to-become-a-data-scientist-d27d910940a3?source=rss-58cc348fc4b5------2</link>
            <guid isPermaLink="false">https://medium.com/p/d27d910940a3</guid>
            <category><![CDATA[machine-learning-ai]]></category>
            <category><![CDATA[career-change-advice]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Rosana de Oliveira Gomes]]></dc:creator>
            <pubDate>Wed, 03 Jun 2020 14:39:02 GMT</pubDate>
            <atom:updated>2020-06-03T14:39:02.939Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A Roadmap on Challenges and Remedies for Transitioning into Data Science</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*rchp-Krl95bF7z70aHhewA.png" /></figure><p><em>This article was written by </em><a href="https://www.linkedin.com/in/josephitopa/"><em>Joseph Itopa A.</em></a><em> and </em><a href="https://www.linkedin.com/in/rosanaogomes/"><em>Dr. Rosana de Oliveira Gomes</em></a><em> in collaboration with </em><a href="https://www.linkedin.com/company/omdena/"><em>Omdena</em></a><em>.</em></p><p>The advances in Artificial Intelligence techniques and the overwhelming amount of data produced in society daily have opened doors to many opportunities in industry and research. Data Science is no exception, and has become one of the most famous areas when it comes to the tech industry. Regardless if you want to become a data scientist, a machine learning engineer or an artificial intelligence researcher, getting started might seem quite challenging, especially if you are changing careers. This article has to goal to help aspiring data scientists (regardless of changing careers or not) in their path into the Data Science world.</p><p>Imagine boarding a plane mid-air. You may start thinking that this might be a suicide mission and that you should jump off and go by train. After reading this article, you will know that changing careers does not need to be that difficult, most especially when Data Science is what you chose to hop into.</p><p>Before we start writing about steps you can take in becoming a data scientist, you need to understand that the Data Science profession is relatively new, meaning that most data scientists or ML engineers did not start their careers in this path. They changed careers from other fields! And you can do the same regardless of your field of study. What you will need to do is to make up your mind about how you want your future to be and remain focused.</p><p>As every new experience in life, there will be challenges on this new path that you have decided to venture into. The first step should be to draw a strategy to fulfill your career change goals, and one helpful way to do so, is to understand what will probably be expecting you down the road and what measures might be needed. In what follows, we look at your transition into Data Science both from a technical and soft skills points of view, highlighting possible challenges and remedies. Let’s get started.</p><h3><strong>Possible Technical Challenges and Remedies</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*EugF_X-mODICqy-GULmSFA.jpeg" /></figure><p><strong>1. Brush up your Math and Programming Skills</strong></p><p>Every Artificial Intelligence algorithm is written in a programming language and is based on a mathematical structure. This usually involves Linear Algebra and some concepts from Calculus. The interpretation of results is done using Statistical Analysis. In other words: whether you like it or not, whenever you deal with data science, there will be a lot of programming and math involved. This means that you have to choose a programming language to learn, which in this field usually is either Python or R, most of the time combined with SQL and Bash. You can have a look into the results from<a href="https://www.kdnuggets.com/2018/05/poll-tools-analytics-data-science-machine-learning-results.html"> <strong>Kdnuggets</strong> poll</a> on programming software used by data scientists on the image below. The choice of programming language is pretty much a matter of style. People already familiar with other programming languages tend to opt for Python, given its similarities. Python has also the advantage of being widely used, making it much easier to find help for solving a complicated problem in online forums or platforms. When it comes to the math required for Data Science, it is important to say that these are the typical initial courses of any science degree, so there is no need to be scared. Nowadays there are several resources for learning these concepts from renowned institutions online (for free!), such as Coursera courses (check these courses <a href="http://vi.https//www.coursera.org/specializations/mathematics-machine-learning">1</a>, <a href="http://vii. https://www.coursera.org/learn/datasciencemathskills">2</a>, <a href="http://viii. https://www.coursera.org/learn/statistical-inferences">3</a>, <a href="https://www.coursera.org/learn/machine-learning">4</a>, <a href="https://www.coursera.org/specializations/deep-learning">5</a>), <a href="http://ix. https://ocw.mit.edu/courses/mathematics/18-650-statistics-for-applications-fall-2016/lecture-videos/">MIT lectures</a> or <a href="http://x. https://www.youtube.com/watch?v=jGwO_UgTS7I&amp;list=PLoROMvodv4rMiGQp3WXShtMGgzqpfVfbU&amp;index=1">Youtube videos</a>. <em>The golden rule while learning both the math and the programming is: take </em><strong><em>ONE</em></strong><em> learning source at a time and stick to it. </em>The worst thing you can do is to keep learning the same things over and over because you are taking too many courses.</p><blockquote><em>The golden rule while learning both the math and the programming is: take </em><strong><em>ONE</em></strong><em> learning source at a time and stick to it.</em></blockquote><p><strong>2. Become a Problem Solver</strong></p><p>You can see the <em>science</em> of Data Science as the ability to solve problems through creative and logical thinking. This of course requires knowledge of programming and the understanding of algorithms, but in the end, what you need is practice and more practice. After acquiring some basic knowledge of programming, you can start venturing into solving real world problems by practicing on courses or platforms. Some good hands-on sources for getting started with projects are the courses at <a href="https://www.w3schools.com/">W3Schools</a> and <a href="https://www.geeksforgeeks.org/">GeeksforGeeks</a>. At <a href="https://data36.com/">Data36</a> you can access courses and also purchase a server (U$ 5) from <a href="https://www.digitalocean.com/">Digital Ocean</a> to practice. Solving some <a href="https://www.kaggle.com/">Kaggle</a> competition problems can also give a boost on your problem solving skills, as you can easily lay your hands on data to practice with and find a lot of help in the community.<em> The golden rule here is: look into projects of your interest, both in terms of skills you want to build and subjects that you feel passionate about.</em> It is all about having fun, after all.</p><blockquote><em>The golden rule here is: look into projects of your interest, both in terms of skills you want to build and subjects you feel passionate about.</em></blockquote><p><strong>3. Join Collaborative Projects or Bootcamps</strong></p><p>After getting familiar with some algorithms and practice on small projects, you will naturally transition into searching for more advanced projects. This is when Bootcamps and Collaborative platforms come in. Data science bootcamps are usually associated with fast-paced and hands-on programs in which students build skills in a semi-professional setup. On the other hand, collaborative Data Science puts its coins on community collaboration in order to develop projects in a more diverse and productively way. Though the styles of each initiative differ, the goal should be to advance your skills and get familiar with end-to-end Data Science projects. Bootcamps will make you learn a lot from mentors and how to apply your knowledge in a structured project. Their disadvantage is that in most cases the data used comes already clean, making you miss a crucial part of a Data Science project. The ruggedness and fun in <em>street coding</em> is best found in collaborative projects. You will learn from others as they learn from you. You will make friends while struggling with unstructured and messy data. There are several inspiring collaborative initiatives out there, such as <a href="https://www.datakind.org/">Data Kind</a>, <a href="http://www.s2ds.org/">Science to Data Science</a> or<a href="https://www.dssgfellowship.org/"> Data Science for Social Good</a>. However, most of these options are dependent on location, costly or available only once per year (usually subject to extensive application process). One alternative to collaborative projects is <a href="https://omdena.com/">Omdena,</a> which launches several projects per year and applies a principle of volunteering to solve real world problems through online collaboration. At <a href="https://omdena.com/">Omdena</a>, people work with domain experts thereby putting you at the heart of learning data science. It is quite likely that, as you join a big project, you will become more motivated to keep learning concepts and ideas (from webinars, courses, books, blogs posts, etc) which will help you in the projects. <em>The golden rule: always keep learning, so participate in projects to take a step further and dare to go beyond the things you have already learned. </em>Maybe you know a lot about algorithms, but not much of data cleaning (or vice-versa), so go for it!</p><blockquote><em>The golden rule: always keep learning, so participate in projects to take a step further and dare to go beyond the things you have already learned.</em></blockquote><h3><strong>Possible Non-Technical Challenges and Remedies</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/509/1*emmK7yRKWw6pMxm2TD8U9Q.jpeg" /></figure><p><strong>1. Organization and Time Management Skills</strong></p><p>One important thing that you must make clear for yourself is: changing careers is a project. It requires a strategic plan, a timeline and specific (and realistic) milestones to be achieved. This means you will need to start making plans and ask questions about the field of Data Science. Some questions you might need to ask yourself are:</p><ul><li><em>Why do I want to be a data scientist and what subjects am I passionate about?</em></li><li><em>Will I quit my job and take the time to learn the skills I need or will I make the transition in parallel with my current work?</em></li><li><em>What am I good at? What are my weaknesses?</em></li><li><em>How much time and money am I willing to spend on changing careers?</em></li><li><em>What are the new skills and qualifications that I need to acquire for the new career path?</em></li><li><em>What is my learning process? Hands-on or analytical?</em></li></ul><p>Although this may sound like basic interview questions they are of great relevance to determine what your strategy is going to be. Once you have established your goals, what and how to learn and how much time and resources to spend, you will still need to organize this in a plan. The more visual the better. If you need to print some sheets with a weekly plan and stick them on your wall, so be it. If you rather have all organized on a daily schedule on a Google calendar, that is also great. In the end, you have to find what works for you. <em>The golden rule: after some time following your data science plan, you will have to come back to your original plan and ask yourself the same questions again. </em>This is how you will identify what is working and what needs adjustments. Maybe you underestimated how much time you needed for a course or maybe the learning resource you chose is not quite as you imagined.</p><blockquote><em>The golden rule: after some time following your data science plan, you will have to come back to your original plan and ask yourself the same questions again.</em></blockquote><p><strong>2. Become a Better Communicator</strong></p><p>We started this article talking about how math and programming skills are <em>must skills</em> for whatever path in Data Science. Here is another one: <em>Communication.</em> A data scientist is nothing more than a person who makes sense out of tons of data and brings it out there to decision makers and stakeholder. However, not all the people that you will need to communicate with are Data Scientists or have a background in programming and math. To make it worse, it is quite common (but of course not a rule) that people interested in these skills are introspective and not super excited about public speaking or constant communication. Putting all this together with the fact that you are changing careers and that it is quite possible that you feel unsure of your abilities; you have a quite high chance of experiencing <em>Impostor Syndrome</em>. This is a condition in which highly qualified personshhave thoughts think they are a fraud and are <em>not good enough</em>. Omdena has hosted a <a href="https://omdena.com/blog/impostor-syndrome-data-science/">webinar </a>on the topic and how to overcome this challenge. The good news is that the one of the tips for overcoming impostor syndrome is also the same as for becoming a better communicator: <em>practice. </em>You are new to an entirely different field and you are ready to learn. This will happen through practice. Communication in Data Science in not only about being a good speaker, but also about providing good explanations of complex concepts to non-experts. It is also about documenting codes, so other team members can learn from your work. It is about being a good writer and getting the habit of writing about everything you do in your career path. <em>Our golden rule here is: documentation is power, so write and keep writing. </em>In the very near future you will need to show all those skills that you put on your resume, and they will be amazingly backed up by having all your work ready to be shared in nicely documented codes (for example, on <a href="https://github.com/">Github</a>), blog posts and possibly talks about your work. The earlier you start, the faster you will improve.</p><blockquote><em>Our golden rule here is: documentation is power, so write and keep writing.</em></blockquote><p><strong>3. Build Your Network</strong></p><p>Last but not least. You will implement your career plan, build technical skills, become a better communicator… and who is going to be there to see all you have done? Though many people feel awkward about the idea of networking on their job hunt quest, there are some important things to be said. First, most of jobs people get come from their network, not from applications (check the references <a href="http://xvi. https://www.businessinsider.com/at-least-70-of-jobs-are-not-even-listed-heres-how-to-up-your-chances-of-getting-a-great-new-gig-2017-4">here</a> and <a href="http://xvii. https://www.linkedin.com/pulse/new-survey-reveals-85-all-jobs-filled-via-networking-lou-adler/">here</a>, for example). Second, networking does not need to be something artificial or manipulative as it is sometimes interpreted. Most of the time, you want to connect to people who have the same career you want to have in order to receive advice, ask questions and just learn about how their careers are in practice. People are usually glad to help and excited about sharing advice, and the worst thing that can happen is not getting any response. One of the easiest ways to network is through collaborate projects. There you will share your knowledge with juniors learners, as well as work with more experienced practitioners, from whom you will learn and be in closer contact. These are the people who experience how it is working with you and who will usually be glad to recommend you or keep sharing knowledge with you. Another good way to network is by following Data Science media such as <a href="https://omdena.com/">Omdena</a>, <a href="http://xviii. https://www.womenwhocode.com/datascience">Women Who Code</a>, <a href="https://www.womeninai.co/">Women in AI</a>, <a href="https://www.superdatascience.com/">Super Data Science</a> and getting in contact with interesting people you find there. It can be the speaker from a podcast you liked, a teacher from an online course or a blogger whose posts you really enjoy. <em>The last golden rule is: put yourself out there and ask questions.</em> You will definitely get a feedback most of the time.</p><blockquote><em>The last golden rule is: put yourself out there and ask questions.</em></blockquote><p>In conclusion, changing careers is a project in itself and will require hard work. Even if you are still transitioning, you can practice data science on your free time and use the resources available in this article. Being persistent while learning, remaining curious and developing a question-oriented mindset will be an important part of your journey.</p><p>While the technical point of view will help you build skills for you to begin in the field, the non-technical resources will offer you the mindset needed for you to take the step of changing careers. Both parts of this development are important, as you are going to use most of these resources throughout the rest of your career. <strong>We wish you a happy transition and a successful career!</strong></p><p><em>Both authors are currently transitioning into Data Science from different fields. To contact the authors and continue this conversation, contact us on LinkedIn (</em><a href="https://www.linkedin.com/in/josephitopa/"><em>Joseph</em></a><em>, </em><a href="https://www.linkedin.com/in/rosanaogomes/"><em>Rosana</em></a><em>, </em><a href="https://www.linkedin.com/company/omdena/"><em>Omdena</em></a><em>).</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d27d910940a3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/omdena/daring-to-become-a-data-scientist-d27d910940a3">DARING TO BECOME A DATA SCIENTIST:</a> was originally published in <a href="https://medium.com/omdena">Omdena</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Modelando Epidemias 101: ou por que  ajustes exponenciais de CoVID-19 estão errados]]></title>
            <link>https://rosana-gomes-phd.medium.com/modelando-epidemias-101-ou-por-que-ajustes-exponenciais-de-covid-19-est%C3%A3o-errados-2ae816bab0c0?source=rss-58cc348fc4b5------2</link>
            <guid isPermaLink="false">https://medium.com/p/2ae816bab0c0</guid>
            <category><![CDATA[coronavirus]]></category>
            <category><![CDATA[epidemic]]></category>
            <category><![CDATA[pandemic]]></category>
            <dc:creator><![CDATA[Rosana de Oliveira Gomes]]></dc:creator>
            <pubDate>Tue, 28 Apr 2020 01:47:35 GMT</pubDate>
            <atom:updated>2020-04-28T22:36:35.836Z</atom:updated>
            <content:encoded><![CDATA[<h3>Modelando Epidemias 101: ou por que ajustes exponenciais de CoVID-19 estão errados</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*Lv6ZJv8loEU7pukXZrlrkw.png" /></figure><p><em>Tradução e adaptação do artigo original </em><a href="https://medium.com/data-for-science/epidemic-modeling-101-or-why-your-covid19-exponential-fits-are-wrong-97aa50c55f8"><em>Epidemic Modeling 101: Or why your CoVID-19 exponential fits are wrong</em></a><em>. Adaptação por </em><a href="https://www.linkedin.com/in/rosanaogomes/"><em>Dra. Rosana de Oliveira Gomes</em></a><em>. Entre em </em><a href="https://www.linkedin.com/in/rosanaogomes/"><em>contato</em></a><em> para sugerir mais artigos sobre o coronavírus a serem traduzidos para o português.</em></p><p>As partes II e III desta série de blogs já foram publicadas (em inglês):</p><ul><li><a href="https://medium.com/data-for-science/epidemic-modeling-102-all-covid-19-models-are-wrong-but-some-are-useful-c81202cc6ee9">Epidemic Modeling 102: All CoVID-19 models are wrong, but some are useful</a></li><li><a href="https://medium.com/data-for-science/epidemic-modeling-103-adding-confidence-intervals-and-stochastic-effects-to-your-covid-19-models-be618b995d6b">Epidemic Modeling 103: Adding confidence intervals and stochastic effects to your CoVID-19 Models</a></li></ul><p>Nas últimas semanas, uma terrível aflição se espalhou pelo mundo. Membros da sociedade antes considerados saudáveis e produtivos foram infectados com uma doença devastadora que os leva a usar Excel, Python ou R para extrapolar os últimos números de casos confirmados de CoVID-19 em sua cidade, estado, país ou até no mundo inteiro!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/461/1*OCPRaTJ-B5mPB15vE3TTWA.png" /><figcaption>XKCD: “No terceiro trimestre, haverá centenas de bebês dentro de você”</figcaption></figure><p>Brincadeiras à parte, a gravidade da atual epidemia de SARS-CoV-2 é inegável e é natural que as pessoas lidem com o estresse adicional em suas vidas (e tempo livre a mais, devido ao confinamento) de várias maneiras.</p><p>Uma demografia particularmente afetada foi a minha, a dos físicos, resultando no surgimento de uma pequena indústria caseira de postagens em blogs, publicações do LinkedIn e até artigos do arXiv com suas melhores tentativas de modelar a propagação da doença, com pouco ou nenhum entendimento de dinâmica subjacente à disseminação da epidemia. Mais uma vez, as palavras imortais de <a href="https://www.cmu.edu/dietrich/sds/people/faculty/simon-dedeo.html">Simon DeDeo</a> foram provadas verdadeiras:</p><h3>Simon DeDeo on Twitter</h3><p>The 10 scariest words in the social sciences: &quot;I&#39;m from the physics department and I&#39;m here to help.</p><p>Em todos os casos, os nossos destemidos seguidores de <a href="https://en.wikipedia.org/wiki/John_Snow">John Snow</a> (não o que você está pensando) terminam em alguma variação desse gráfico comparando o número acumulado de casos ou mortes em vários países em função do tempo com uma taxa direta de crescimento exponencial.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*2vHj9nJEaZq8qbJHtw0eHg.png" /><figcaption><a href="https://www.ft.com/coronavirus-latest">Financial Times</a>, 29 de Março de 2020.</figcaption></figure><p>Extrapolação para números não realistas, previsões de quando um país pode ultrapassar outro, considerações sobre o sucesso ou fracasso de medidas de contenção e várias outras <a href="https://context.reverso.net/traducao/portugues-ingles/perip%C3%A9cias">peripécias</a>.</p><p>Trazer ordem a um mundo caótico sempre foi a força motriz do progresso humano e pode-se argumentar que esta é simplesmente a sua mais recente encarnação: os <a href="https://www.urbandictionary.com/define.php?term=Numerati">Numerati</a> tentando usar suas habilidades de modelagem e ciência de dados para entender o mundo ao seu redor. Uma tendência que levou a um progresso impressionante nas áreas de aprendizado de máquina, inteligência artificial e ciência de dados nos últimos anos. Infelizmente, embora haja boas razões para esperar que os estágios iniciais da disseminação epidêmica sejam exponenciais, há muitos fatores práticos que conspiram contra a eficácia de simples ajustes de curvas e um pouco de conhecimento sobre o modelamento tradicional de epidemias pode abrir boas perspectivas.</p><p>O que se segue é minha perspectiva pessoal, como um indivíduo com alguma experiência <a href="http://www.bgoncalves.com/research.html">real</a> em modelamento de epidemias durante pandemias anteriores e não deve refletir em nenhum grupo ou instituição à qual eu possa estar afiliado.</p><h3>Modelos Comportimentais</h3><p>A modelagem matemática em Epidemiologia tem uma história longa e rica, que remonta à década de 1920 com a teoria de <a href="https://en.wikipedia.org/wiki/Kermack%E2%80%93McKendrick_theory">Kermack-McKendrick</a>. A idéia básica é enganosamente simples: podemos dividir a população em diferentes compartimentos representando os diferentes estágios da doença e usar o tamanho relativo de cada compartimento para modelar como os números evoluem com o tempo.</p><p>Na discussão abaixo, apresento vários modelos e cenários simples para ajudar a ilustrar os problemas, simplesmente tentando ajustar a curva nos números empíricos. Você pode encontrar o Notebook que eu escrevi para implementar os modelos e gerar as figuras nesse repositório do GitHub que criei especificamente para este post:</p><p><a href="https://github.com/DataForScience/Epidemiology101">GitHub - DataForScience/Epidemiology101: Epidemic Modeling for Everyone</a></p><h4>O Modelo SI</h4><p>Vamos começar examinando o modelo de epidemias mais simples possível: o Modelo Infectado-Suscetível. Aqui, dividimos a população em dois compartimentos, o compartimento saudável (geralmente chamado de <strong>Suscetível</strong>) e o compartimento <strong>Infeccioso</strong>. A dinâmica também é simples, quando uma pessoa saudável entra em contato com uma pessoa infecciosa, ela é infectada com uma determinada probabilidade. E, neste exemplo simples, quando você está infectado, você permanece infectado para sempre. Matematicamente, isso geralmente é escrito como:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/204/1*s56qkYz59bf6hxsW89aVfg.png" /><figcaption>Descrição matemática do Modelo Suscetível-Infectado.</figcaption></figure><p>o que é apenas uma maneira elegante de dizer que a diminuição no número de pessoas saudáveis é a mesma que o ganho nas fileiras dos infectados. Mais especificamente:</p><ul><li><em>N</em> é simplesmente o tamanho total da população</li><li><em>β</em> é a taxa de infecção</li><li><em>It /N</em> é a fração de pessoas infectadas e representa a probabilidade de uma pessoa suscetível encontrar uma pessoa infectada.</li></ul><p>Não é de surpreender que este não seja um modelo muito interessante: dado tempo suficiente, todos são infectados:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*NAbxain3KFUUKIoE286d9g.png" /><figcaption>Fração de infectados da população total em função do tempo.</figcaption></figure><p>Este modelo simples considera apenas uma maneira de fazer a transição entre os compartimentos (ou subgrupos): de S para I através da interação (contato) entre S e I. Uma maneira compacta de representar isso é:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/119/1*8Isnq90k9hTXysUb334fpg.png" /><figcaption>A transição no Modelo SI.</figcaption></figure><h4>Modelo SIR</h4><p>Modelos de epidemias mais realistas podem ser desenvolvidos adicionando mais compartimentos e transições. O modelo mais comum é o modelo <em>Suscetível-Infeccioso-Recuperado</em>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*QvlWJULKVFUdHKJ4KvHtCQ.png" /><figcaption>Modelo SIR</figcaption></figure><p>Aqui temos um novo compartimento, recuperado, que representa as pessoas que tiveram a doença no passado e que se recuperaram desde então, ficando imunes. A presença de <em>Recuperado</em> reduz lentamente o número de indivíduos infecciosos, uma vez que eles podem se recuperar.</p><p>Em termos de transições, isso pode ser escrito como:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/163/1*xVRmPyrrxlnEqoIt2GFXBw.png" /><figcaption>As transições no modelo SIR.</figcaption></figure><p>Onde a segunda linha representa uma transição espontânea (sem interação) de <em>Infecciosa</em> para <em>Recuperada</em> a uma taxa fixa <em>μ</em>.</p><p>Matematicamente, temos:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/276/1*glaA4ODD7XujsO3atu9HeA.png" /><figcaption>Modelo Suscetível-Infeccioso-Recuperado.</figcaption></figure><p>o que deixa claro que o crescimento do número de <em>recuperados</em> depende apenas do número de indivíduos <em>infecciosos</em> atual. Nota-se também que este modelo implica um tamanho populacional constante:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/260/1*7pyT5HKR4pKZwLalGdk8NQ.png" /><figcaption>População total fixa.</figcaption></figure><p>Uma expressão semelhante também poderia ser escrita para o modelo SI.<br>Se agora calcularmos o modelo SIR completo, encontramos:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*8f40Y4FlN5rBypPnHtbQ2g.png" /><figcaption>Fração da população em cada compartimento em função do tempo.</figcaption></figure><p>Algumas coisas devem ser notadas sobre essa figura:</p><ul><li>O número de indivíduos <em>suscetíveis</em> só pode diminuir;</li><li>O número de <em>recuperados</em> só pode aumentar;</li><li>O número de indivíduos <em>infecciosos</em> cresce até um certo ponto antes de atingir um pico a partir do qual começa a declinar;</li><li>A maioria da população é infectada e, eventualmente, se recupera.</li></ul><p>Se focarmos apenas no comportamento do compartimento (subgrupo) <em>infeccioso</em>, encontramos:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*0ZuV5BsgUYgV5inrChu92w.png" /><figcaption>Compartimento infeccioso no Modelo SIR.</figcaption></figure><p>Significando que uma fração significativa da população pode ser infectada ao mesmo tempo, potencialmente causando (dependendo da gravidade da infecção) o sistema de saúde ficar sobrecarregado. Quando você ouve a expressão “achatar a curva”, é essa a curva à qual eles estão se referindo.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*0ExwOo2tpYzJSBt6Wz5OZg.gif" /><figcaption><a href="https://theconversation.com/how-to-flatten-the-curve-of-coronavirus-a-mathematician-explains-133514">The Conversation</a>/CC BY ND</figcaption></figure><p>A partir da expressão matemática do modelo SIR acima, alguns resultados interessantes podem ser facilmente obtidos. Se nos concentrarmos nos primeiros dias da propagação da epidemia, podemos assumir que a fração de indivíduos <em>suscetíveis</em> ainda é <em>~ 1</em> e encontrar:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/178/1*v3YO_kI91RwVCKSaSd8KNw.png" /></figure><p>que é o comportamento exponencial que todos estão tentando ajustar! Aqui,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/85/1*lVPSJSqm1IPWI7frBxnCag.png" /></figure><p>é pronunciado “R zero” e é o <a href="https://en.wikipedia.org/wiki/Basic_reproduction_number">número básico de reprodução</a> da doença. Esse número simples define se temos ou não uma epidemia. Se <em>Rₒ&lt;1</em>, a doença desaparece; caso contrário, cresce <em>exponencialmente</em>!</p><p>Uma maneira intuitiva de interpretar o <em>Rₒ</em> é como o número médio de novas infecções produzidas por um único indivíduo infeccioso. Se uma pessoa é capaz de espalhar a doença para pelo menos outra antes de se recuperar, a epidemia pode continuar; caso contrário, ela desaparece.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FVrATMF_FB9M%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DVrATMF_FB9M&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FVrATMF_FB9M%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/dff1f398b99e31c928b6156ad225796c/href">https://medium.com/media/dff1f398b99e31c928b6156ad225796c/href</a></iframe><p>É isso que precisamos determinar e depende de muitos fatores diferentes <strong>que são característicos do vírus</strong>, como Kate Winslet colocou eloquentemente no filme <a href="https://www.imdb.com/title/tt1598778/">Contágio</a>, de 2011.</p><p>As melhores estimativas atuais do valor de <em>Rₒ</em> para o SARS-CoV-2, o coronavírus que causa o CoVID-19, estão <a href="https://www.ncbi.nlm.nih.gov/pubmed/32014114">em torno de</a> 2,5.</p><p>O valor de <em>Rₒ</em> também desempenha um papel fundamental na determinação de como a epidemia evolui. Se considerarmos a segunda equação que descreve o modelo SIR:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/240/1*jeO91hB0VQaa4YcBTr_wuA.png" /></figure><p>Concluímos que a derivada do número de infecciosos se torna negativa sempre que:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/94/1*p0eoikUXh7ZOQw4bXUn2Hw.png" /></figure><p>Este é o ponto em que atingimos o pico e a epidemia começa a morrer. Este é o ponto em que a população começa a ter o suficiente do que é conhecido como <a href="https://pt.wikipedia.org/wiki/Imunidade_de_grupo"><em>imunidade de grupo</em></a> para que a doença não possa se espalhar mais. Sempre que as vacinas estão disponíveis, os programas de vacinação são projetados para ajudar a população a alcançar a imunidade do rebanho sem precisar obter uma fração significativa da população infectada.</p><p><em>Rₒ</em> também determina a fração final de toda a população que não será afetada pela doença:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/198/1*fEK20ert16CK4GB1VEpC2A.png" /></figure><p>Onde <em>S_infinity </em>é a fração total de indivíduos saudáveis (que nunca são infectados) após a epidemia ter tido tempo de seguir seu curso completo. Essa expressão não tem uma solução fechada, mas pode ser usada para se estimar o valor de <em>S_infinity </em>numericamente. A figura do Modelo SIR acima foi gerada usando <em>Rₒ = 2,</em> e vemos que <em>S_infinity ~ 0.2</em>. Isso pode ser facilmente verificado ao inserir esses números na expressão.</p><h3>Considerações práticas</h3><p>Até o momento, nossa análise de modelos de epidemia se concentrou no cenário ideal que parece justificar a abordagem de ajustar curvas exponenciais como uma maneira simples de tentar prever como a epidemia evolui. Infelizmente, o mundo real é de várias maneiras significativamente mais complexo.</p><h4>Casos assintomáticos e pouco infecciosos</h4><p>Uma das limitações da abordagem descrita até agora é que ela faz algumas suposições não realistas:</p><ul><li><strong>Não há incubação ou período latente</strong>. Um período de incubação faz com que toda a evolução da epidemia seja atrasada. Mas isso não é um problema significativo para nossos propósitos aqui.</li><li>Existe <strong>um único tipo de indivíduo infeccioso</strong>. No mundo real, diferentes sistemas imunológicos respondem de maneira diferente ao vírus, resultando em casos pouco infecciosos e em algumas pessoas sendo completamente assintomáticas (sem sintomas). No caso do CoVID-19, acredita-se que o número de casos assintomáticos seja <a href="https://www.medrxiv.org/content/10.1101/2020.02.03.20020248v2">40% ou mais</a>.</li></ul><p>Ambas as dificuldades podem ser resolvidas sem muita dificuldade adicionando novos compartimentos e transições ao nosso modelo SIR básico. No entanto, isso apresenta discrepâncias significativas ao lidar com os números publicados oficialmente.</p><p>Nos primeiros dias da epidemia, apenas os casos mais graves (não assintomáticos e não leves) ficaram doentes o suficiente para procurar ajuda médica e serem diagnosticados oficialmente. Isso naturalmente leva a um atraso na detecção dos primeiros casos em uma determinada cidade ou país. Consequentemente, uma superestimação da gravidade da doença é esperada, pois os casos mais graves têm maior probabilidade de morrer.</p><p>Os números publicados também são geralmente cumulativos, fazendo com que o número total pareça maior. Uma maneira simples de extrair uma medida do número de possíveis casos confirmados do nosso simples Modelo SIR é contar quantas pessoas foram removidas do compartimento <em>Suscetível</em>. Definindo <em>ϕ</em> como a fração de casos infecciosos que são testados, temos:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/179/1*SDpW74zObAV5szUTmrot4w.png" /><figcaption>Casos confirmados.</figcaption></figure><p>Como resultado, os números publicados dependem diretamente da fração de casos graves o suficiente para levar à atenção médica e serem testados:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*XTx9cJQok9NpOC77Z-LEdg.png" /><figcaption>Casos confirmados no Modelo SIR.</figcaption></figure><p>O número de indivíduos <em>recuperados</em> (observado) seguirá uma trajetória semelhante, embora com <em>alguns dias de atraso devido à linha do tempo natural da doença</em>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*ahOa504Z85WE6wS-YcuDlQ.png" /><figcaption>Número de casos recuperados observado.</figcaption></figure><p>Naturalmente, é preciso tempo para <a href="https://www.fiercebiotech.com/medtech/fda-authorizes-hand-held-covid-19-diagnostic-test">desenvolver</a> e distribuir testes <a href="https://www.nytimes.com/2020/03/28/us/testing-coronavirus-pandemic.html">precisos</a> para doenças novas. Se considerarmos ainda que a fração de testes depende também do tempo, é fácil ver como muitas características observadas na linha do tempo dos casos confirmados são causadas por medidas políticas locais e pela disponibilidade do testes:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*O-3JEk-VTJFnqav5ZgSibA.png" /><figcaption>Efeito da taxa de teste com o tempo.</figcaption></figure><p>Nesta figura, comparamos o número de casos infecciosos reais (em roxo), o resultado de testes uniformes (linha laranja tracejada) e as taxas de teste dinâmico (linha laranja sólida). Para maior clareza, mostramos as diferentes curvas em uma escala logarítmica (a mudança de uma linha de grade horizontal para a próxima corresponde a um fator de 10x) e incluímos uma linha de ajuste exponencial (linha azul fina) como um guia visual, representando a tendência exponencial.</p><h4>Atrasos dinâmicos</h4><p>Outro fator importante a considerar é a evolução temporal intrínseca à progressão da doença. Um indivíduo saudável entra em contato com uma pessoa infecciosa e fica infectado. A infecção dela durará um número específico de dias, o que significa que o número atual de indivíduos infecciosos é a soma de todos que foram infectados hoje, ontem, anteontem, etc … e ainda não tiveram tempo de se recuperar.</p><p>Isso implica que existe um atraso natural entre o pico de novas infecções e o pico no número total de indivíduos infecciosos proporcional à duração do período infeccioso.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*CzwDKhZqbAVTwd9m1n5TMg.png" /><figcaption>Atraso entre o pico de novas infecções e o número atual de indivíduos infectados.</figcaption></figure><p>Uma conseqüência importante desse atraso é que, mesmo que o número de novas infecções hoje seja menor do que ontem e no dia anterior, levará vários dias para que os efeitos sejam perceptíveis como uma redução no número total de casos infectados.</p><h4>Medidas de Confinamento</h4><p>À medida que a epidemia progrediu, <a href="https://en.wikipedia.org/wiki/National_responses_to_the_2019%E2%80%9320_coronavirus_pandemic">muitos países ao redor do mundo</a>, começando com a China, tentaram implementar procedimentos de bloqueio ou quarentena para tentar conter a propagação da doença. Essas medidas se mostraram impopulares com o público devido às suas conseqüências sociais e econômicas, por isso é importante entender o efeito que elas têm para impedir a propagação da epidemia.</p><p>Vamos imaginar o cenário de contenção perfeito. Eu uso uma varinha mágica e todo mundo fica em casa, exatamente a 2 metros de distância um do outro o tempo todo, e nenhuma nova infecção pode ser gerada. Em nossa estrutura SIR, isso corresponde a definir repentinamente <em>Rₒ=0</em> ou simplesmente eliminar a transição de interação do modelo. Os resultados são impressionantes:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*Z0Xg6eJeO8nll6KJ_NWLMw.png" /><figcaption>Estratégia de contenção perfeita. A estratégia é implementada no momento indicado pela linha tracejada vertical e mantida pelo tempo necessário para que o número de indivíduos infecciosos atinja zero.</figcaption></figure><p>Embora não sejam geradas novas infecções, o número total de indivíduos infectados ainda permanece alto por várias semanas, à medida que as pessoas afetadas no momento se recuperam gradualmente da doença.</p><p>Naturalmente, nenhuma estratégia de contenção é perfeita, mas digamos que fazemos um bom trabalho e, em vez de levar o <em>Rₒ </em>a <em>0</em>, conseguimos levá-lo para <em>0.5</em>. Como mostramos acima, sempre que <em>Rₒ&lt;1</em> a epidemia começa a desaparecer, mas leva muito mais tempo do que no cenário ideal e resulta em um número maior de infecções totais:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*Oqm8YWMSXBKwRZ-KSRWTOA.png" /><figcaption>Estratégia de contenção imperfeita. A estratégia é implementada no momento indicado pela linha vertical e mantida pelo tempo necessário para que o número de infectados atinja zero. Linhas finas e sólidas correspondem ao cenário perfeito anterior e são mostradas para comparação.</figcaption></figure><p>Se, no entanto, por algum motivo, os custos sociais ou econômicos da contenção forem considerados muito caros e a quarentena for levantada prematuramente, simplesmente retornaremos ao cenário anterior de disseminação irrestrita da epidemia:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*Lv6ZJv8loEU7pukXZrlrkw.png" /><figcaption>Estratégia de contenção imperfeita. A estratégia é implementada no momento indicado pela área sombreada vertical. Linhas sólidas tracejadas e finas correspondem aos cenários sem intervenção e bloqueio imperfeito, respectivamente, e são mostradas para comparação.</figcaption></figure><p>Como podemos ver, um confinamento quebrado prematuramente resulta rapidamente em uma segunda onda da epidemia, levando a <strong>quase</strong> tantos casos totais como se não houvesse intervenção alguma. No entanto, ainda tem o benefício de manter o número máximo de indivíduos doentes abaixo do que seria normalmente e uma “expansão” da curva epidêmica: Em outras palavras, o achatamento da curva que <strong>ajudará a impedir a sobrecarga do sistema de saúde</strong>.</p><p>Para maior clareza, vamos dar uma olhada apenas no número de casos infecciosos</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*dM_kyPqbWHK6PKWyVURjlw.png" /><figcaption>Estratégia de contenção imperfeita. A estratégia é implementada no momento indicado pela área sombreada vertical. Linhas sólidas tracejadas e finas correspondem aos cenários sem intervenção e contenção imperfeita, respectivamente, e são mostradas para comparação.</figcaption></figure><p>Não é para um pobre físico como eu opinar se a atual paralisação mundial vale ou não a pena econômica ou socialmente. O melhor que posso fazer é ajudá-lo a entender melhor seus efeitos práticos.</p><h3>Populações estruturadas</h3><p>Este post já é extremamente longo, mas eu gostaria de considerar um ponto extra. Os modelos compartimentais, por sua própria natureza, fazem simplificações e suposições significativas. Uma suposição fundamental é que a população subjacente é bem mista: todo indivíduo está em contato potencial com qualquer outro indivíduo. Embora isso seja claramente falso para qualquer população grande, geralmente é uma aproximação suficientemente boa para a análise qualitativa da dinâmica de epidemias.</p><p>No entanto, se tentarmos estender demais esse tipo de modelo, descobrimos rapidamente que países e cidades não são populações homogêneas. Os países são constituídos por estados, os estados são constituídos por cidades e áreas rurais, etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*0IVWiWJYuT8Iy35Xy-56AQ.png" /><figcaption>Representação esquemática da epidemia entre populações vizinhas.</figcaption></figure><p>Dentro de cada população, a epidemia continuará como descrito acima, mas quando combinamos várias populações, os resultados ficam muito menos claros. Vamos considerar duas populações, digamos duas cidades vizinhas. A epidemia começa em um deles e, com eventual deslocamentos ou viagens, um indivíduo infeccioso infectará a cidade vizinha, resultando em uma diferença de tempo entre as duas populações. Se tratarmos ingenuamente essas várias populações como uma única (como quando se olha apenas para os totais de estados ou países), a curva resultante será fortemente afetada pela diferença de tempo entre as duas populações. Os resultados das curvas de epidemias apresentam pouca ou nenhuma semelhança como os simples exemplos que analisamos até agora, tornando qualquer tentativa de ajuste exponencial uma atividade ociosa com pouco ou nenhum uso prático.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*ktNL2g7hDiEPlCDCoyCZVQ.png" /></figure><h3>Fontes</h3><p>Se você chegou até aqui, parabéns. Agora você sabe mais sobre modelamento de epidemias do que a maioria dos destemidos fabricantes de curvas e espero que não cometa os mesmos erros que eles estão cometendo.</p><p>E se você ainda deseja mais, as partes II e III desta série de blogs já foram publicadas (em inglês, traduções em breve):</p><ul><li><a href="https://medium.com/data-for-science/epidemic-modeling-102-all-covid-19-models-are-wrong-but-some-are-useful-c81202cc6ee9">Epidemic Modeling 102: All CoVID-19 models are wrong, but some are useful</a></li><li><a href="https://medium.com/data-for-science/epidemic-modeling-103-adding-confidence-intervals-and-stochastic-effects-to-your-covid-19-models-be618b995d6b">Epidemic Modeling 103: Adding confidence intervals and stochastic effects to your CoVID-19 Models</a></li></ul><p>e você deve conferir.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2Fkg75qI0yQLeFX145OT%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2FIntellmediaMx-maths-confundido-confussed-kg75qI0yQLeFX145OT&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fkg75qI0yQLeFX145OT%2Fgiphy-downsized-large.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="267" frameborder="0" scrolling="no"><a href="https://medium.com/media/241137956f3b41c72630a5e154682441/href">https://medium.com/media/241137956f3b41c72630a5e154682441/href</a></iframe><p>O código necessário para implementar os modelos descritos acima e gerar as figuras usadas pode ser encontrado neste repositório do GitHub:</p><p><a href="https://github.com/DataForScience/Epidemiology101">GitHub - DataForScience/Epidemiology101: Epidemic Modeling for Everyone</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ae816bab0c0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Coronavírus: O Martelo e A Dança]]></title>
            <link>https://rosana-gomes-phd.medium.com/coronav%C3%ADrus-o-martelo-e-a-dan%C3%A7a-3313cefa9dfb?source=rss-58cc348fc4b5------2</link>
            <guid isPermaLink="false">https://medium.com/p/3313cefa9dfb</guid>
            <category><![CDATA[coronavirus]]></category>
            <dc:creator><![CDATA[Rosana de Oliveira Gomes]]></dc:creator>
            <pubDate>Sat, 21 Mar 2020 05:56:15 GMT</pubDate>
            <atom:updated>2020-03-21T05:56:15.218Z</atom:updated>
            <content:encoded><![CDATA[<h4>Como serão os próximos 18 meses, se os líderes ganharem tempo</h4><p><em>Tradução e adaptação do artigo original Coronavirus: The Hammer and the Dance. Adaptação por </em><a href="https://www.linkedin.com/in/rosanaogomes/"><em>Dra. Rosana de Oliveira Gomes</em></a><em>.</em></p><p><em>Este artigo é uma continuação do artigo Coronavírus: Por que você deve agir já! (</em><a href="https://medium.com/@tomaspueyo/coronavirus-the-hammer-and-the-dance-be9337092b56"><em>original</em></a><em> e </em><a href="https://medium.com/tomas-pueyo/coronavirus-por-que-devemos-agir-j%C3%A1-5eaa5d337af5"><em>tradução</em></a><em>), um artigo com mais de 40 milhões de visualizações traduzidas para mais de 20 idiomas que descrevem a urgência do problema do Coronavírus.</em></p><p><strong>Resumo do artigo: As fortes medidas de coronavírus hoje devem durar apenas algumas semanas, não deve haver um grande pico de infecções depois e tudo pode ser feito por um custo razoável para a sociedade, salvando milhões de vidas ao longo do caminho. Se não tomarmos essas medidas, dezenas de milhões serão infectados, muitos morrerão, assim como qualquer pessoa que precise de tratamentos intensivos, porque o sistema de saúde entrará em colapso.</strong></p><p>Dentro de uma semana, países de todo o mundo passaram de: “Esse negócio de coronavírus não é grande coisa” para declarar estado de emergência. No entanto, muitos países ainda não estão fazendo muito. Por quê?</p><p>Todo país está fazendo a mesma pergunta: como devemos responder? A resposta não é óbvia para eles.</p><p>Alguns países, como França, Espanha ou Filipinas, já pediram medidas pesadas de isolamento. Outros, como EUA, Reino Unido, Suíça ou Holanda, se arrastaram, hesitando em se aventurar em medidas de distanciamento social.</p><p>Aqui está o que abordaremos hoje, novamente com muitos gráficos, dados e modelos com muitas fontes:</p><ol><li>Qual é a situação atual?</li><li>Que opções temos?</li><li>O que é a única coisa que importa agora: o tempo</li><li>Qual é uma boa estratégia contra coronavírus?</li><li>O que devemos pensar sobre os impactos econômicos e sociais?</li></ol><p>Quando você terminar de ler o artigo, é isso que você deve lembrar:</p><p>Nosso sistema de saúde já está em colapso.<br>Os países têm duas opções: ou lutam muito agora ou sofrerão uma imensa epidemia.<br>Se eles escolherem a epidemia, centenas de milhares morrerão. Em alguns países, milhões.<br>E isso pode nem sequer eliminar mais ondas de infecções.<br>Se enfrentarmos seriamente agora, reduziremos as mortes.<br>Vamos aliviar o nosso sistema de saúde.<br>Vamos nos preparar melhor.<br>Vamos aprender.<br>O mundo nunca aprendeu tão rápido sobre nada, nunca.<br>E precisamos disso, porque sabemos muito pouco sobre esse vírus.<br>Tudo isso nos fará alcançar algo crucial: ganhar tempo.</p><p>Se escolhermos enfrentar de frente o vírus agora, a luta será repentina e depois gradual.<br>Nós ficaremos trancados por semanas, não meses.<br>Então, teremos mais e mais liberdades de volta.<br>As coisas podem não voltar ao normal imediatamente.<br>Mas estaremos perto e, eventualmente, voltará ao normal.<br>E podemos fazer tudo isso considerando o resto da economia também.</p><p>Ok, vamos lá.</p><h3>1. Qual é a situação?</h3><p>Na semana passada, mostrei esta curva:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CvzCI8woYWhOQ-rfUmd4xQ.png" /></figure><p>Ela mostrou casos de coronavírus em todo o mundo, exceto a China. Só conseguiamos discernir a Itália, o Irã e a Coreia do Sul. Então eu tive que dar um zoom no canto inferior direito para conseguirmos ver os países emergentes. Meu argumento era que eles logo se juntariam a esses três casos.</p><p>Vamos ver o que aconteceu desde então.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wJ3vJTzEFtRo5ds8Y-HVgQ.png" /></figure><p>Como previsto, o número de casos explodiu em dezenas de países. Aqui, fui forçado a mostrar apenas países com mais de 1.000 casos. Algumas coisas a serem observadas:</p><ul><li>Espanha, Alemanha, França e EUA têm mais casos que quando a Itália ordenou o bloqueio</li><li>Hoje, outros 16 países têm mais casos do que quando Hubei entrou em isolamento: Japão, Malásia, Canadá, Portugal, Austrália, República Tcheca, Brasil e Catar têm mais que Hubei, mas menos de 1.000 casos. Suíça, Suécia, Noruega, Áustria, Bélgica, Holanda e Dinamarca têm mais de 1.000 casos.</li></ul><p>Você percebe algo estranho nessa lista de países? Exceto pela China e Irã, que sofreram surtos enormes e inegáveis, e pelo Brasil e pela Malásia, todos os países desta lista estão entre os mais ricos do mundo.</p><p>Você acha que o vírus tem como alvo países ricos? Ou é mais provável que os países ricos sejam mais capazes de identificar o vírus?</p><p>É improvável que os países mais pobres não sejam afetados. O clima quente e úmido provavelmente ajuda, mas não evita um surto por si só — caso contrário, Cingapura, Malásia ou Brasil não estariam sofrendo surtos.</p><p>As interpretações mais prováveis ​​são de que ou o coronavírus demorou mais para chegar a esses países porque está menos conectado, ou já está lá, mas esses países não foram capazes de investir o suficiente em testes para saber.</p><p>De qualquer forma, se isso for verdade, significa que a maioria dos países não escapará do coronavírus. É uma questão de tempo até que eles sofram surtos e precisem tomar medidas.</p><p>Que medidas podem ser adotadas por diferentes países?</p><h3>2. Quais são as nossas opções?</h3><p>Desde o artigo da semana passada, a conversa mudou e muitos países tomaram medidas. Aqui estão alguns dos exemplos mais ilustrativos:</p><p>Na quinta-feira, 12/3, o presidente rejeitou sugestões de que as autoridades espanholas estavam subestimando a ameaça à saúde.<br>Na sexta-feira, a Espanha declararou estado de emergência.<br>No sábado, foram tomadas as seguintes medidas:</p><ul><li>Pessoas não podem sair de casa, exceto pelos principais motivos: compras de supermercado, trabalho, farmácia, hospital, banco ou companhia de seguros (com justificativa extrema)</li><li>Proibição específica de levar as crianças para passear ou ver amigos ou familiares (exceto se for para cuidar de pessoas que precisam de ajuda, mas com medidas de higiene e distância física)</li><li>Todos os bares e restaurantes estão fechados. Apenas permitido comida para levar.</li><li>Todos locais de entretenimento fechados: esportes, filmes, museus, festas municipais…</li><li>Casamentos não podem ter convidados. Funerais não podem ter mais do que apenas algumas pessoas.</li><li>O transporte <a href="https://es.wikipedia.org/wiki/Transporte_p%C3%BAblico">público</a> permanece aberto</li></ul><p>Na segunda-feira, as fronteiras terrestres foram fechadas.</p><p>Algumas pessoas vêem isso como uma ótima lista de medidas. Outras colocam as mãos para o ar e choram em desespero. Essa diferença é o que este artigo tentará reconciliar.</p><p>A linha do tempo das medidas da França é semelhante, exceto que levaram mais tempo para aplicá-las e agora são mais agressivas. Por exemplo, aluguel, impostos e serviços públicos estão suspensos para pequenas empresas.</p><h4>Medidas nos EUA e no Reino Unido</h4><p>Os EUA e o Reino Unido, assim como países como Suíça ou Holanda, se comprometeram na implementação de medidas. Essa é a linha do tempo dos EUA:</p><ul><li>Quarta-feira 11/3: proibição de viagens.</li><li>Sexta-feira 13/3: Emergência Nacional declarada. Nenhuma medida de distanciamento social.</li><li>Segunda-feira 16/3: o governo pede que o público evite restaurantes ou bares e participe de eventos com mais de 10 pessoas. Nenhuma medida de distanciamento social é realmente executada. É apenas uma sugestão.</li></ul><p>Muitos estados e cidades estão tomando iniciativa e exigindo medidas muito mais rigorosas.</p><p>O Reino Unido viu um conjunto de medidas semelhante: muitas recomendações, mas muito poucos mandatos .</p><p>Esses dois grupos de países ilustram as duas abordagens extremas para combater o coronavírus: mitigação e supressão. Vamos entender o que eles significam.</p><h4>Opção 1: Não fazer nada</h4><p>Antes de fazer isso, vamos ver como não fazer nada implicaria um país como os EUA:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tPA6p8zR_MPhejYruoy-Sg.png" /><figcaption>Esta <a href="http://gabgoh.github.io/COVID/index.html">calculadora de epidemias</a> pode ajudá-lo a entender o que acontecerá em diferentes cenários. Colei abaixo do gráfico os principais fatores que determinam o comportamento do vírus. Note que o infectado, em rosa, atinge o pico de dezenas de milhões em uma determinada data. A maioria das variáveis foi mantida no padrão. As únicas alterações materiais são R de 2,2 a 2,4 (que melhor corresponde às informações atualmente disponíveis. Veja na parte inferior da calculadora da epidemia), taxa de mortalidade (4% devido ao colapso do sistema de saúde. Veja detalhes abaixo ou no <a href="https://medium.com/tomas-pueyo/coronavirus-por-que-devemos-agir-j%C3%A1-5eaa5d337af5">artigo anterior</a>), duração da internação hospitalar (de 20 para 10 dias) e taxa de hospitalização (de 20% para 14% com base em casos graves e críticos. Observe que a OMS estima uma taxa de 20%) com base em nossa mais recente <a href="https://docs.google.com/spreadsheets/d/1uJHvBubps9Z2Iw_-a_xeEbr3-gci6c475t1_bBVkarc/edit?usp=sharing">pesquisa disponível</a>. Observe que esses números não alteram muito os resultados. A única mudança que importa é a taxa de mortalidade.</figcaption></figure><p>Se não fizermos nada: todos são infectados, o sistema de saúde fica sobrecarregado, a mortalidade explode e ~ 10 milhões de pessoas morrem (barras azuis). Em números aproximados: se ~ 75% dos americanos são infectados e 4% morrem, são 10 milhões de mortes, ou cerca de 25 vezes o número de mortes nos EUA na Segunda Guerra Mundial.</p><p>Você pode se perguntar: “Isso parece muito. Eu ouvi muito menos que isso! “</p><p>Qual o problema? Com todos esses números, é fácil ficar confuso. Mas existem apenas dois números importantes: qual parcela das pessoas contrai o vírus e adoece e qual parcela delas morre. Se apenas 25% ficarem doentes (porque os outros têm o vírus mas não apresentam sintomas, não sendo contabilizados como casos) e a taxa de mortalidade é de 0,6% em vez de 4%, você acaba com 500 mil mortes nos EUA. Ainda enorme. Mas 20 vezes menos que acima.</p><p>A taxa de mortalidade é crucial, então vamos entender melhor. O que realmente causa a morte por coronavírus?</p><h4>Como devemos interpretar a taxa de mortalidade?</h4><p>Este é o mesmo gráfico de antes, mas agora olhando para pessoas hospitalizadas em vez de infectadas e mortas:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E02pBJ24ON-Fg3pCf4FnYA.png" /></figure><p>A área em azul claro é o número de pessoas que precisariam ir ao hospital, e a azul mais escura representa aqueles que precisam ir à unidade de terapia intensiva (UTI). Você pode ver que esse número atingiria um pico acima de 3 milhões.</p><p>Agora compare com o número de leitos de UTI que temos nos EUA (50 mil hoje, que poderia ser dobrado reinventando o espaço). Essa é a linha pontilhada vermelha.</p><p>Não, não é um erro.</p><p>Essa linha pontilhada vermelha é a capacidade que temos de leitos de UTI. Todos acima dessa linha estariam em estado crítico, mas não poderiam ter acesso aos cuidados que precisam e provavelmente iriam morrer.</p><p>Em vez de leitos de UTI, você também pode olhar para os ventiladores, mas o resultado é o mesmo, uma vez que existem menos de 100 mil ventiladores pulmonares nos EUA.</p><p>Até o momento, pelo menos um hospital de Seattle é incapaz de intubar pacientes acima de 65 anos devido à escassez de equipamentos, dando a eles 90% de chance de morrer.</p><p>É por isso que houve mortes em massa em Hubei e agora pessoas estão morrendo em massa na Itália e no Irã. A taxa de mortalidade de Hubei acabou melhor do que poderia ser porque eles construíram dois hospitais quase da noite para o dia. Itália e Irã não podem fazer o mesmo; poucos outros países podem, se houver. Vamos ver o que acaba acontecendo lá.</p><p>Então, por que a taxa de mortalidade é próxima de 4%?</p><blockquote>Se 5% dos seus casos requerem cuidados intensivos e você não pode fornecê-los, a maioria dessas pessoas morre. Simples assim.</blockquote><p>Além disso, dados recentes sugerem que os casos nos EUA são mais graves do que na China. Eu gostaria que fosse só isso, mas não é.</p><h4>Danos colaterais</h4><p>Esses números mostram pessoas morrendo apenas de coronavírus. Mas o que acontece se todo o sistema de saúde for destruído por pacientes com coronavírus? Outros também morrem de outras doenças.</p><blockquote>O que acontece se você tiver um ataque cardíaco, mas a ambulância demorar 50 minutos para chegar em vez de 8 (por causa de muitos casos de coronavírus) e, quando você chegar ao hospital não há leitos na UTI nem nenhum médico disponível? Você morre.</blockquote><p>Há 4 milhões de internações na UTI nos EUA todos os anos, e 500 mil (~ 13%) deles morrem. Sem leitos na UTI, essa fração provavelmente se aproximaria de 80%. Mesmo que apenas 50% morram, em uma epidemia de um ano, você passa de 500 mil mortes por ano para 2 milhões, adicionando 1,5 milhão de mortes apenas com danos colaterais.</p><blockquote>Se o coronavírus se espalhar, o sistema de saúde dos EUA entrará em colapso e as mortes serão de milhões, talvez mais de 10 milhões.</blockquote><p>O mesmo pensamento é verdadeiro para a maioria dos países. O número de leitos e ventiladores pulmonares nas UTIs e de profissionais de saúde são geralmente semelhantes aos dos EUA ou mais baixos na maioria dos países. Coronavírus desenfreado significa colapso do sistema de saúde, e isso significa morte em massa.</p><blockquote>Um surto desenfreado de Coronavírus significa colapso dos sistemas de saúde, e isso significa mortes em massa.</blockquote><h4>Opção 2: Estratégia de Mitigação</h4><p>Agora espero que esteja claro que devemos agir. As duas opções que temos são mitigação e supressão.</p><p>Mitigação quer dizer: <em>“É impossível impedir o coronavírus agora, então vamos seguir seu curso, enquanto tentamos reduzir o pico de infecções. Vamos achatar um pouco a curva para torná-la mais gerenciável para o sistema de saúde “</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SQpe-rZo2FTV0PrPX4CCEA.png" /></figure><p>Este gráfico aparece em um <a href="https://www.imperial.ac.uk/media/imperial-college/medicine/sph/ide/gida-fellowships/Imperial-College-COVID19-NPI-modelling-16-03-2020.pdf">artigo</a> muito importante publicado no fim de semana no Imperial College London. Aparentemente, ele levou os governos do Reino Unido e dos EUA a mudar de rumo.</p><p>O gráfico é muito semelhante ao anterior. Não é o mesmo, mas é conceitualmente equivalente. Aqui, a situação “Não fazer nada” é a curva em preto. Cada uma das outras curvas é o que aconteceria se implementássemos medidas de distanciamento social cada vez mais restritivas. A curva azul mostra as medidas de distanciamento sociais mais restritivas: isolar pessoas infectadas, colocar em quarentena pessoas que possam estar infectadas e isolar idosos. Essa linha azul é amplamente <a href="https://www.gov.uk/government/publications/covid-19-guidance-on-social-distancing-and-for-vulnerable-people/guidance-on-social-distancing-for-everyone-in-the-uk-and-protecting-older-people-and-vulnerable-adults">a estratégia atual do Reino Unido contra o coronavírus</a>, embora por enquanto seja apenas uma sugestão, e não obrigatório.</p><p>Aqui, novamente, a linha vermelha é a capacidade das UTIs, agora para o Reino Unido. Novamente, essa linha está muito perto do eixo horizontal. Toda a área da curva no topo da linha vermelha representa pacientes com coronavírus que morreriam principalmente por falta de recursos na UTI.</p><p>Não apenas isso, achatando a curva, as UTIs entrarão em colapso por meses, aumentando os danos colaterais.</p><p>Você deveria estar chocado. Quando ouvimos: “Nós vamos fazer alguma mitigação”, o que realmente deve ser ouvido é: “Vamos conscientemente sobrecarregar o sistema de saúde, elevando a taxa de mortalidade em um fator de pelo menos 10 vezes”.</p><p>Se poderia imaginar que isso já é ruim o suficiente. Mas ainda não terminamos. Porque uma das principais premissas dessa estratégia é o que chamamos de “imunidade de grupo”.</p><h4>Imunidade de Grupo e Mutação de Vírus</h4><p>A idéia é que todas as pessoas que forem infectadas e se recuperarem estejam imunes ao vírus. Esta é a essência dessa estratégia: <em>“Olha, eu sei que vai ser difícil por algum tempo, mas assim que terminarmos e alguns milhões de pessoas morrerem, o resto de nós ficará imune, então o vírus vai parar de se espalhar e poderemos nos despedir do coronavírus. É melhor fazê-lo de uma vez e acabar com isso, porque nossa alternativa é fazer distanciamento social por até um ano ou arriscar que esse pico aconteça mais tarde. ”</em></p><p>Só que isso pressupõe uma coisa: que o vírus não muda muito. Se não muda muito, muitas pessoas ficam imunes e, em algum momento, a epidemia termina.</p><p>Qual a probabilidade desse vírus sofrer mutação?<br>Parece que já sofreu.</p><p>Pesquisas sugerem que a China já vivenciou <a href="https://academic.oup.com/nsr/advance-article/doi/10.1093/nsr/nwaa036/5775463">duas variações do vírus</a>: S e L. A S foi focada em Hubei e é mais mortal, mas foi a L que se espalhou pelo mundo.</p><p>Mas não só isso, esse vírus continua a sofrer mutações.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VLJZjdDOmSj0sqq9edEktg.png" /><figcaption>Este gráfico representa as diferentes mutações do vírus. Você pode ver que as variações iniciais começaram em roxo na China, mas começaram a sofrer mutações. As variações na Europa são principalmente famílias verdes e amarelas, enquanto os EUA estão vendo uma família diferente em vermelho. À medida que o tempo passa, mais dessas variações começam a aparecer.</figcaption></figure><p>Isso não deve surpreender: vírus baseados em RNA, como o coronavírus ou a gripe, tendem a sofrer mutações <a href="https://jvi.asm.org/content/92/14/e01031-17">cerca de 100 vezes mais rápidas que os baseados em DNA</a> — embora o coronavírus sofra mutação mais lentamente que os vírus influenza.</p><p>Não apenas isso, mas a melhor maneira de um vírus sofrer mutação é ter milhões de oportunidades para fazê-lo, exatamente o que uma estratégia de mitigação proporcionaria: centenas de milhões de pessoas infectadas.</p><p>É por isso que você precisa tomar a vacina da gripe todos os anos. Como existem tantas variedades de gripe, com novas versões sempre aparecendo, a vacina nunca pode proteger contra todas as variações.</p><p>Em outras palavras: a estratégia de mitigação não assume apenas milhões de mortes para países como os EUA ou o Reino Unido. Ela também aposta no fato de que o vírus não sofre muitas mutações — o que sabemos que sofre. E essa estratégia dá a ele a oportunidade de mudar. Assim, quando terminarmos com alguns milhões de mortes, poderemos estar prontos para mais alguns milhões — todos os anos. Desse jeito, o vírus corona pode se tornar um fato recorrente da vida, como a gripe, mas muitas vezes mais mortal.</p><blockquote>A melhor maneira do vírus sofrer mutação é ter milhões de oportunidades para isso, exatamente o que uma estratégia de mitigação forneceria.</blockquote><p>Então, se nem fazer nada e mitigação funcionar, qual é a alternativa? Ela se chama supressão.</p><h4>Opção 3: Estratégia de Supressão</h4><p>A estratégia de mitigação não tenta conter a epidemia, apenas achatar um pouco a curva. Enquanto isso, a Estratégia de Supressão tenta aplicar medidas rígidas para rapidamente controlar a epidemia. Especificamente:</p><ul><li>Seja rígido agora. Imponha um grande distanciamento social. Faça as coisas ficarem sob controle.</li><li>Em seguida, libere as medidas de modo que as pessoas possam gradualmente recuperar suas liberdades e ter algo similar a uma vida social e econômica normal.</li></ul><p>Como isso funciona?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s_BhMdIcQaL8AYPxbqUEbw.png" /><figcaption>Todos os parâmetros do modelo são os mesmos, exceto que existe uma intervenção por volta de agora para reduzir a taxa de transmissão para R = 0,62 e, como o sistema de saúde não está em colapso, a taxa de mortalidade cai para 0,6%. Eu defini “agora” como tendo ~ 32.000 casos ao implementar as medidas (3x o número oficial de hoje, 19/3). Observe que o resultado não é muito sensível ao R escolhido. Um R de 0,98, por exemplo, mostra 15.000 mortes. Cinco vezes mais do que com um R de 0,62, mas ainda dezenas de milhares de mortes e não milhões. Os resultados também não são muito sensíveis à taxa de mortalidade: se usamos 0,7% em vez de 0,6%, o número de mortos passa de 15.000 para 17.000. É a combinação de um R mais alto, uma taxa de mortalidade mais alta e um atraso na tomada de medidas que explodem o número de mortes. É por isso que precisamos tomar medidas para reduzir o R ​​hoje. Para esclarecimento, o famoso R0 é o valor de R no início da simulação (R no tempo 0). Ele é a taxa de transmissão quando ninguém está imune ainda e não há medidas contra ela tomadas. R é a taxa de transmissão geral.</figcaption></figure><blockquote>Sob uma Estratégia de Supressão, após a primeira onda, o número de mortos é de milhares, e não de milhões.</blockquote><p>Por quê? Porque não apenas cortamos o crescimento exponencial dos casos, mas também reduzimos a taxa de mortalidade, uma vez que o sistema de saúde não está completamente sobrecarregado. Aqui, uma taxa de mortalidade de 0,9% foi usada, em torno do que estamos vendo hoje na Coréia do Sul, que foi muito eficaz em seguir a Estratégia de Supressão.</p><p>Dito isso, fica óbvio de entender: todos deveriam seguir a Estratégia de Supressão.</p><p>Então, por que alguns governos hesitam?</p><p>Eles temem três coisas:</p><ol><li>Que esse primeiro bloqueio dure meses, o que parece inaceitável para muitas pessoas.</li><li>Que um bloqueio de meses destruiria a economia.</li><li>Que isso sequer resolva o problema, porque adiaríamos a epidemia: mais tarde, quando lançarmos as medidas de distanciamento social, as pessoas ainda serão infectadas aos milhões e morrerão.</li></ol><p>Aqui está como a equipe do Imperial College modelou as supressões. As linhas verde e amarela são diferentes cenários de supressão. Você pode ver que isso não parece bom: ainda temos picos enormes, então por que se preocupar?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*boVmE8vHID8EfzKwp2XfmA.png" /></figure><p>Chegaremos a essas perguntas em breve, mas há algo mais importante antes.</p><p>O gráfico está focando em algo completamente errado.</p><p>Apresentadas dessa maneira, as duas opções de Mitigação e Supressão, lado a lado, não parecem muito atraentes. Ou muitas pessoas morrem logo e não prejudicamos a economia hoje, ou prejudicamos a economia hoje, apenas para adiar as mortes.</p><p>Estamos ignorando o valor do tempo.</p><h3>3. O Valor do Tempo</h3><p>Em nosso post anterior, explicamos o valor do tempo em salvar vidas.<br>Todos os dias, a cada hora que esperávamos para tomar medidas, essa ameaça exponencial continuava se espalhando. <a href="https://medium.com/@tomaspueyo/coronavirus-act-today-or-people-will-die-f4d3d9cd99ca">Vimos</a> como um único dia poderia reduzir o total de casos em 40% e o número de mortos em ainda mais.</p><p>Mas o tempo é ainda mais valioso que isso.</p><p>Estamos prestes a enfrentar a maior onda de pressão sobre o sistema de saúde já vista na história. Estamos completamente despreparados, enfrentando um inimigo que não conhecemos. Essa não é uma boa posição para a guerra.</p><blockquote>E se você estivesse prestes a enfrentar seu pior inimigo, do qual sabe muito pouco, e tivesse duas opções: ou você corre em direção a ele ou foge para ganhar tempo para se preparar. Qual desses você escolheria?</blockquote><p>Isso é o que precisamos fazer hoje. O mundo despertou. A cada dia que pudermos atrasar o coronavírus, podemos nos preparar melhor. As próximas seções detalham o que esse tempo nos compraria:</p><h4>Reduzir o Número de Casos</h4><p>Com supressão eficaz, o número real de casos despencaria da noite para o dia, como vimos em Hubei na semana passada.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q2j-XhZdV5GO1rdvqij28A.png" /></figure><p>Até o momento, existem 0 novos casos diários de coronavírus em toda a região de Hubei, com 60 milhões de habitantes.</p><p>Os diagnósticos continuariam aumentando por algumas semanas, mas depois começariam a diminuir. Com menos casos, a taxa de mortalidade também começa a cair. E os danos colaterais também são reduzidos: menos pessoas morreriam de causas não relacionadas ao coronavírus, devido ao sistema de saúde estar sobrecarregado.</p><p>A supressão nos levaria a:</p><ul><li>Menos casos de Coronavírus no total</li><li>Alívio imediato para o sistema de saúde e as pessoas que o administram</li><li>Redução da taxa de mortalidade</li><li>Redução de danos colaterais</li><li>Melhora do quadro de profissionais de saúde infectados, isolados e em quarentena, podendo voltar ao trabalho. Na Itália, os profissionais de saúde representam <a href="https://www.repubblica.it/cronaca/2020/03/18/news/coronavirus_in_vigore_il_decreto_cura-italia_aumentano_i_contagi-251584599/">8% de todos os contágios</a>.</li></ul><h4>Entenda o Verdadeiro Problema: Teste e Rastreamento</h4><blockquote>No momento, o Reino Unido e os EUA não têm idéia dos seu número real de casos. Não sabemos quantos existem. Só sabemos que o número oficial não está certo e o verdadeiro é da ordem de dezenas de milhares de casos. Isso aconteceu porque não estamos testando e não estamos rastreando.</blockquote><ul><li>Tendo mais algumas semanas, poderíamos organizar a situação dos teste e começar a testar a todos. Com essas informações, finalmente saberíamos a verdadeira extensão do problema, onde precisamos ser mais agressivos e quais comunidades são seguras para serem liberadas do isolamento.</li><li>Novos métodos podem acelerar e reduzir substancialmente os custos de novos testes.</li><li>Também poderíamos estabelecer uma operação de rastreamento como foi feito na China ou em outros países do Leste Asiático, onde foi possível identificar todas as pessoas que todos os doentes tiveram contato e colocá-las em quarentena. Isso nos daria uma tonelada de conhecimento a ser usado mais tarde em medidas de distanciamento social: se soubermos onde está o vírus, poderemos focar apenas nesses locais. Isso não é nada do outro mundo: é a base do que os países do leste asiático fizeram para serem capazes de controlar o surto sem o tipo de distanciamento social draconiano que é cada vez mais essencial em outros países.</li></ul><p>As medidas desta seção (teste e rastreamento) sozinhas coibiram o crescimento do coronavírus na Coréia do Sul e controlaram a epidemia, sem uma forte imposição de medidas de distanciamento social.</p><h4>Capacidade de Construção</h4><p>Os EUA (e presumivelmente o Reino Unido) estão prestes a entrar em guerra sem armadura.</p><p>Temos máscaras por <a href="https://www.cnbc.com/2020/03/04/hhs-clarifies-us-has-about-1percent-of-face-masks-needed-for-full-blown-pandemic.html">apenas duas semanas</a>, poucos equipamentos de proteção individual (“EPI”), ventiladores pulmonares insuficientes, leitos de UTI insuficientes, ECMOs (máquinas de oxigenação sanguínea)… É por isso que a taxa de mortalidade seria tão alta em uma estratégia de mitigação.</p><p>Mas se comprarmos algum tempo, podemos mudar isso:</p><ul><li>Teremos mais tempo para comprar equipamentos necessários para uma onda de contaminação futura</li><li>Podemos rapidamente construir uma produção de máscaras, EPIs, <a href="https://www.forbes.com/sites/baldwin/2020/03/14/ventilator-maker-we-can-ramp-up-production-five-fold/#269a177f5e9a">ventiladores</a>, ECMOs e qualquer outro dispositivo crítico para reduzir a taxa de mortalidade.</li></ul><p>Em outras palavras: não precisamos de anos para conseguir nossa armadura, precisamos de semanas. Vamos fazer tudo o que pudermos para fazer nossa produção engrenar agora. Os países são mobilizados. As pessoas estão sendo criativas, como o uso da <a href="https://www.theguardian.com/business/2020/mar/17/uk-manufacturers-regear-factories-build-ventilators-nhs">impressão 3D para produzir peças de ventiladores pulmonares</a>. Nós podemos fazer isso. Só precisamos de mais tempo. Você esperaria algumas semanas para conseguir uma armadura antes de enfrentar um inimigo mortal?</p><p>Esta não é a única capacidade que precisamos. Precisamos de profissionais de saúde o mais rápido possível. Onde vamos consegui-los? Precisamos treinar pessoas para auxiliar os enfermeiros e trazer de volta médicos da aposentadoria. Muitos países já começaram, mas isso leva tempo. Podemos fazer isso em algumas semanas, mas não se tudo desmoronar.</p><h4>Diminuindo a Contagiosidade do Público</h4><p>O público está assustado. O coronavírus é novo. Há muita coisa que ainda não sabemos como fazer! As pessoas não aprenderam a parar de dar apertos de mão. Eles ainda se abraçam. Eles não abrem portas com o cotovelo. Eles não lavam as mãos depois de tocar na maçaneta da porta. Eles não desinfetam as mesas antes de sentar.</p><p>Quando tivermos máscaras suficientes, também poderemos usá-las fora do sistema de saúde. No momento, é melhor manter máscaras para os profissionais de saúde. Mas se elas não fossem escassas, as pessoas deveriam usá-los em suas vidas diárias, tornando menos provável que infectem outras pessoas quando estiverem doentes, e com o treinamento adequado também reduzir a probabilidade de os portadores serem infectados. (Enquanto isso, <a href="https://www.researchgate.net/publication/258525804_Testing_the_Efficacy_of_Homemade_Masks_Would_They_Protect_in_an_Influenza_Pandemic">usar algo é melhor que nada</a>.)</p><p>Todas essas são maneiras baratas de reduzir a taxa de transmissão. Quanto menos o vírus se propagar, menos medidas precisaremos no futuro para contê-lo. Mas precisamos de tempo para educar as pessoas sobre todas essas medidas e equipá-las.</p><h4>Entendendo o Vírus</h4><p>Sabemos muito pouco sobre o vírus. Mas toda semana, centenas de novos artigos estão chegando.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-synY5dnv0PF_T9bnFp6Cg.png" /></figure><p>O mundo está finalmente unido contra um inimigo comum. Pesquisadores de todo o mundo estão se mobilizando para entender melhor esse vírus.</p><p>Como o vírus se espalha?<br>Como o contágio pode ser mais lento?<br>Qual a participação de portadores assintomáticos?<br>Eles são contagiosos? Quanto?<br>Quais são bons tratamentos?<br>Quanto tempo ele sobrevive?<br>Em que superfícies?<br>Como as diferentes medidas de distanciamento social afetam a taxa de transmissão?<br>Qual é o custo delas?<br>Quais são as melhores práticas de rastreamento?<br>Quão confiáveis são nossos testes?</p><p>Respostas claras a essas perguntas ajudarão a tornar nossa resposta o mais direcionada possível, minimizando os danos colateriais econômicos e sociais. E eles chegarão em semanas, não em anos.</p><h4>Encontrando Tratamentos</h4><p>Não apenas isso, mas e se encontrássemos um tratamento nas próximas semanas? Qualquer dia que comprarmos nos aproxima mais disso. No momento, já existem <a href="https://www.barrons.com/articles/regenerons-ceo-on-the-search-for-a-coronavirus-treatment-51584468863">vários candidatos</a>, como <a href="https://www.theguardian.com/world/2020/mar/18/japanese-flu-drug-clearly-effective-in-treating-coronavirus-says-china">Favipiravir</a> ou <a href="https://pubmed.ncbi.nlm.nih.gov/32075365/">Cloroquina</a>. E se, em dois meses, descobríssemos um tratamento para o coronavírus? Quão idiotas pareceríamos se já tivéssemos milhões de mortes seguindo uma estratégia de mitigação?</p><h4>Compreendendo os Custos-Benefícios</h4><p>Todos os fatores acima podem nos ajudar a salvar milhões de vidas. Isso deveria ser o suficiente. Infelizmente, políticos não podem apenas pensar nas vidas dos infectados. Eles devem pensar em toda a população e medidas rígidas de distanciamento social têm impacto sobre todos.</p><p>No momento, não temos idéia de como as diferentes medidas de distanciamento social reduzem a transmissão. Também não temos idéia de quais são seus custos econômicos e sociais.</p><p>Não é um pouco difícil decidir quais medidas precisamos a longo prazo se não sabemos o custo ou benefício delas?</p><p>Algumas semanas nos dariam tempo suficiente para começar a estudá-las, entendê-las, priorizá-las e decidir quais seguir.</p><p>Menos casos, maior compreensão do problema, criação de ativos, compreensão do vírus, entendimento do custo-benefício de diferentes medidas, educação da população … Essas são algumas das principais ferramentas para combater o vírus e precisamos de apenas algumas semanas para desenvolver muitas deles. Não seria idiota nos comprometermos com uma estratégia que nos lança, despreparados, nas garras de nosso inimigo?</p><h3>4. O martelo e a dança</h3><p>Agora sabemos que a Estratégia de mitigação é provavelmente uma escolha terrível e que a Estratégia de Supressão tem uma enorme vantagem a curto prazo.</p><p>Mas as pessoas têm preocupações legítimas sobre esta estratégia:</p><ul><li>Quanto tempo realmente vai durar?</li><li>Qual será o preço?</li><li>Haverá um segundo pico tão grande como se não tivéssemos feito nada?</li></ul><p>Aqui, veremos como seria uma verdadeira estratégia de supressão. Podemos chamá-lo de Martelo e Dança.</p><h4>O martelo</h4><p>Primeiro, se age de forma rápida e agressiva. Por todas as razões mencionadas acima, dado o valor do tempo, queremos agir o mais rápido possível.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A3UPFvGBlcYZeD9twJ8c5g.png" /></figure><p>Uma das perguntas mais importantes é: quanto tempo isso vai durar?</p><p>O medo que todo mundo tem é que fiquemos trancados em nossas casas por meses seguidos, junto com o desastre econômico que se seguiu e colapsos mentais. Infelizmente, essa idéia foi cogitada no famoso artigo do Imperial College:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*boVmE8vHID8EfzKwp2XfmA.png" /></figure><p>Você se lembra deste gráfico? A área azul clara que vai do final de março ao final de agosto é o período que o artigo recomenda como o Martelo, a supressão inicial que inclui um rígido distanciamento social.</p><p>Se você é político e vê que uma opção é matar centenas de milhares ou milhões de pessoas com uma estratégia de mitigação e a outra é parar a economia por cinco meses antes de passar pelo mesmo pico de casos e mortes novamente, esses não parece opções convincentes.</p><p>Mas isso não precisa ser assim. Este artigo, seguindo políticas atuais, foi <a href="https://www.academia.edu/42242357/Review_of_Ferguson_et_al_Impact_of_non-pharmaceutical_interventions">brutalmente criticado</a> por falhas fundamentais: eles ignoram o rastreamento de contatos (uma das principais políticas implementadas na Coréia do Sul, China ou Cingapura, entre outros) ou restrições de viagens (cruciais na China), ignoram o impacto de grandes multidões …</p><p>O tempo necessário para o Martelo é de semanas, não meses.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*omWtjvbyvcyZCRm67HTXQA.png" /></figure><p>Este gráfico mostra os novos casos em toda a região de Hubei (60 milhões de pessoas) todos os dias desde 23/1. Dentro de duas semanas, o país estava começando a voltar ao trabalho. Dentro de ~ 5 semanas, estava completamente sob controle. E dentro de sete semanas o novo diagnóstico era um pingo. Lembremos que essa foi a pior região da China.</p><p>Lembre-se novamente que estas são as barras laranjas. As barras cinzas, os casos reais, tinham despencado muito antes (ver Gráfico 9).</p><p>As medidas adotadas foram bastante semelhantes às da Itália, Espanha ou França: isolamentos, quarentenas, as pessoas tiveram que ficar em casa a menos que tivessem uma emergência ou precisassem comprar alimentos, rastreamento de contatos, testes, mais camas de hospital, restrições de viagens …</p><p>Detalhes importam, no entanto.</p><p>As medidas da China foram mais fortes. Por exemplo, as pessoas eram limitadas a uma pessoa por família autorizada a sair de casa a cada três dias para comprar comida. Além disso, sua implementação foi severa. É provável que essa rigidez tenha interrompido a epidemia mais rapidamente.</p><p>Na Itália, França e Espanha, as medidas não foram tão drásticas e a implementação não está sendo tão rígida. Pessoas ainda andam nas ruas, muitas sem máscaras. É provável que isso resulte em um martelo mais lento: mais tempo necessário para controlar completamente a epidemia.</p><p>Algumas pessoas interpretam isso com<em>o “Democracias nunca serão capazes de replicar essa redução nos casos”</em>. Isto é errado.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x3PXv62OpYXunBVsKhipEg.png" /></figure><p>A Coréia do Sul teve em algum momento a pior epidemia fora da China. Agora, está amplamente sob controle. E eles fizeram isso sem pedir que as pessoas ficassem em casa. Eles conseguiram isso principalmente com testes em massa, rastreamento de contatos, quarentenas e isolamentos.</p><p>Se um surto como o da Coréia do Sul puder ser controlado sem distanciamento social obrigatório, os países ocidentais podem definitivamente aplicar um martelo que controla o surto em semanas. É uma questão de disciplina e execução.</p><p>Podemos ficar em casa por algumas semanas para garantir que milhões não morram? Eu acho que podemos. Depende do que vem a seguir, no entanto.</p><h4>A Dança</h4><p>Se martelarmos o coronavírus, em algumas semanas ele estará sob controle e em uma forma muito melhor de resolvê-lo. Agora vem o esforço a longo prazo para manter o vírus contido até que haja uma vacina.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ca-6amzSSJc3GSQOK3oBdA.png" /></figure><p>Este é provavelmente o maior e mais importante erro que as pessoas cometem ao pensar sobre esse estágio: pensam que isso os manterá em casa por meses. Este não é o caso. De fato, é provável que nossas vidas voltem aproximadamente ao normal.</p><h4>A Dança nos Países com Sucesso</h4><p>Como a Coréia do Sul, Cingapura, Taiwan e Japão têm casos há muito tempo, no caso da Coréia do Sul, milhares deles, e ainda assim não estão trancados em casa?</p><p><a href="https://www.bbc.com/news/av/world-asia-51897979/coronavirus-south-korea-seeing-a-stabilising-trend">Coronavirus: South Korea seeing a &#39;stabilising trend&#39;</a></p><p>Neste vídeo, a Ministra das Relações Exteriores da Coréia do Sul explica como seu país fez isso. Foi bem simples: testes eficientes, rastreamento eficiente, proibições de viagens, isolamento eficiente e quarentena eficiente.</p><p>Este artigo explica a abordagem de Cingapura:</p><p><a href="https://academic.oup.com/jtm/advance-article/doi/10.1093/jtm/taaa039/5804843">Interrupting transmission of COVID-19: lessons from containment efforts in Singapore</a></p><p>Quer adivinhar as medidas? As mesmas que na Coréia do Sul. No caso deles, eles complementaram com ajuda econômica àqueles em quarentena e proibições de viagens.</p><p>É tarde demais para outros países? Não. Ao aplicar o Martelo, ainda teremos uma nova chance, uma nova chance de fazer isso corretamente.</p><p>Mas e se todas essas medidas não forem suficientes?</p><h4>A Dança do R</h4><p>Eu chamo o período de meses entre o Martelo e uma vacina de Dança porque não será um período no qual as medidas duras serão sempre as mesmas. Algumas regiões verão surtos novamente, outras não por longos períodos de tempo. Dependendo de como os casos evoluírem, precisaremos reforçar as medidas de distanciamento social ou poderemos liberá-las. Essa é a dança do R: uma dança de medidas entre colocar nossas vidas de volta nos trilhos e espalhar a doença, uma economia versus saúde.</p><p>Como essa dança funciona?</p><p>Tudo gira em torno da R. Se você se lembra, R é a taxa de transmissão. No início, para um país padrão despreparado, seu valor é algo entre 2 e 3: durante as poucas semanas em que alguém está infectado, ele infecta entre 2 e 3 outras pessoas, em média.</p><p>Se o R estiver acima de 1, as infecções crescem exponencialmente em uma epidemia. Se estiver abaixo de 1, elas desaparecem.</p><p>Durante o Martelo, o objetivo é obter um R o mais próximo de zero, o mais rápido possível, para aniquilar a epidemia. Em Wuhan, calcula-se que R era inicialmente 3,9 e, após o bloqueio e quarentena centralizada, caiu para 0,32.</p><p>Mas uma vez que você muda para a fase da dança, não precisa mais fazer isso. Você só precisa que o R fique abaixo de 1. E é possível fazer isso apenas com algumas medidas simples.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QiIOSlZb_rkCvwyhWeVC2g.png" /></figure><p>Esta é uma aproximação de como diferentes tipos de pacientes respondem ao vírus, bem como de sua contagiosidade. Ninguém sabe a verdadeira forma dessa curva, mas reunimos dados de diferentes documentos para aproximar a aparência dela.</p><p>Todos os dias após a contração do vírus, as pessoas têm algum potencial de contágio. Juntos, todos esses dias de contágio somam 2,5 contágios em média.</p><p>Acredita-se que já existam contágios durante a fase “sem sintomas”. Depois disso, conforme os sintomas aumentam, geralmente as pessoas vão ao médico, são diagnosticadas e sua contagiosidade diminui.</p><p>Por exemplo, no início você tem o vírus, mas não apresenta sintomas e se comporta normalmente. Quando você fala com pessoas, você espalha o vírus. Quando você toca o nariz e abre a maçaneta da porta, as próximas pessoas que abrem a porta e tocam o nariz são infectadas.</p><p>Quanto mais o vírus cresce dentro de você, mais infeccioso você se torna. Então, assim que sintomas começam a se apresentar, você pára lentamente de ir ao trabalho, fica de cama, usa máscara ou vai ao médico. Quanto maiores os sintomas, mais você se distancia socialmente, reduzindo a propagação do vírus.</p><p>Depois de hospitalizado, mesmo sendo muito contagioso, você não tende a espalhar o vírus, uma vez que está isolado.</p><p>É aqui que você pode ver o enorme impacto de políticas como as de Cingapura ou Coréia do Sul:</p><ul><li>Se as pessoas são testadas em massa, elas podem ser identificadas antes mesmo de apresentarem sintomas. Estando em quarentena, elas não podem espalhar a doença.</li><li>Se as pessoas são treinadas para identificar seus sintomas mais cedo, elas reduzem o número de dias em azul e, portanto, sua contagiosidade geral.</li><li>Se as pessoas são isoladas assim que apresentam sintomas, os contágios da fase laranja desaparecem.</li><li>Se as pessoas são educadas sobre distância pessoal, uso de máscaras, lavagem das mãos ou desinfecção de espaços, elas espalham menos vírus por todo o período.</li></ul><p>Somente quando tudo isso falha é que precisamos de medidas mais pesadas de distanciamento social.</p><h4>A Taxa de Retorno do Distanciamento Social</h4><p>Se, com todas essas medidas, ainda estamos muito acima de R = 1, precisamos reduzir o número médio de pessoas que cada pessoa entra em contato.</p><p>Existem maneiras muito baratas de fazer isso, como proibir eventos com mais de um certo número de pessoas (por exemplo, 50, 500) ou pedir que as pessoas trabalhem em casa quando puderem.</p><p>Outros são muito, muito mais caros, como fechar escolas e universidades, pedir a todos para ficar em casa ou fechar bares e restaurantes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L9tfOUmcFpkpLSRqj4rIZA.png" /></figure><p>Este gráfico foi inventado porque não existe até hoje. Ninguém fez pesquisas suficientes sobre isso ou reuniu todas as medidas de maneira a compará-las.</p><p>É lamentável, porque é o gráfico mais importante que os políticos precisariam para tomar decisões. Ilustra o que realmente está passando por suas mentes.</p><p>Durante o período do Martelo, eles querem manter o valor de R o mais baixo possível enquanto continuam toleráveis. Em Hubei, eles chegaram a 0,32. Talvez não precisemos disso: talvez apenas para 0,5 ou 0,6.</p><p>Mas durante o período da Dança do R, eles querem pairar o mais próximo possível de 1, mantendo-se abaixo dela a longo prazo.</p><p>O que isso significa é que, quer os líderes percebam ou não, o que eles estão fazendo é:</p><ul><li>Listar todas as medidas possíveis para reduzir o valor de R</li><li>Ter idéia do benefício de aplicá-las: a redução em R</li><li>Ter noção do seu custo: o custo econômico e social</li><li>Classificar iniciativas com base em seu custo-benefício</li><li>Escolher os que oferecem a maior redução de R até 1, pelo menor custo.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Op8pWTdn-maYMPAKAicsaA.png" /></figure><p>Inicialmente, a confiança deles nesses números será baixa. Mas ainda é assim que eles estão — e deveriam estar pensando sobre isso.</p><p>O que é preciso fazer é formalizar o processo: entenda que este é um jogo de números no qual precisamos aprender o mais rápido possível onde estamos no R, o impacto de todas as medidas na redução do R e seus custos sociais e econômicos.</p><p>Somente então seremos capazes de tomar uma decisão racional sobre as medidas que devem tomar.</p><h4>Conclusão: Ganhemos tempo</h4><p>O coronavírus ainda está se espalhando por quase todos os lugares. 152 países têm casos. Estamos contra o relógio. Mas não precisamos estar: existe uma maneira clara de se pensar a respeito do problema.</p><p>Alguns países, especialmente aqueles que ainda não foram afetados pelo coronavírus, podem estar se perguntando: isso vai acontecer a gente? A resposta é: provavelmente já está acontecendo. Vocês simplesmente não perceberam. Quando realmente acontecer, os seus sistemas de saúde estarão em uma situação ainda pior do que nos países ricos onde os sistemas de saúde são fortes. Melhor prevenir do que remediar, considere tomar medidas agora.<br>Para os países onde o coronavírus já está presente, as opções são claras.</p><p>Por um lado, os países podem seguir o caminho da mitigação: criar uma epidemia em massa, sobrecarregar o sistema de saúde, levar a morte de milhões de pessoas e liberar novas mutações desse vírus na natureza.</p><p>Por outro lado, os países podem lutar. Eles podem ficar presos por algumas semanas para ganhar tempo, criar um plano de ação educado e controlar o vírus até que se tenha uma vacina.</p><p>Os governos de todo o mundo hoje, incluindo alguns como EUA, Reino Unido, Suíça ou Holanda, até agora escolheram o caminho de mitigação.</p><p>Isso significa que eles estão desistindo sem lutar. Eles veem outros países lutando com sucesso, mas dizem: <em>“Não podemos fazer </em><strong><em>isso</em></strong><em>!”</em></p><p>E se Churchill tivesse dito a mesma coisa?<em> “Os nazistas já estão em toda parte na Europa. Nós não podemos lutar contra eles. Vamos desistir. “</em> É o que muitos governos ao redor do mundo estão fazendo hoje. Eles não estão se dando uma chance de combater a doença. Temos que exigir.</p><h4>Compartilhe</h4><p>Infelizmente, milhões de vidas ainda estão em jogo. Compartilhe este artigo — ou outro semelhante — se você acha que isso pode mudar a opinião das pessoas. Os líderes precisam entender isso para evitar uma catástrofe. O momento de agir é agora.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3313cefa9dfb" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>