<?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 Bárbara Silveira Fraga on Medium]]></title>
        <description><![CDATA[Stories by Bárbara Silveira Fraga on Medium]]></description>
        <link>https://medium.com/@barbarasilveiraf?source=rss-454696e69cba------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*ZGIqkjzkfFWeexty.</url>
            <title>Stories by Bárbara Silveira Fraga on Medium</title>
            <link>https://medium.com/@barbarasilveiraf?source=rss-454696e69cba------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 09:29:38 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@barbarasilveiraf/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[O Notion AI chegou!!]]></title>
            <link>https://medium.com/a3data/o-notion-ai-chegou-d942ec0bcbca?source=rss-454696e69cba------2</link>
            <guid isPermaLink="false">https://medium.com/p/d942ec0bcbca</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[notion-ai]]></category>
            <category><![CDATA[notion]]></category>
            <dc:creator><![CDATA[Bárbara Silveira Fraga]]></dc:creator>
            <pubDate>Sun, 12 Feb 2023 21:48:03 GMT</pubDate>
            <atom:updated>2023-02-12T21:48:03.608Z</atom:updated>
            <content:encoded><![CDATA[<p>Compartilhando as minhas primeiras impressões.</p><p>Caso você não conheça, o Notion é uma ferramenta de organização e distribuição de tarefas. Ele é excelente, uso ele diariamente para organização pessoal e profissional. Eu indico muito!</p><p>Em novembro de 2022 o Notion AI foi lançado para ser uma aliada na escrita e composição de ideias. E desde então, ele vem sendo liberado, aos poucos, para seus usuários.</p><p>O Notion AI chegou para mim na última semana!!! Com isso, resolvi escrever um post para compartilhar as minhas percepções!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/460/1*10T3RSIrrGH6FbK_mHgmMA.gif" /><figcaption>Recebi o Notion AI</figcaption></figure><p>Eu fiquei surpreendida com a quantidade tarefas que o Notion AI disponibiliza… Veja a imagem abaixo as várias opções: tem tarefas, simples, como realizar uma tradução de texto até um brainstorming de ideias. Outra funcionalidade que achei super interessante é a mudança do tom, você pode pedir pra IA modificar seu texto para ele seja mais amigável, profissional, confiante, casual ou direto. Também podemos pedir para a IA melhorar um texto que escrevemos.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/747/1*cl-zW0kpTvf37OJnPqlCpg.png" /><figcaption>O que podemos fazer com o Notion AI</figcaption></figure><p>Agora vou fazer alguns testes para mostrar mostrar o funcionamento para vocês:</p><h3>Ask AI Something</h3><blockquote>Pedi para a IA gerar as tarefas da semana:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/932/1*9DzkOvWBVoLG4-xeAW-PfQ.png" /></figure><p>Ela gerou a lista abaixo. Com dicas para que a minha semana seja produtiva.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/913/1*9JigCcopP89w0d5dfIPP0Q.png" /></figure><h3>Pros e Contras</h3><blockquote>Pedi para a IA gerar pros e contras do Python</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/990/1*LOjzdr46Oddz91NtDjmynQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/937/1*CVGBhdhZzxIkI3iNSSq42Q.png" /></figure><p>Observe que ele lista todos os pros e contras, sem citar nenhuma fonte… A pergunta é: todos estes itens são verdadeiros? Note que, ele afirmou que o Python não é amplamente usado em ambientes empresariais, o que não é certo, como é mostrado neste <a href="https://www.analyticssteps.com/blogs/top-programming-languages-business-applications">aqui</a>. Então, <strong>cuidado,</strong> nem tudo que a IA falar é verdade! Use com moderação.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*LUmObSr9flp5-mcmDW2RdA.gif" /><figcaption>Tome cuidado ao usar o Notion AI, igual esse macaquinho foco.</figcaption></figure><h3>Sumarização</h3><p>Colei o texto da <a href="https://forbes.com.br/forbes-tech/2023/02/como-o-google-ficou-para-tras-no-boom-do-ia/">reportagem </a>da Forbes e pedi para sumarizar. Gostei do resultado que vi. É texto bem grande e ele fez, na minha opinião, uma sumarização adequada.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/956/1*2dwRFe-BY6Jn5ZBbxYnzlg.png" /></figure><h3>Mudança de Tom</h3><p>Peguei o texto anterior e pedi para alterar para um tom amigável, olhe o resultado:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/906/1*zJ92tb6xrUY88Vj0UCrkGw.png" /><figcaption>Tom Amigável</figcaption></figure><p>Olha o resultado do direto.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/911/1*iBrNLYrmAumAwTTB10el_Q.png" /><figcaption>Tom Direto</figcaption></figure><h3>Escreva uma história</h3><p>Pedi para a AI criar uma história criativa entre o Python e R e olhem que interessante o resultado na imagem abaixo.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*7MPrux9alYP883dakZkTuw.png" /><figcaption>História entre o Python e o R</figcaption></figure><h3>Conclusão</h3><p>O Notion AI é bem interessante, passei horas testando e gostei dos resultados. Entretanto, precisamos usar este tipo de ferramenta com cautela, sem esquecer de checarmos se as informações trazidas são corretas antes de compartilharmos. Caso contrário, essa ferramenta pode virar uma fonte de desinformação.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d942ec0bcbca" width="1" height="1" alt=""><hr><p><a href="https://medium.com/a3data/o-notion-ai-chegou-d942ec0bcbca">O Notion AI chegou!!</a> was originally published in <a href="https://medium.com/a3data">A3data</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Recreating the images of Disney Princesses with AI]]></title>
            <link>https://medium.com/geekculture/recreating-the-images-of-disney-princesses-with-ai-b69c9f18c30d?source=rss-454696e69cba------2</link>
            <guid isPermaLink="false">https://medium.com/p/b69c9f18c30d</guid>
            <category><![CDATA[disney]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[dalle-2]]></category>
            <category><![CDATA[mage]]></category>
            <dc:creator><![CDATA[Bárbara Silveira Fraga]]></dc:creator>
            <pubDate>Mon, 19 Dec 2022 19:31:44 GMT</pubDate>
            <atom:updated>2023-01-15T17:49:31.987Z</atom:updated>
            <content:encoded><![CDATA[<p>A great novelty this year were models that generate images using Artificial Intelligence.</p><p>In this article we are going to recreate images of some of the Disney princesses using Mage.Space (<a href="https://www.mage.space/">https://www.mage.space/</a>) and DaLLE <a href="https://labs.openai.com/">https://labs.openai.com/</a>.</p><p>The descriptions of the princesses we use Google searching for: “&lt;princess&gt; physical description” or “&lt;princess&gt; physical appearance”.</p><p>We made variations of this search in English and Portuguese, to generate the images, we also varied the descriptions in English and Portuguese. Then we choose the ones we find most interesting.</p><p>Let’s meet Disney princesses using AI!</p><h4>Cinderella</h4><p>We used the following description for Cinderella:</p><blockquote>Cinderella is a young woman with medium-length strawberry-blonde hair, blue eyes, and fair complexion.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/572/1*qnkTNC0oqZDUwPGx7F-hdg.png" /><figcaption>Disney Princess | Princess AI</figcaption></figure><p>It’s pretty similar, isn’t it? A real-life Cinderella version!!</p><h4>Elsa</h4><p>We used the following description for Elsa:</p><blockquote>Elsa is a beautiful young woman, has a tall and slender build, blue eyes, rosy cheeks, thin pink lips, a small nose, long, platinum-blonde hair, and pale skin with a light dusting of freckles (a trait she shares with her sister Anna, though less prominent).</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/1*x4lT0kYm3MlorW3faAuXxg.png" /><figcaption>Disney Princess | Princess AI</figcaption></figure><p>Elsa was one of the most similar to me! Except for the droopy look, AI Elsa is kind of tired! haha</p><h4>Snow white</h4><p>We used the following description for Branca de Neve:</p><blockquote>Snow White is depicted with black bobbed hair, brown eyes and skin as white as snow. She wears subtle make-up and rouge. The red color of her lips and cheeks resembles the red color of the apple which sends her into a deep sleep.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/572/1*qFGvl_H9H0leTJG8jRQpdw.png" /><figcaption>Disney Princess | Princess AI</figcaption></figure><p>I loved this Snow White Human version! I thought it looked a little like Kristen Stewart.</p><h4>Moana</h4><p>We used the following description for Moana:</p><blockquote>Moana is slim yet slightly muscular, with brown skin, brown eyes, a small nose and waist-length wavy black hair. Her clothing consists of a coconut fibre skirt, mainly beige with golden sun patterns and a red sash around her waist.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/571/1*nYoYCKwosttZ4fochvxozw.png" /><figcaption>Disney Princess | Princess AI</figcaption></figure><p>Moana was VERY the same!! What was different was just the shape of the face, the smile and the look. I found the best!</p><h4>Aurora</h4><p>We used the following description for Aurora:</p><blockquote>Aurora is a supremely beautiful young woman, who was magically blessed with waist-length, wavy, golden hair like sunshine, violet eyes, and lips that shame the red rose. She has a tall, slender figure and her skin is fair and flawless.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/575/1*YUuG6Q-EtEyi5SfRDzrq0w.png" /><figcaption>Disney Princess | Princess AI</figcaption></figure><p>Aurora, with a more modern version!! A princess without high heels…I loved it!</p><h4>Ariel</h4><p>We used the following description for Ariel:</p><blockquote>Ariel’s most defining feature is her long, flowing, thick, bright red hair. From the waist down, she has a green horizontal fish-like tail with sea-green scales and sea-foam green fins and a matching V-shaped waist-line resembling fish-lips that reveals her midriff and her belly button.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/577/1*wdNRmVEL57SzLPDmkCQFpA.png" /><figcaption>Disney Princess | Princess AI</figcaption></figure><p>Ariel changed her look in the AI version.</p><h4>Pocahontas</h4><p>We used the following description for Pocahontas:</p><blockquote>Her dark skin and black hair have become white and brown respectively, and her facial features more delicate. She retains the chaste, high-necked Jacobian costume of the engraving (which may have covered the real Pocahontas’s tattoos), but her jacket is softer and more feminine.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/572/1*vbENjhd-ahDQLA6iAQ9UFQ.png" /><figcaption>Disney Princess | Princess AI</figcaption></figure><p>Pocahontas got a more formal version!</p><h4>Tiana</h4><p>We used the following description for Tiana:</p><blockquote>Tiana is a beautiful 19-year-old with African-American heritage. She is tall and slender, with a chiseled figure, has medium-length black hair usually tied in a low ponytail, hazel eyes, and a bright smile. She has dimples.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/573/1*RqAVqL5y8cwKLSb_T3WSDQ.png" /><figcaption>Disney Princess | Princess AI</figcaption></figure><p>Tiana got a human version of the princess!</p><p>So, what did you think of the versions of these Princesses?!?!<br>Enter the sites and manage other versions of these princesses, it’s really cool!! I loved it!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b69c9f18c30d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/geekculture/recreating-the-images-of-disney-princesses-with-ai-b69c9f18c30d">Recreating the images of Disney Princesses with AI</a> was originally published in <a href="https://medium.com/geekculture">Geek Culture</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Whisper e a revolução nos modelos de transcrição e tradução de fala.]]></title>
            <link>https://medium.com/a3data/whisper-e-a-revolu%C3%A7%C3%A3o-nos-modelos-de-transcri%C3%A7%C3%A3o-e-tradu%C3%A7%C3%A3o-de-fala-cdbc480905b3?source=rss-454696e69cba------2</link>
            <guid isPermaLink="false">https://medium.com/p/cdbc480905b3</guid>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[whisper]]></category>
            <category><![CDATA[openai]]></category>
            <dc:creator><![CDATA[Bárbara Silveira Fraga]]></dc:creator>
            <pubDate>Mon, 12 Dec 2022 15:44:03 GMT</pubDate>
            <atom:updated>2022-12-12T15:44:03.938Z</atom:updated>
            <content:encoded><![CDATA[<h3>A Open AI “ataca novamente”</h3><p>Whisper é um modelo de reconhecimento de fala de uso geral. Ele é o que chamamos de um modelo multitarefa, que pode realizar: reconhecimento de fala multilíngue (speech-to-text), tradução da fala e identificação de idioma, pois foi treinado com um grande e diversificado dataset.</p><p>O Whisper é treinado com mais de 680.000 horas de dados multilíngues coletados da web sendo 117.000 horas de 96 outros idiomas que não o inglês. O conjunto de dados também inclui 125.000 horas de dados de tradução de várias linguagens para inglês (X → en). No entanto, o conjunto de dados de treinamento para Whisper não foi disponibilizado.</p><p>O modelo possui 1.6 bilhões de parâmetros e funciona para 97 idiomas.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/256/0*iFwg4Q7HeaK_SKYi" /><figcaption>Esse modelo é incrível e de graça!!</figcaption></figure><p>O código e modelo são abertos ao público e você pode vê-lo neste <a href="https://github.com/openai/whisper">link</a>.</p><p>Esse modelo foi lançado no final de setembro de 2022 e agora, na primeira semana de dezembro, recebeu uma atualização: Whisper 2.0. <a href="https://github.com/openai/whisper/commit/4179ed2475cc84cba66868b516232ef1b74dacdf">Link </a>da nova versão.</p><p>Essa nova versão manteve a arquitetura original, mas foi treinada com mais <em>epochs</em>, o que melhorou ainda mais seu resultado.</p><p>Esse modelo se aproxima de uma transcrição realizada por um ser humano! É super robusto, se você não conhece, vale muito a pena testar. Neste <a href="https://openai.com/blog/whisper/">link </a>você encontra exemplo do funcionamento. <a href="https://huggingface.co/spaces/aadnk/whisper-webui">Aqui </a>você pode testar.</p><p>A imagem abaixo mostra o resultado de um teste meu. Peguei este <a href="https://www.youtube.com/watch?v=0K6eZEiPGt4&amp;ab_channel=SejaUmaPessoaMelhor">vídeo</a> do canal “Seja uma pessoa melhor” e pedi para o Whisper transcrever para mim, olhem o resultado, ficou muito bom!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3pboJ_LZ0rejqiuZ3ogABg.png" /><figcaption>Meu Teste na ferramenta que sugeri</figcaption></figure><p>Você também pode gravar sua voz e pedir para ele transcrever pra você.</p><p>E o melhor de tudo isso: É de graça! Você pode usar nas suas aplicações sem pagar nada.</p><p>Além disso, se você tem o receio do Whisper não funcionar tão bem para o seu contexto, você pode melhorá-lo (especializá-lo), fazendo o processo de <em>fine tunning</em>.<br>Neste <a href="https://github.com/huggingface/community-events/tree/main/whisper-fine-tuning-event#whisper-fine-tuning-event-">link </a>tem exemplos de como você pode fazer. É bem simples!</p><p>Todos esses grandes modelos são gerados com muita pesquisa e estudos científicos que são representados por <em>papers</em> (artigos). O paper orignal do Whisper é <a href="https://cdn.openai.com/papers/whisper.pdf">https://cdn.openai.com/papers/whisper.pdf</a>. Nesse link, você consegue ler mais detalhes deste trabalho tão incrível, incluindo o desenho da arquitetura de funcionamento:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xm699wLzS9TYyyQaoQ1HVw.png" /><figcaption>Arquitetura do artigo original do Whisper.</figcaption></figure><p>Quer executar o Whisper nas suas aplicações, siga o tutorial deste <a href="https://www.assemblyai.com/blog/how-to-run-openais-whisper-speech-recognition-model/">link</a>.</p><p>Há uma discussão entre a comunidade que o Whisper + ChatGPT irá substituir o Google… qual sua opinião sobre isso?</p><p>Aah, você não sabe o que é ChatGPT? É o mais novo lançamento da OpenAI, um bot que conversa com você sobre vários assuntos, conta piadas, responde a dúvidas, resolve problemas matemáticos e até da dicas amorosas… É bem simples testa-lo, basta acessar este link: <a href="https://chat.openai.com/chat">https://chat.openai.com/chat</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*g0f9vyFhN6stelst" /><figcaption>Minha reação ao conhecer o ChatGPT</figcaption></figure><p>O que será que vem por ai? O que 2023 nos espera?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/0*yj4AjJS0zFo5YRqo" /><figcaption>Minha mente neste momento…</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cdbc480905b3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/a3data/whisper-e-a-revolu%C3%A7%C3%A3o-nos-modelos-de-transcri%C3%A7%C3%A3o-e-tradu%C3%A7%C3%A3o-de-fala-cdbc480905b3">Whisper e a revolução nos modelos de transcrição e tradução de fala.</a> was originally published in <a href="https://medium.com/a3data">A3data</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Qual é o seu IKIGAI?]]></title>
            <link>https://medium.com/a3data/qual-%C3%A9-o-seu-ikigai-628ef40c85d9?source=rss-454696e69cba------2</link>
            <guid isPermaLink="false">https://medium.com/p/628ef40c85d9</guid>
            <category><![CDATA[foco]]></category>
            <category><![CDATA[motivação]]></category>
            <category><![CDATA[gestão]]></category>
            <category><![CDATA[ikigai]]></category>
            <dc:creator><![CDATA[Bárbara Silveira Fraga]]></dc:creator>
            <pubDate>Tue, 29 Nov 2022 15:16:13 GMT</pubDate>
            <atom:updated>2022-11-29T15:16:13.482Z</atom:updated>
            <content:encoded><![CDATA[<p>Esse conceito fez tanto sentido para mim, que resolvi compartilhar!</p><p>Primeiramente, o que é o <strong>IKIGAI</strong>? É um conceito japonês que significa “uma razão para ser”; é aquilo que te motiva, te move, o que direciona seu caminho!</p><p>No IKIGAI temos 4 pilares:</p><ul><li>Aquilo que você <strong>AMA</strong></li><li>Aquilo que você é <strong>BOM</strong></li><li>Aquilo que você pode ser <strong>PAGO</strong></li><li>Aquilo que o mundo <strong>PRECISA</strong></li></ul><p>Quando juntamos aquilo que amamos e o que somos bom em fazer temos nossa <strong>Paixão</strong>; combinando o que amamos com o que o mundo precisa é a <strong>Missão</strong>; se é aquilo que o mundo precisa e você é pago por isso é a <strong>Vocação</strong>; se juntamos o que você é bom com aquilo que você é pago temos a <strong>Profissão.</strong></p><p>E se combinarmos todas essas dimensões, ao mesmo tempo, temos nosso IKIGAI! A imagem abaixo ilustra bem essa intercessão.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*pxbWYPxxfWoGHSe3iNOwOg.png" /></figure><p>É interessante notar que se você contempla apenas alguns pilares, faltará algo. Por exemplo, se você tem apenas a profissão e a vocação, mas não tem a paixão e nem a missão, então o trabalho será confortável mas existirá um sentimento de vazio.</p><p>Convido você a pensar no seu IKIGAI! Será que você está conseguindo usar seu IKIGAI na sua vida pessoal/profissional?</p><p>Abaixo, deixo uma imagem para ajudar na sua reflexão do seu IKIGAI, daquilo que te motiva.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/1*ebVcr7j08zy6lNBot5tOSQ.png" /></figure><p>Espero que este post contribua para você!! ❤</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=628ef40c85d9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/a3data/qual-%C3%A9-o-seu-ikigai-628ef40c85d9">Qual é o seu IKIGAI?</a> was originally published in <a href="https://medium.com/a3data">A3data</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[R ou Python? Utilizando IA para descobrir quem é melhor…]]></title>
            <link>https://medium.com/a3data/r-ou-python-utilizando-ia-para-descobrir-quem-%C3%A9-melhor-bf66db1e1ac1?source=rss-454696e69cba------2</link>
            <guid isPermaLink="false">https://medium.com/p/bf66db1e1ac1</guid>
            <dc:creator><![CDATA[Bárbara Silveira Fraga]]></dc:creator>
            <pubDate>Sun, 28 Aug 2022 17:30:45 GMT</pubDate>
            <atom:updated>2022-08-28T17:30:45.004Z</atom:updated>
            <content:encoded><![CDATA[<p>Essa história é polêmica entre os Cientistas de Dados…</p><p>Há sempre uma discussão de qual linguagem é melhor para Ciência de Dados... R ou Python?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/0*Pmkvo3MySYKOnwQd" /><figcaption>Quando alguém quer converter uma pessoa para linguagem prefererida</figcaption></figure><p>Na minha opinião, a melhor linguagem é aquela que resolve o seu problema de forma mais rápida, permitindo que você consiga gerar valor para o negócio. Mas, nesse post, não quero dar a minha opinião sobre qual linguagem é melhor… apesar de preferir o Python… Amado python… <strong>Pyamado</strong>… hahaha</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*70AYZwsW_SC3-ilo" /><figcaption>Pyamado ❤</figcaption></figure><p>Aqui vamos utilizar modelos de IA para estabelecer um diálogo entre as duas linguagens, além de dar uma forma/desenho para ambas! SIM, isso é possível!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*ifGwzOJMB2MhXyz4" /><figcaption>Curiosos com esse post??</figcaption></figure><p>Então chega de introdução e bora ver o conteúdo que preparamos!</p><p>Utilizamos o <a href="https://labs.openai.com/"><strong>DALL-E</strong></a> para criar as imagens que representam o Python e o R e para a geração do texto utilizamos o <a href="https://beta.openai.com/playground"><strong>OpenAI Playground</strong></a>.</p><p>A imagem abaixo é um exemplo das criações do DALL-E. Basta você escrever um texto (como se fosse um pedido) e ele cria imagens inéditas utilizando IA.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J69sB2FjNtEjkFulKm6lOA.png" /><figcaption>Imagem gerada pelo DALL-E</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*phgjcLb7-wO6ZniKNm7Xog.png" /><figcaption>Imagem gerada pelo DALL-E</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q5IyOxJ1Ie4-jqUvGy2bxA.png" /><figcaption>Imagem gerada pelo DALL-E</figcaption></figure><p>Gerei tantas versões, que até esgostaram minhas tentativas… rsrs<br>Também pedi pro DALL-E criar uma imagem de um estatístico que gosta de R, veja o resultado:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-jVl1MBhQjC8WWuTb8Qkfg.png" /><figcaption>Imagem gerada pelo DALL-E</figcaption></figure><p>Também pedi para gerar a personificação do Python:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HYbpED32NULTtoAYfJ5OAQ.png" /><figcaption>Imagem gerada pelo DALL-E</figcaption></figure><p>Gerei diversas imagens e confesso que foi bem divertido!! Uma informação importante é que você pode rodar o mesmo texto e ter imagens diferentes.</p><p>Para escrever o diálogo entre as linguagens utilizei o OpenAI e submeti a seguinte sentença: “Write a comic dialogue between R and Python programming languages” e ele retornou o diálogo abaixo:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/593/1*3rP_Zt-pOzBHBzakS2RG4A.png" /><figcaption>Texto gerado pela OpenAI API</figcaption></figure><p>Você pode rodar outras vezes e terá resultados diferentes, como podemos verificar na figura abaixo:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XjArucrauzSrxgzURmMV8Q.png" /><figcaption>Texto gerado pela OpenAI API</figcaption></figure><p>Depois dessa brincadeira, juntei tudo em quadrinho de diálogo entre o R e o Python. Veja como ficou:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SJLkAML7Q1MuCcMXrh1D-w.png" /><figcaption>Quandrinho entre Python e R usando imagens geradas pelo DALL-E e diálogo gerado pelo OpenAI API</figcaption></figure><p>Foi muito divertido explorar essas ferramentas e elas são SUPER simples de utilizar. Imagine quantas aplicações interessantes podemos criar… imagine o que o <strong>futuro</strong> nos reserva?</p><p>Esse post foi inspirado pelo artigo do <a href="https://medium.com/u/819323b399ac">Jim Clyde Monge</a> que escreveu um medium sobre o diálogo entre as frutas , veja neste <a href="https://medium.com/mlearning-ai/how-i-use-ai-to-create-comic-in-under-5-minutes-for-free-9c863e66e8c9">link</a>.</p><p>Gostou? Compartilha com os colegas!! Em breve teremos mais conteúdos interessantes.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf66db1e1ac1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/a3data/r-ou-python-utilizando-ia-para-descobrir-quem-%C3%A9-melhor-bf66db1e1ac1">R ou Python? Utilizando IA para descobrir quem é melhor…</a> was originally published in <a href="https://medium.com/a3data">A3data</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Encontrando soluções de Machine Leaning mais rapidamente]]></title>
            <link>https://medium.com/a3data/encontrando-solu%C3%A7%C3%B5es-de-machine-leaning-mais-rapidamente-51ca00cbd0f4?source=rss-454696e69cba------2</link>
            <guid isPermaLink="false">https://medium.com/p/51ca00cbd0f4</guid>
            <dc:creator><![CDATA[Bárbara Silveira Fraga]]></dc:creator>
            <pubDate>Sun, 04 Jul 2021 14:01:25 GMT</pubDate>
            <atom:updated>2021-07-04T14:01:25.503Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Aqui listamos bibliotecas Python que vão te ajudar a explorar mais possibilidades de modelos e assim encontrar rapidamente o melhor para o seu problema.</em></p><p>Problemas de Data Science não se resumem a treinar modelos. Mas se você já chegou nessa parte, sabe que existem uma infinidade de modelos para resolver o seu problema.</p><p>Mas qual modelo de <em>Machine Learning (ML) </em>é melhor para resolver o seu problema? São tantos modelos… Quando pensamos em problemas supervisionados, temos, por exemplo: modelos lineares; <em>SVM; SGD; Nearest Neighbors; Gaussian; Naive Bayes; Decision Tree</em>, etc… Mas qual será o melhor para os dados que você tem?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/292/1*J3V3-rcHqsfcVn8SuqmNnw.gif" /><figcaption>Qual modelo escolher???</figcaption></figure><p>Existem diversas bibliotecas que nos ajudam na execução de vários modelos simultaneamente. Algumas fazem chamadas de vários algoritmos sem uma “inteligência” por trás. Outras utilizam técnicas de AutoML para fazer uma decisão mais otimizada. A seguir iremos listar bibliotecas <strong>Python </strong>que podem te ajudar, e muito, na construção do melhor modelo para o seu problema.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/414/1*Fn8e4JC6VD1HqzicHUY5CQ.gif" /><figcaption>Felicidade <em>explícita</em> ao descobrir essas bibliotecas!!</figcaption></figure><h4>1. Autogluon</h4><p>O AutoGluon é uma biblioteca de AutoML que te permite encontrar, com um bom desempenho computacional, soluções de ML mais rápidas para seus problemas.</p><p>Ele funciona para texto, imagem e dados tabulares.</p><p>Também possui ajuste automático de hiperparâmetros, seleção/combinação de modelos, pesquisa de arquitetura e processamento de dados.</p><p>Documentação:<br><a href="https://auto.gluon.ai/stable/index.html">https://auto.gluon.ai/stable/index.html</a></p><h4>2. Evalml</h4><p>É uma biblioteca AutoML que cria, otimiza e avalia pipelines de aprendizado de máquina usando funções de objetivo específicas do domínio.</p><p>Documentação:<br><a href="https://evalml.alteryx.com/en/stable/">https://evalml.alteryx.com/en/stable/</a></p><h4>3. LazyPredict</h4><p>LazyPredict ajuda a construir muitos modelos básicos sem muito código e ajuda a entender quais modelos funcionam melhor sem qualquer ajuste de parâmetro.</p><p>Documentação:<br><a href="https://lazypredict.readthedocs.io/en/latest/readme.html">https://lazypredict.readthedocs.io/en/latest/readme.html</a></p><h4>4. Mljar</h4><p>Esta biblioteca constrói um pipeline completo de Machine Learning. Entre suas funcinalidades estão: feature engineering; seleção e tuning de algoritmos; documentação automática; explicabilidade de modelos.</p><p>Documentação:<br><a href="https://mljar.com/">https://mljar.com/</a></p><h4>5. Pycaret</h4><p>Esta biblioteca muito completa, possui desde o pré-processamento dos dados até seu deploy.</p><p>Documentação:<br><a href="https://pycaret.org/">https://pycaret.org/</a></p><h4>6. Tpot</h4><p>É uma ferramenta de AutoML que otimiza o pipeline de <em>machine learning</em> usando programação genética.</p><p>Documentação:<br><a href="http://epistasislab.github.io/tpot/">http://epistasislab.github.io/tpot/</a></p><h4>7. Auto-Keras</h4><p>É uma biblioteca de AutoML construída sobre a estrutura de deep learning Keras para encontrar o melhor modelo para classificação e regressão.</p><p>Documentação:<br><a href="https://autokeras.com/">https://autokeras.com/</a></p><h4>8. H2O AutoML</h4><p>É uma biblioteca que inclui treinamento automático de modelo e ajuste de hiperparâmetros de modelos dentro de um limite de tempo especificado.</p><p>Documentação:<br><a href="https://docs.h2o.ai/h2o/latest-stable/h2o-docs/automl.html">https://docs.h2o.ai/h2o/latest-stable/h2o-docs/automl.html</a></p><h4>9. MLBox</h4><p>É uma ferramenta bem completa. Entre as funcionalidades que possui, estão: seleção de features; pré-processamento de dados; otimização automática de hiperparâmetros; seleção de modelos.</p><p>Documentação:<br><a href="https://mlbox.readthedocs.io/en/latest/">https://mlbox.readthedocs.io/en/latest/</a></p><h4>10. Ludwig</h4><p>É uma caixa de ferramentas que permite aos usuários treinar e testar modelos de <em>Deep Learning</em> sem a necessidade de escrever código. Ele é baseado no TensorFlow.</p><p>Documentação:<br><a href="https://github.com/ludwig-ai/ludwig">https://github.com/ludwig-ai/ludwig</a></p><h3>Qual dessas bibliotecas?</h3><p>Você deve estar se perguntando, diante desta lista, por qual biblioteca devo começar? <br>Pela minha experiência, destaco 3 por serem as mais completas, darem resultados bem interessantes e serem simples de usar: TPOT, Pycaret e Mljar.</p><h3>Conclusão</h3><p>Essas bibliotecas facilitam muito a vida de um Cientista de Dados; elas simplificam muito o processo e agilizam o treinamento. Mas é bom lembrar que é muito importante entender como os modelos funcionam, os significados dos hiperparâmetros para que você não seja apenas um executor de código que não entende e não sabe explicar o que está acontecendo.</p><p><em>Obs.: Este artigo vai ser atualizado a medida que novas biblitotecas interessantes e eficientes vão sendo descobertas.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=51ca00cbd0f4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/a3data/encontrando-solu%C3%A7%C3%B5es-de-machine-leaning-mais-rapidamente-51ca00cbd0f4">Encontrando soluções de Machine Leaning mais rapidamente</a> was originally published in <a href="https://medium.com/a3data">A3data</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hermione for Data Scientists]]></title>
            <link>https://medium.com/a3data/hermione-for-data-scientists-7a5e3e50ad93?source=rss-454696e69cba------2</link>
            <guid isPermaLink="false">https://medium.com/p/7a5e3e50ad93</guid>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Bárbara Silveira Fraga]]></dc:creator>
            <pubDate>Thu, 04 Jun 2020 18:40:17 GMT</pubDate>
            <atom:updated>2020-06-06T21:49:46.655Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Hermione — ML made simple</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MiS8m12A5N7Niki212Ax_w.png" /></figure><p>Many data scientists learn how to set up their Machine Learning models through Jupyter Notebooks. If you aren’t familiar with Jupyter Notebooks (known simply as ‘notebooks’ by close friends), they are one of the most used tools by data scientists in order to explore information, test hypotheses and also to ML models training. And it’s easy to see the reasons for that: notebooks are easy to use and to understand and they help out the scientists to expose their results.</p><p>In some projects, Data Scientist’s main objective is to deliver a model in production. However, these are the moments that we realize how complicated it is to put a notebook into production, after all, our main concern as Data Scientists is to solve problems, innovate, generate and aggregate value for businesses and companies. We can sumarize this issue in this way “ How to turn a notebook productable?”. If we don’t prepare ourselves for those moments , we are prone to get stuck and to start thinking about the several problems we may find along the way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/0*bC5Waow4idewUKjH.gif" /><figcaption>Individuals have been trying to turn Jupyter Notebooks into a product</figcaption></figure><p>Notebooks have been made to be a working tool, capable of explore and expose data, even though, putting them into production seems to be somewhat limiting. Imagine a scenario that demands constant maintenance, aggregation and multiple databases processing data pre-processing pipelines, in addition to fully functional running models themselves.. And what about the retraining cycle and model monitoring? For goodness, it’s just one notebook! Using it to put models into production and be consumed is not a piece of cake at all! No, using a fully detailed notebook and putting it into production to be consumed is not a piece of cake.</p><p>To bring in a little of the <strong>A3Data</strong> experience, we work in Data Science teams inside several client companies and it’s undeniable the excellence of notebooks as a data exploration tool. Nevertheless, when it comes to the product and its context, when the models needs to be consumed, monitored and have periodic maintenance, putting it into production inside a Jupyter Notebook is not the best choice(we are not even mentioning memory and CPU performance yet). And that’s why <strong>Hermione appears</strong>!</p><figure><img alt="It’s a magic!" src="https://cdn-images-1.medium.com/max/250/1*JQ3TgTmw0DJ0xisD5IJA-A.gif" /><figcaption>Hermione!!</figcaption></figure><p>But wait! Not this Hermione, herself. But yeah, we have been inspired by this brilliant, empowered and awesome witch to name this framework!</p><p>Hermione is the newest <strong>open source</strong> library that will help Data Scientists on setting up more organized codes, in a quicker and simpler way. Besides, there are some classes in Hermione which assist with daily tasks such as: column normalization and denormalization, visualization, text vectoring, etc. Using Hermione, all you need is to execute a method and the rest is up to her, just like magic! But to make it possible, some basic knowledge about Object Oriented Programming will be necessary. Check out this <a href="https://medium.com/the-renaissance-developer/python-101-object-oriented-programming-part-1-7d5d06833f26">article</a> for more information.</p><h3>What can Hermione do?</h3><p>Hermione has come to make Machine Learning models setting process easier. To do that, it uses several combined strategies: Hermione indicates a particular directory structure that keeps the code more organized; classes to guide the creation of a structured pipeline for ML modeling; Hermione also presents a class with several methods for static and interactive data preview, all with just one line of code.</p><p>Hermione suggests the use of ML flow in order to manage Machine Learning lifecycle. ML flow has an interface which can be opened in the browser to assist this management.</p><p>Furthermore, Hermione presents an unit testing framework. Unit testing is extremely relevant to keep codes running properly and to follow previously defined business rules. Imagine the following scenario, you modify something in the pre-processing pipeline methods but then you forget to reflect this modification on the training pipeline. Depending on the situation, It could take you hours or even days to realize had happened. The error could be detected quickly with good practices of good use of unit testing.</p><h3>How to get started with Hermione ?</h3><p>To use Hermione, you just need to follow the steps below:</p><ol><li>pip install hermione-ml</li><li>hermione info</li><li>hermione new project_name</li></ol><p>In Step 2 , we verify if Hermione was installed properly and then check the installed version. In step 3 ,you must choose if you want to create an empty project or one that is filled with the Titanic dataset, for example. The project is created with the name we passed after the new command. After these steps, your project is created presenting all Hermione’s structure.</p><ul><li>File framework and code organization</li><li>Commonly used codes</li><li>Git repository for version control</li><li><a href="https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html">Conda</a> virtual environment for package version control</li></ul><h3>How to use Hermione</h3><p>Now, let’s practice with Hermione! Before we start, we’ll show you some key points by using the example already installed in the package.</p><ol><li>Create you new project:</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/245/1*7Ju0Tq2DP1pE5bfGPguh2w.png" /></figure><p>2. Enter “y” to implement the example code:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/588/1*TJoFVA-Nio2O3XvxBN4MUQ.png" /></figure><p>3. As we mentioned before, Hermione already creates a conda virtual environment for the project, activate it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/688/1*38yp-E_AUxM7lIw9PCo0rw.png" /></figure><p>4. After activating, you should install some libraries. There are a few suggestions in “requirements.txt” file:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/255/1*rpXdiYmPKHNbVoKFZIHrlQ.png" /></figure><p>5. Now we will train the model from the example, using MLflow ❤ .To do so, just type, into the directory, src: <em>hermione train</em>. The “hermione train” command will search for a train.py file and execute it. In the example, models and metrics are already controlled via MLflow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/1*MmVcmAYspxWdzbd5r00W5g.png" /></figure><p>6. After that, a mlflow experiment is created. To verify the experiment in mlflow, type: mlflow ui. The application will go up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/707/1*DReyAtL9eJ0fiwxaVo3Yfw.png" /></figure><p>7. To access the experiment, just enter the way previously provided in your preferred browser. Then it is possible to check the trained models and their metrics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c_rDEqERZR6r8JVI3TMTcQ.png" /></figure><p>8. In the Titanic example, we also provide a step by step notebook. To view it, just type jupyter notebook into the path /src /notebooks/.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U3ToR5jDjQJihT9EnxeDdg.png" /></figure><h3>Would you like to contribute to Hermione’s functionalities?</h3><p>Hermione is available on github!</p><p>Link: <a href="https://github.com/a3data/hermione">https://github.com/a3data/hermione</a></p><p>Make a pull request with your implementation.</p><p>For suggestions, contact us: hermione@a3data.com.br</p><p>#GoA3Data #EmpoweringPeopleThroughData</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7a5e3e50ad93" width="1" height="1" alt=""><hr><p><a href="https://medium.com/a3data/hermione-for-data-scientists-7a5e3e50ad93">Hermione for Data Scientists</a> was originally published in <a href="https://medium.com/a3data">A3data</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hermione para Data Scientists]]></title>
            <link>https://medium.com/a3data/hermione-para-data-scientists-562f5003dda2?source=rss-454696e69cba------2</link>
            <guid isPermaLink="false">https://medium.com/p/562f5003dda2</guid>
            <dc:creator><![CDATA[Bárbara Silveira Fraga]]></dc:creator>
            <pubDate>Thu, 04 Jun 2020 18:38:47 GMT</pubDate>
            <atom:updated>2020-06-06T21:49:04.183Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Hermione — ML made simple</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MiS8m12A5N7Niki212Ax_w.png" /></figure><p>Muitos cientistas de dados aprendem a construir seus modelos em Jupyter Notebooks. Se você não conhece os Jupyter notebooks (notebooks para os íntimos), eles são uma das ferramentas mais usadas por cientistas de dados para explorar dados, testar hipóteses e treinar seus modelos de ML. E é fácil perceber o motivo para isso: notebooks são fáceis de usar, fáceis de entender e auxiliam o cientista a expor seu trabalho.</p><p>Em alguns projetos, o principal objetivo do Cientista de Dados é a entrega de um modelo em produção. Entretanto é nessas horas que sentimos como é complicado colocar um notebook em produção, afinal, normalmente o nosso pensamento como Cientistas de Dados está na solução de um problema por meio de dados, na produção de inovação e na geração de valor para o negócio. Podemos resumir essa questão em “Como produtizar um notebook?” Normalmente, se não nos preparamos para esse momento, podemos travar e começar a pensar nos vários problemas que iremos encontrar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/0*bC5Waow4idewUKjH.gif" /><figcaption>Indivíduos tentando produtizar um Jupyter Noteook.</figcaption></figure><p>Notebooks nascem para ser uma ferramenta de exploração e exposição do trabalho, de forma que, colocá-lo em produção parece ser um pouco limitante. Imagine: cenários que requerem manutenção constante, modelos que dependem da agregação e tratamento de múltiplas bases, pipelines de pré-processamento de dados, além das próprias chamadas ao modelo. E como fica o ciclo de retreino e o monitoramento do modelo? Tudo em um só notebook… Não, não será nada fácil utilizar um notebook cheio de detalhes e colocá-lo em produção para ser consumido.</p><p>Trazendo um pouco da experiência da <strong>A3Data</strong>, nós trabalhamos em times de Ciência de Dados de várias empresas e é inegável que os notebooks são ótimos para a exploração de dados. Mas quando estamos em um contexto de produto, quando esse modelo precisa ser consumido, monitorado e receber manutenção de forma recorrente, colocá-lo em produção dentro de um Jupyter notebook não é a melhor escolha, e olha que nem estamos falando de desempenho de memória e CPU. E é por isso que surge a <strong>Hermione!</strong></p><figure><img alt="It’s a magic!" src="https://cdn-images-1.medium.com/max/250/1*JQ3TgTmw0DJ0xisD5IJA-A.gif" /><figcaption>The Hermione!!</figcaption></figure><p>Mas não, não é essa Hermione pessoal! Mas sim, nós nos inspiramos nessa mulher, bruxa, empoderada e cabulosa para batizarmos esse framework!</p><p>Hermione é a mais nova biblioteca <strong>open source</strong> que vai ajudar os Data Scientists a construírem códigos mais bem estruturados, de uma forma mais rápida e simples. Além disso, Hermione possui algumas classes que auxiliam em tarefas rotineiras, por exemplo: tarefas de normalização e desnormalização de colunas, visualização de dados, vetorização de texto, etc. Com a Hermione basta a chamada de um método e ela faz todo o resto, como um passe de mágica! Mas para isso é preciso ter conhecimentos básicos sobre Orientação a Objetos, se precisar consulte <a href="https://medium.com/the-renaissance-developer/python-101-object-oriented-programming-part-1-7d5d06833f26">aqui</a>.</p><h3>O que a Hermione sabe fazer?</h3><p>Hermione surge para facilitar a construção de modelos de <em>Machine Learning. </em>Para isso, ela usa várias estratégias combinadas: Hermione indica uma determinada estrutura de pastas, que mantem seu código mais organizado; classes para guiar a construção de um pipeline estruturado de um modelo de ML. Hermione possui uma classe com diversos métodos para visualização de dados de forma estática e/ou interativa, isto tudo com apenas uma linha. E, como demos <em>spoiler</em> anteriormente, ela também possui classes para facilitar a normalização dos dados e vetorização em textos na etapa de pré-processamento.</p><p>A Hermione sugere a utilização do <a href="https://towardsdatascience.com/manage-your-machine-learning-lifecycle-with-mlflow-part-1-a7252c859f72">MLflow</a> para manter o gerenciamento do ciclo de vida dos modelos de <em>Machine Learning</em>. O MLflow possui uma interface, que podemos abrir no navegador, para auxiliar neste gerenciamento.</p><p>Além disso, a Hermione possui uma estrutura para testes unitários. Testes unitários são super relevantes para garantir que o que o código esteja funcionando corretamente, continue funcionando corretamente e respeitando as regras de negócio definidas. Imagine, você realiza uma alteração nos métodos do pipeline de pré-processamento e esquece de refletir essa modificação no pipeline de treino? Dependendo da situação, você poderia demorar horas para perceber que isso aconteceu, quando não percebesse só em produção dias depois. Com boas práticas de uso de teste unitário, o erro seria visto rapidamente.</p><h3>Como começar com a Hermione?</h3><p>Para utilizar Hermione basta:</p><ol><li>pip install hermione-ml</li><li>hermione info</li><li>hermione new nome_projeto</li></ol><p>No passo 2 verificamos se a instalação da Hermione ocorreu corretamente e checamos a versão instalada. No passo 3, você deve escolher se deseja criar um projeto vazio ou um que está preenchido com o <em>dataset </em>Titanic, de exemplo. O projeto é criado com o nome que passamos depois do <em>new. </em>Depois desses passos, seu projeto é criado com toda a estrutura da Hermione:</p><ul><li>Estrutura de pastas para organização dos códigos</li><li>Códigos comumente utilizados</li><li>Repositório .git para gerenciamento das versões do código</li><li>Ambiente virtual <a href="https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html">conda</a> para controle das versões das bibliotecas</li></ul><h3>Usando a Hermione</h3><p>Agora vamos usar a Hermione na prática. Para isto, mostraremos alguns pontos chaves usando o exemplo que já vem instalado no pacote.</p><ol><li>Crie o seu projeto:</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/245/1*7Ju0Tq2DP1pE5bfGPguh2w.png" /></figure><p>2. Informe “y” para implementarmos o código de exemplo:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/588/1*TJoFVA-Nio2O3XvxBN4MUQ.png" /></figure><p>3. Como falamos anteriormente, Hermione já cria um ambiente virtual conda para o projeto, ative-o:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/688/1*38yp-E_AUxM7lIw9PCo0rw.png" /></figure><p>4. Após a ativação, você deve instalar algumas bibliotecas. Existem algumas sugestões no arquivo “requirements.txt”:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/255/1*rpXdiYmPKHNbVoKFZIHrlQ.png" /></figure><p>5. Agora vamos treinar o modelo do nosso exemplo, utilizando o MLflow ❤.<br>Para isto, basta digitarmos dentro do diretório src: <em>hermione train. </em>O comando “<em>hermione train”</em> vai procurar um arquivo train.py e executá-lo. No exemplo, os modelos e métricas já são controlados via MLflow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/1*MmVcmAYspxWdzbd5r00W5g.png" /></figure><p>6. Após isto, um experimento do mlflow é criado. Para verificar o experimento no mlflow, digite: <em>mlflow ui. </em>A aplicação subirá:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/707/1*DReyAtL9eJ0fiwxaVo3Yfw.png" /></figure><p>7. Para acessar o experimento, basta entrar no caminho disponibilizado anteriormente no seu navegador de preferência. Assim é possível verificar os modelos treinado e suas métricas.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c_rDEqERZR6r8JVI3TMTcQ.png" /></figure><p>8. No exemplo do Titanic, também disponibilizamos um notebook com o passo a passo. Para visualizá-lo basta digitar <em>jupyter notebook</em> dentro da pasta /src/notebooks/.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U3ToR5jDjQJihT9EnxeDdg.png" /></figure><h3>Quer contribuir com funcionalidades na Hermione?</h3><p>Hermione está disponível no github!</p><p>Link: <a href="https://github.com/a3data/hermione">https://github.com/a3data/hermione</a></p><p>Faça um pull request com sua implementação.</p><p>Para sugestões, reclamações, entre em contato conosco: hermione@a3data.com.br</p><p>#GoA3Data #EmpoweringPeopleThroughData</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=562f5003dda2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/a3data/hermione-para-data-scientists-562f5003dda2">Hermione para Data Scientists</a> was originally published in <a href="https://medium.com/a3data">A3data</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quem é a A3Data?]]></title>
            <link>https://medium.com/a3data/quem-%C3%A9-a-a3data-32823be9ef3e?source=rss-454696e69cba------2</link>
            <guid isPermaLink="false">https://medium.com/p/32823be9ef3e</guid>
            <dc:creator><![CDATA[Bárbara Silveira Fraga]]></dc:creator>
            <pubDate>Thu, 28 May 2020 16:11:35 GMT</pubDate>
            <atom:updated>2020-05-28T16:11:35.775Z</atom:updated>
            <content:encoded><![CDATA[<p>Quer saber mais? Visite nosso site: <a href="http://a3data.com.br/">a3data.com.br</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=32823be9ef3e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/a3data/quem-%C3%A9-a-a3data-32823be9ef3e">Quem é a A3Data?</a> was originally published in <a href="https://medium.com/a3data">A3data</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Algum titulo para teste]]></title>
            <link>https://medium.com/@barbarasilveiraf/algum-titulo-para-teste-50e4dc94e763?source=rss-454696e69cba------2</link>
            <guid isPermaLink="false">https://medium.com/p/50e4dc94e763</guid>
            <dc:creator><![CDATA[Bárbara Silveira Fraga]]></dc:creator>
            <pubDate>Thu, 28 May 2020 11:50:32 GMT</pubDate>
            <atom:updated>2020-05-28T11:50:32.594Z</atom:updated>
            <content:encoded><![CDATA[<p>barbara.fraga@a3data.com.br</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=50e4dc94e763" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>