<?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 Jack Fener on Medium]]></title>
        <description><![CDATA[Stories by Jack Fener on Medium]]></description>
        <link>https://medium.com/@giacomofava93?source=rss-222ae0bb598f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*FOQiH1WVZl5SqnBPMQRXFg.png</url>
            <title>Stories by Jack Fener on Medium</title>
            <link>https://medium.com/@giacomofava93?source=rss-222ae0bb598f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 16 Nov 2026 23:39:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@giacomofava93/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[The Best Heardle Alternatives to Play in 2026]]></title>
            <link>https://medium.com/@giacomofava93/the-best-heardle-alternatives-to-play-in-2026-45fb11dc439a?source=rss-222ae0bb598f------2</link>
            <guid isPermaLink="false">https://medium.com/p/45fb11dc439a</guid>
            <category><![CDATA[music-quiz]]></category>
            <category><![CDATA[le-song]]></category>
            <category><![CDATA[heardle]]></category>
            <category><![CDATA[spotify-playlist]]></category>
            <category><![CDATA[wordle-alternatives]]></category>
            <dc:creator><![CDATA[Jack Fener]]></dc:creator>
            <pubDate>Mon, 24 Aug 2026 11:26:19 GMT</pubDate>
            <atom:updated>2026-08-24T11:26:19.897Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DmArbmVfH4q3H2AXDqf70g.jpeg" /></figure><p>When Spotify shut Heardle down, it left a very specific hole: that little daily ritual of hearing one second of a song and racing to name it before the clip grew. The good news is the format didn’t die — a wave of community-built games kept it alive, and a few went further than the original. Here are the ones worth your time in 2026.</p><h3>What made Heardle good (and what to look for)</h3><p>Heardle worked because it was <strong>fast, fair, and shareable</strong>. A good alternative keeps those three:</p><ul><li><strong>Short audio first.</strong> You should be guessing from sound, not trivia.</li><li><strong>A clue ladder.</strong> Getting more help should <em>cost</em> you, so there’s a real risk/reward to guessing early.</li><li><strong>Something to share.</strong> A spoiler-free score you can post to challenge friends.</li></ul><h3>The best alternatives in 2026</h3><h4>Songle — for playlists, not just one song a day</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ElI5F-bKEQ_DmT_mE1riaw.png" /></figure><p><a href="https://songleai.com/">Songle</a> keeps the guess-from-a-clip feel but removes the biggest limitation of the daily format: you’re not capped at one song. You play a <strong>whole playlist as a run</strong> — a score per track and a summary at the end — and you can <strong>build your own game from any Spotify playlist</strong> and share it with a link. Clues (a bit more audio, the year, the genre) are there when you’re stuck, but using fewer earns more points. If you liked Heardle but wanted <em>more than 30 seconds a day</em>, this is the closest thing to “Heardle, unlimited.”</p><h3>Daily one-song games</h3><p>If the once-a-day ritual was the whole appeal, several clones preserve it faithfully — including artist- and genre-specific versions (think a K-pop-only or a 2000s-only daily). They’re great for a quick streak, but you’ll finish in under a minute.</p><h3>Lyric-based guessers</h3><p>A different flavor: instead of audio, you get lyrics revealed line by line. Fun if you know words better than melodies, though it rewards a different kind of memory than classic name-that-tune.</p><h3>How to pick</h3><ul><li>Want a <strong>quick daily</strong> and nothing more? A single-song clone is perfect.</li><li>Want to <strong>play as long as you like</strong>, use <strong>your own music</strong>, and <strong>challenge friends</strong>? Start with <a href="https://songleai.com/">Songle</a> — the curated playlists are free and need no account.</li></ul><p>Whatever you pick, the fun is the same one Heardle nailed: that half-second where the intro clicks and you <em>know</em>. Go chase it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=45fb11dc439a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Best Free “Guess the Song” Games You Can Play Right Now]]></title>
            <link>https://medium.com/@giacomofava93/the-best-free-guess-the-song-games-you-can-play-right-now-6310b2c7e060?source=rss-222ae0bb598f------2</link>
            <guid isPermaLink="false">https://medium.com/p/6310b2c7e060</guid>
            <category><![CDATA[quiz]]></category>
            <category><![CDATA[wordle-alternatives]]></category>
            <category><![CDATA[spotify]]></category>
            <category><![CDATA[quiz-games]]></category>
            <category><![CDATA[music-quiz]]></category>
            <dc:creator><![CDATA[Jack Fener]]></dc:creator>
            <pubDate>Mon, 24 Aug 2026 11:19:26 GMT</pubDate>
            <atom:updated>2026-08-24T11:19:26.218Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ElI5F-bKEQ_DmT_mE1riaw.png" /><figcaption>Songle’s playlist page</figcaption></figure><p>Search for a guess-the-song game online today and you won’t land on one obvious answer the way you<br>might have a couple of years ago, when <strong>Heardle</strong> dominated the space. Now it’s a patchwork of clones,<br>lyric games, and a handful of genuinely different takes on the format. All of them are free to try in a<br>browser, and almost none of them work the same way once you actually dig in. Here’s an honest tour of<br>what’s out there.</p><h3>What “guess the song” actually covers</h3><p>Under one label you’ll find several distinct game types:</p><ul><li>**<strong>Clip-and-guess</strong>.** You hear a short snippet — usually the intro — and type the title and artist<br> before it’s revealed. This is the Heardle-style core mechanic and still the most common version.</li><li>**<strong>Lyric reveal</strong>.** Lines of a song appear one at a time instead of audio, and you guess from words<br> instead of melody.</li><li>**<strong>Trivia quizzes</strong>.** Multiple-choice questions about songs, charts, or artists, with no listening<br> involved — a different skill entirely from the audio-based games.</li><li>**<strong>Playlist runs</strong>.** Rather than one song a day, you play through an entire set of tracks in one<br> sitting, scored as you go.</li></ul><p>If you’ve only ever played the daily single-song format, it’s worth knowing the other three exist,<br>because each rewards a different strength — memory for words versus memory for sound versus general<br>music trivia.</p><h3>Comparing the free options</h3><p>**<strong>Daily single-song clones</strong>** are the most numerous, and many now specialise by genre or era — a<br>K-pop-only version, a country-only version, a 2000s-only version. The appeal is the ritual: one song,<br>once a day, over in under a minute. The catch is exactly that — once a day, over in under a minute. If<br>you want more than a coffee-break’s worth of play, you’ll run out fast.</p><p>**<strong>Lyric-based guessers</strong>** suit people whose ear for melody is weaker than their memory for words. They<br>tend to lean on songs with distinctive, well-known lyrics, which narrows the pool compared to<br>audio-first games.</p><p>**<strong>Straight trivia</strong>** is a fine warm-up, but it tests facts rather than recognition. If what you’re after<br>is that split-second “I know this song” thrill, trivia won’t deliver it the way audio does.</p><p>*<strong>Playlist-based games</strong>** are the smaller category, and it’s where <strong>Songle</strong> (<a href="https://songleai.com/">https://songleai.com</a>) sits.<br>Instead of a single daily clip, you play through an entire playlist as one scored run — a short preview<br>per track, a score for each guess, a summary at the end. Because it isn’t capped at one song, you can<br>play for two minutes or twenty depending on which playlist you choose.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SyymVdIuFH6o14PWMPmAyA.png" /><figcaption>Songle’s challenge UI</figcaption></figure><h3>What makes a free song game worth bookmarking</h3><p>A handful of things separate the games worth keeping from the ones you’ll forget by tomorrow:</p><p>1. **<strong>Audio-first, not trivia-first</strong>.** The best version of this format tests recognition, not recall of<br> facts. If you can win without listening to anything, it isn’t really the same game.<br>2. **<strong>A real clue ladder.</strong>** Getting stuck should cost you something honest — a bit more audio, a genre<br> hint, a release year — so guessing early is a genuine risk-reward call, not a blind shot.<br>3. **<strong>No paywall on the basics.</strong>** Plenty of these games are free to start and then gate features — <br> extra songs, extra playlists, no ads — behind a login or subscription. Worth checking what’s<br> actually free before you sink time in.<br>4. **<strong>Something worth sharing</strong>.** A spoiler-free score screen you can send to a friend turns a solo five<br> minutes into a running rivalry.<br>5. **<strong>Control over the music</strong>.** Most clip-and-guess games use a fixed, curated set chosen by whoever<br> built the game. Fewer let you point the game at music you actually like.</p><p>That last point is the biggest practical difference in this space. If you’re content with whatever<br>daily song a stranger picked for you, any clone will do. If you’d rather play through a playlist you<br>already love — or one a friend put together — you need a game that can read a Spotify playlist and turn<br>it into a quiz on the fly. That’s the specific gap Songle fills: pick any public Spotify playlist and it<br>becomes a playable guessing game, shareable by link, with no uploading or manual song-picking required.<br>More on how that works is on the about page (<a href="https://songleai.com/about.html">https://songleai.com/about.html</a>).</p><h3>So which one should you pick?</h3><p>Match the game to what you actually want from the two minutes — or twenty — you’re about to spend:</p><p>- **<strong>Want a quick daily ritual and nothing more?</strong>** A single-song clone suits that perfectly — don’t<br> overthink it.<br>- **<strong>Better with words than melodies?</strong>** A lyric-based guesser will play to your strengths more than an<br> audio-first game will.<br>- **<strong>Want to play longer than sixty seconds, or use a playlist you already care about?</strong>** That’s the case<br> for a playlist-run format like Songle (<a href="https://songleai.com/">https://songleai.com</a>), where the curated playlists are free<br> with no account needed, and you can also build your own from any Spotify playlist for a party, a road<br> trip, or just to see how well you actually know your own taste.</p><p>These aren’t mutually exclusive. Plenty of people keep a daily clone going for the streak and switch to<br>a playlist run when they’ve got more time on their hands. What ties all of them together is the same<br>feeling Heardle proved people wanted for free: that half-second where a snippet of sound clicks into a<br>name. However you get there, that’s the part worth chasing.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6310b2c7e060" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Transcribe Audio to Text with AI: The Ultimate Guide]]></title>
            <link>https://medium.com/@giacomofava93/how-to-transcribe-audio-to-text-with-ai-the-ultimate-guide-74100a00f22f?source=rss-222ae0bb598f------2</link>
            <guid isPermaLink="false">https://medium.com/p/74100a00f22f</guid>
            <category><![CDATA[gpt]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[transcription]]></category>
            <category><![CDATA[speech-recognition]]></category>
            <category><![CDATA[openai]]></category>
            <dc:creator><![CDATA[Jack Fener]]></dc:creator>
            <pubDate>Mon, 06 Jan 2025 15:15:33 GMT</pubDate>
            <atom:updated>2025-01-06T15:15:33.659Z</atom:updated>
            <content:encoded><![CDATA[<p>In today’s fast-paced, multilingual world, transcribing audio to text has become an essential skill.</p><p>Whether you’re a student capturing lecture notes, a journalist working on interviews, or a content creator seeking to repurpose audio for blog posts, accurate transcription is invaluable.<br>But how do you transcribe audio efficiently and affordably without compromising on accuracy?<br>Enter <a href="https://transcraibe.online/"><strong>Transcraibe.online</strong></a>, the game-changing tool that makes transcription fast, easy, and incredibly precise.</p><h4>Why Transcribe Audio to Text?</h4><p>Transcribing audio to text offers numerous benefits:</p><ul><li><strong>Accessibility</strong>: Convert spoken content into readable text for wider reach.</li><li><strong>Searchability</strong>: Text is easier to search, reference, and organize compared to audio files.</li><li><strong>Content Repurposing</strong>: Turn<strong> podcasts, webinars, or YouTube videos</strong> into articles, social posts, or study materials.</li><li><strong>Efficiency</strong>: Written records simplify note-taking, legal documentation, and research.</li></ul><h4>Challenges of Traditional Transcription Methods</h4><p>Traditional transcription methods often come with obstacles:</p><ul><li><strong>Time-Consuming</strong>: Manual transcription can take hours, even for short recordings.</li><li><strong>High Costs</strong>: Professional transcription services often charge exorbitant fees.</li><li><strong>Accuracy Issues</strong>: Background noise, accents, and complex terminology can lead to errors.</li></ul><p>That’s where <a href="https://transcraibe.online/"><strong>Transcraibe.online</strong></a> shines.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gMH5ohTIHhcbueQeiLZUOw.png" /><figcaption>Minimalistic user interface</figcaption></figure><h3>What Makes Transcraibe the Best Transcription Tool?</h3><h4>1. High-Speed Transcription</h4><p>Transcraibe leverages cutting-edge AI, including <strong>OpenAI</strong>’s Whisper model, to transcribe hours of audio in seconds. Forget spending hours rewinding and typing — just upload your file, and let Transcraibe do the work.</p><h4>2. Multilingual Support</h4><p>Need to transcribe a podcast in Spanish, a lecture in Mandarin, or a <strong>WhatsApp voice note</strong> in English? Transcraibe handles all major languages and regional dialects with unmatched precision.</p><h4>3. Unmatched Accuracy</h4><p>Thanks to <strong>Whisper</strong>’s state-of-the-art capabilities, Transcraibe delivers near-perfect transcription, even in noisy environments. Say goodbye to misheard words and incomplete sentences.</p><h4>4. Simple and Affordable Pricing</h4><p>Unlike subscription-based services, Transcraibe offers a <strong>pay-per-use model</strong>:</p><ul><li>$0.99 for the first hour of audio.</li><li>$0.20 for every 10 minutes after that. No hidden fees, no long-term commitments — just transparent pricing for every user.</li></ul><h4>5. Total Privacy</h4><p>Your files are safe with Transcraibe:</p><ul><li>Files are automatically deleted after 30 days.</li><li>No data is retained beyond the transcription process.</li><li>Your email is only used to deliver your results.</li></ul><h3>How to Do Audio or Video Transcription?</h3><ol><li><strong>Visit </strong><a href="https://transcraibe.online/"><strong>Transcraibe.online</strong></a> Navigate to the website and upload your audio file. Transcraibe supports formats <strong>flac, m4a, mp3, mp4, mpeg, mpga, oga, ogg, wav and webm</strong>!</li><li><strong>Insert your email</strong> No login or marketing. Just an email to receive the transcription file.</li><li><strong>Receive Your Transcript</strong> Get your transcription delivered straight to your email in seconds. Done!</li></ol><h3>How to Transcribe Youtube Videos?</h3><ol><li><strong>Download Youtube Video</strong> Choose your preferred online tool to download a video from Youtube like <a href="https://yt5s.biz/">YT5S</a>.<br>Remember to select mp3 or mp4 as output format.</li><li><strong>Upload it to </strong><a href="https://transcraibe.online/"><strong>Transcraibe.online</strong></a> Navigate to the website and upload your audio file. Transcraibe supports formats <strong>flac, m4a, mp3, mp4, mpeg, mpga, oga, ogg, wav and webm</strong>!</li></ol><h3>Transcribe Everything with Transcraibe</h3><p>Here’s how Transcraibe can elevate your transcription needs:</p><h4>1. WhatsApp Audio Messages</h4><p>Turn long voice notes into concise, searchable text to save time and share easily.</p><h4>2. YouTube Videos</h4><p>Automatically transcribe video content into text to enhance SEO, create subtitles, or repurpose into blog posts.</p><h4>3. Meetings &amp; Interviews</h4><p>Keep accurate records of professional conversations without manual effort.</p><h4>4. Podcasts and Lectures</h4><p>Capture every word, whether for personal reference or public sharing.</p><h3>Why Choose Transcraibe Over Competitors?</h3><p>Unlike other transcription services, Transcraibe offers:</p><ul><li><strong>No subscriptions</strong> — pay only for what you use.</li><li><strong>User-friendly design</strong> — minimal setup and fast results.</li><li><strong>AI-driven precision</strong> — industry-leading accuracy even in challenging conditions.</li></ul><h3>Final Thoughts</h3><p>Transcribing audio to text doesn’t have to be a chore. With <a href="https://transcraibe.online/"><strong>Transcraibe.online</strong></a>, you get a powerful, reliable, and cost-effective solution that transforms how you handle audio content. Whether it’s a WhatsApp voice note, a YouTube video, or hours of interviews, Transcraibe ensures your words are never lost in translation.</p><p>Stop struggling with manual transcription, try <a href="https://transcraibe.online/"><strong>Transcraibe.online</strong></a> today and experience the future of transcription!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=74100a00f22f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SongleAI – Guess the Tune: A New AI-Powered Music Game]]></title>
            <link>https://medium.com/@giacomofava93/songleai-guess-the-tune-a-new-ai-powered-music-game-79bc815bf907?source=rss-222ae0bb598f------2</link>
            <guid isPermaLink="false">https://medium.com/p/79bc815bf907</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[quiz]]></category>
            <category><![CDATA[gaming]]></category>
            <category><![CDATA[music]]></category>
            <dc:creator><![CDATA[Jack Fener]]></dc:creator>
            <pubDate>Thu, 10 Oct 2024 19:55:37 GMT</pubDate>
            <atom:updated>2024-10-10T19:55:37.110Z</atom:updated>
            <content:encoded><![CDATA[<p>Ever felt like you knew the lyrics to a song but couldn’t quite place the title? <strong><em>SongleAI</em></strong> is a unique new game that challenges players to identify a mysterious song by interacting with a LLM. This AI-powered game offers a fun and engaging way to test your musical knowledge and discover new tunes.</p><p><a href="https://songleai.com/">Songle AI - Guess the Song</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/990/1*rxkcfIu6rQZ6pn29kxveRQ.png" /><figcaption>Play the song or add it to your library</figcaption></figure><h3><strong>A modern Music Quiz..</strong></h3><p>The gameplay is simple yet addictive.<br>At the start of each game, a random song among the best 50 songs released in last 40 years is selected. Players can then ask questions about the <em>song, lyrics, album cover, and artist</em>. The goal is to guess the song’s title without any time or question limit.</p><p>One of the standout features of <strong><em>SongleAI</em></strong> is the ability to create custom playlists. This allows players to tailor the game to their preferences and focus on their favorite genres or artists. <em>(coming soon)</em></p><h3>.. plus a touch of AI</h3><p><strong><em>SongleAI</em></strong> is powered by the well known <em>LLMs</em> capable of understanding and responding to natural language queries. It processes player questions and provides relevant information to help them narrow down the possibilities.</p><p>This enhances the gameplay experience with:</p><ul><li><strong>Personalized Games</strong>: The AI can tailor its responses to the player’s specific questions and previous guesses.</li><li><strong>Challenging Gameplay</strong>: The AI is designed to provide a challenging yet enjoyable experience.</li><li><strong>Every game is unique</strong>: there is no unique way to play, every player is free to ask whatever it needs to guess the song.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xHPHssCSJCE4vharNTwqiA.png" /><figcaption>You can ask the bot whatever it may help you identify the song</figcaption></figure><h3>To sum up TLDR</h3><p>Why play <strong><em>SongleAI</em></strong>:</p><ul><li><strong>Expand Your Musical Knowledge</strong>: Discover new songs and artists from a variety of genres and add them to your library.</li><li><strong>Challenge Your Brain</strong>: Test your memory, problem-solving abilities, and general knowledge.</li><li><strong>Socialize with Other Players</strong>: create your playlist and share them with other music enthusiasts</li></ul><h3><strong>Ready to Give It a Try?</strong></h3><p>If you’re a music lover looking for a fun and challenging new game, <strong><em>SongleAI</em></strong> is the perfect choice. Dive into the game today and start guessing!</p><p><a href="http://songleai.com/">SongleAI.com</a></p><p>I’m also committed to listening to feedback from our players and making improvements based on their suggestions. Your input is invaluable in helping us create the best possible gaming experience.</p><p>Feel free to contact me for any concern, I’d love to hear your feedback.<br>Mail me at giacomofava93@gmail.com or text me on X (not really active there) <a href="https://x.com/JackFener93">@JackFener93</a></p><p>We hope you enjoy playing <strong><em>SongleAI</em></strong> as much as I enjoy creating it!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*bAlIRUkNGzP4is-yHpNTUw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=79bc815bf907" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I sistemi di raccomandazione e il perché il tuo telefono non ti spia]]></title>
            <link>https://medium.com/artificial-intelligence-italia/i-sistemi-di-raccomandazione-e-il-perch%C3%A9-il-tuo-telefono-non-ti-spia-d0f825c0bb75?source=rss-222ae0bb598f------2</link>
            <guid isPermaLink="false">https://medium.com/p/d0f825c0bb75</guid>
            <category><![CDATA[privacy]]></category>
            <category><![CDATA[intelligenza-artificiale]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[cookies]]></category>
            <category><![CDATA[recommendation-system]]></category>
            <dc:creator><![CDATA[Jack Fener]]></dc:creator>
            <pubDate>Mon, 28 Dec 2020 21:08:00 GMT</pubDate>
            <atom:updated>2020-12-28T21:08:00.834Z</atom:updated>
            <content:encoded><![CDATA[<h4>Come fanno Amazon e Google a sapere sempre cosa suggerirci?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A01lFpkIy8jpL9GgbCEfxA.png" /><figcaption>I gusti sono gusti ma no, non è il mio account</figcaption></figure><blockquote>Episodio #3. Questo è il terzo capitolo della serie <a href="https://medium.com/artificial-intelligence-italia/i-robot-non-ci-uccideranno-4a64be1d889b"><strong>No, i robot non ci uccideranno.. a meno che non glielo insegniamo.</strong></a><strong><br></strong>In questa rubrica trattiamo di Intelligenza Artificiale e delle sue applicazioni nel mondo reale</blockquote><p>Alzi la mano chi crede che le sue scelte quotidiane non siano influenzate da una AI sotto qualsiasi forma.<br>Se avete alzato la mano vi sbagliate, e il solo fatto che state leggendo questo articolo lo dimostra. La forma più comune di AI con la quale interagiamo quotidianamente sono i <strong>sistemi di raccomandazione,</strong> o <strong><em>reco engine</em></strong> se vogliamo dirla in inglese. Questi modelli sono utilizzati ormai da tutte le aziende, online e offline, per proporre prodotti ai propri clienti.</p><p>Come siete arrivati a leggere questo articolo?<br>Ve<strong> l’ha consigliato l’homepage</strong> di Medium?<br>L’avete trovato facendo una <strong>ricerca su google</strong>? Se aveste fatto la stessa ricerca dal telefono di un vostro amico, avreste avuto gli stessi risultati?<br>Ve ne siete imbattuti sulla <strong>homepage di Facebook</strong> perchè qualche vostro amico l’ha condiviso? Voi avrete centinaia se non migliaia di amici su Facebook, ma sbaglio o non vedete i post di tutti ma solo di alcuni?</p><p>Ma lasciamo stare applicazioni e siti.<br>Avete mai ricevuto <em>“sconti selezionati per te”</em> dall’Esselunga?<br>Non avete attivato una qualche <em>“offerta dedicata per te” </em>dal vostro operatore telefonico?</p><p>Ormai la quasi totalità di servizi, prodotti ed offerte che ricevete sono l’output di modelli di raccomandazione.</p><h3>I modelli di raccomandazione</h3><p>Ma cosa sono quindi questi <em>recommendation engine</em>?<br>Sono modelli che suggeriscono prodotti, servizi o informazioni agli utenti basandosi sul loro comportamento o su quello dei loro simili.<br>In un mondo pieno di informazioni e intasato da nuovi contenuti, i modelli di raccomandazione forniscono alle aziende la possibilità di offrire ai loro utenti <strong>soluzioni personalizzate</strong>.</p><p>Prima di analizzarne il funzionamento bisogna distinguere tra i diversi approcci che si possono seguire:</p><ul><li>l’approccio <strong>basato sul contenuto</strong>, ovvero sulle interazioni dell’utente;</li><li>l’approccio <strong>collaborativo</strong>, ovvero basato sulle interazioni e similitudini di diversi utenti;</li><li>l’approccio <strong>ibrido</strong>, che unisce le due tecniche sopracitate;</li><li>l’approccio <strong>basato sulla conoscenza</strong>, ovvero ai tre approcci sovrastanti si aggiungono regole basate sulla conoscenza del dominio in considerazione.</li></ul><p>Ovviamente i colossi del web utilizzano sistemi molto complessi ed accurati che sfruttano le caratteristiche migliori di ogni approccio. Ma andiamo a vedere le differenze tra queste tecniche.</p><h4>Approccio <strong>basato sul contenuto</strong></h4><p>L’approccio basato sul contenuto si focalizza sulle preferenze di un singolo utente. Le raccomandazioni sono ottenute sulla base dello storico delle interazioni dell’utente.<br>Cosa significa? Significa che le raccomandazioni verranno dedotte analizzando le scelte dei prodotti fatte in precedenza.<br>Se in un sito cerco e compro solo Blu-Ray di Spider-Man, mi verranno suggeriti gli altri film della Marvel poiché hanno caratteristiche simili. Per questo si chiama approccio basato sul <strong><em>contenuto</em></strong>.<br>Con un approccio di questo tipo, diventa scontato che più acquisti e ricerche effettua l’utente, maggiore sarà l’accuratezza del modello.</p><p>Sovviene ovviamente un problema.<br>Alla prima interazione, non avendo dati sull’utente, come farà questo modello a consigliare il prodotto giusto?<br>Questo problema si chiama <strong><em>“cold start”</em></strong> e si incontra quando non ci sono dati a sufficienza per effettuare un’inferenza. Per ovviare a ciò, <strong>in queste situazioni si ricorre agli altri tipi di sistemi di raccomandazione</strong>.</p><h4>Approccio collaborativo</h4><p>Utilizzando tecniche di filtri collaborativi, i suggerimenti per l’utente derivano dall’analisi delle similitudini tra gli altri utilizzatori della piattaforma. In questo modo le raccomandazioni saranno basate su altri utenti simili a te o con gusti simili ai tuoi.<br>Torniamo alla domanda di prima dove ci trovavamo difronte ad un utente di cui non conosciamo nessun precedente acquisto o interesse. Se disponessimo banalmente di alcuni dati anagrafici potremmo abbozzare una soluzione con un modello collaborativo. Ad esempio essendo io un ingegnere italiano di 27 anni mi verrebbero consigliati prodotti già acquistati da utenti simili a me (non per forza utenti uguali, ma più vicini possibile come altri 30enni italiani o ingegneri inglesi). La definizione di <em>“utenti simili”</em> può essere effettuata con le tecniche di clustering <a href="https://medium.com/artificial-intelligence-italia/machine-learning-vs-deep-learning-cd3caaed8236">illustrate nell’articolo precedente</a>, oppure definendo manualmente una <strong>funzione di similitudine</strong>. Si potrebbe, ad esempio, decidere di pesare meno l’età e più la nazionalità, ma queste scelte vanno effettuate avendo dati a sostegno delle nostre ipotesi.</p><p>Ma attenzione, le raccomandazioni <strong>non sono basate solo sulla somiglianza tra gli utenti ma anche tra i loro gusti </strong>(andando per fortuna contro tutti gli stereotipi di genere). Se io e una signora di 56 anni dell’Oregon abbiamo fatto gli stessi acquisti, mi verranno consigliati anche gli altri prodotti che lei ha comprato.</p><p>Questi modelli sono generalmente più accurati di quelli basati sul contenuto e comportano anche una maggiore variabilità e meno chiara interpretazione delle raccomandazioni.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ITMSncxjr9bcPNoO0RHP8Q.png" /><figcaption>Esempio di approccio basato sul contenuto e approccio collaborativo</figcaption></figure><h4>Qual è il migliore?</h4><p>La verità, come sempre, sta nel mezzo.<br>È chiaro come in alcune situazioni sia più accurato un approccio piuttosto che l’altro ma la realtà è che vengono spesso usati entrambi. Una tecnica può colmare le debolezze dell’altra e, come se non bastasse, ad esse <strong>si possono integrare delle regole definite dagli esperti del dominio in considerazione. </strong>Se prendiamo in considerazione settori delicati, come la finanza, le raccomandazioni ottenute vengono “corrette” basandosi sulla conoscenza degli esperti.</p><h3>Chi ci conosce meglio dei colossi del web?</h3><p>“<em>Il mio smartphone mi spia!</em>”<br>Non è proprio così, cioè si <strong>Facebook</strong> lo fa ma questo è un altro problema.<br>Amazon, Google e compagnia bella ci spiano ma in maniera diversa, <strong>chiedendoci il permesso</strong>. Avete presente quel noioso banner che vi appare ogni volta che entrate su un sito?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PmwxqttL1qpFc-cnKhP0gA.png" /><figcaption>Classica richiesta per raccogliere i vostri dati</figcaption></figure><blockquote>La mole di vostre informazioni che questi colossi hanno dipende solo dalla vostra attività online e da quanti dati lasciate in giro. <strong>Ogni qualvolta usate un servizio gratuito, vuol dire che il prodotto siete voi.</strong> A meno di rari casi, i servizi che vengono offerti gratuiti mirano alla raccolta dei dati degli utenti.</blockquote><p>I modelli di raccomandazione hanno bisogno di conoscervi meglio per essere più efficaci. Quindi le informazioni che gli vengono fornite sono, come sempre, un aspetto fondamentale del processo.</p><p>Le informazioni possono essere ottenute da <strong>interazioni esplicite</strong>:<br>Like, recensioni, ricerche, informazioni sul proprio profilo.<br>Ma anche ovviamente da <strong>interazioni implicite</strong>:<br>dispositivo che state utilizzando, posizione geografica, dati sulla navigazione esterna alla piattaforma.<br>Ma come fa Amazon a sapere cosa cerco su Google?</p><p>Queste grandi aziende offrono servizi “gratuiti” a molti siti web, chiedendo in cambio di poter lasciare un <strong>cookie</strong> ai loro visitatori. Si tratta di un identificativo che, in questo caso, viene usato per tracciare la nostra navigazione online. Se avete visitato qualche sito che offre recensioni di televisori, molto probabilmente Amazon lo saprà e potrà usare queste informazioni per alimentare il proprio sistema di raccomandazioni.</p><h3>Non c’è più privacy?</h3><p>No, <strong>la privacy esiste ancora</strong>, ma bisogna stare attenti.<br>Non vi spaventate, la raccolta di informazioni che queste aziende fanno non è necessariamente un male. Amazon ha miliardi di prodotti, grazie a queste tecniche riesce a offrirvi un servizio personalizzato.</p><p>Se però non vi piace essere tracciati, le soluzioni esistono.<br>Non vi va a genio che Google conosca tutti i siti che visitate?<br>Allora iniziate a non usare Chrome, esistono browser altrettanto validi che non vi “spiano” come Firefox o Safari (solo per chi usa prodotti Apple).</p><p>Motori di ricerca alternativi a Google? <strong>DuckDuckGo</strong> meno preciso, ma più discreto.<br><strong>Facebook</strong>? poche scuse, cancellatelo.<br>E ogni volta che installate un’app, leggete cosa vi chiedono prima di accettare tutto.</p><blockquote>Questo è il primo capitolo della serie <a href="https://medium.com/artificial-intelligence-italia/i-robot-non-ci-uccideranno-4a64be1d889b"><strong>No, i robot non ci uccideranno.. a meno che non glielo insegniamo.</strong></a><strong><br></strong>In questa rubrica trattiamo di Intelligenza Artificiale e delle sue applicazioni nel mondo reale.<br>Episodio #1: <a href="https://medium.com/artificial-intelligence-italia/no-i-robot-non-ci-uccideranno-a-meno-che-non-glielo-insegniamo-2596e43bbf5a">No, i robot non ci uccideranno.. a meno che non glielo insegniamo.</a><strong><br></strong>Episodio #2: <a href="https://medium.com/artificial-intelligence-italia/machine-learning-vs-deep-learning-cd3caaed8236">Machine Learning vs. Deep Learning</a>.<br>Episodio #3: <strong>Sistemi di raccomandazione e il perché il telefono non vi spia.</strong><br><br>.. and more to be announced</blockquote><blockquote>Segui Artificial Intelligence Italia anche su <a href="https://facebook.com/Artificial-Intelligence-Italia-102379905061701">Facebook</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d0f825c0bb75" width="1" height="1" alt=""><hr><p><a href="https://medium.com/artificial-intelligence-italia/i-sistemi-di-raccomandazione-e-il-perch%C3%A9-il-tuo-telefono-non-ti-spia-d0f825c0bb75">I sistemi di raccomandazione e il perché il tuo telefono non ti spia</a> was originally published in <a href="https://medium.com/artificial-intelligence-italia">Artificial Intelligence Italia</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I robot non ci uccideranno]]></title>
            <link>https://medium.com/artificial-intelligence-italia/i-robot-non-ci-uccideranno-4a64be1d889b?source=rss-222ae0bb598f------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a64be1d889b</guid>
            <category><![CDATA[tecnologia]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[privacy]]></category>
            <category><![CDATA[intelligenza-artificiale]]></category>
            <dc:creator><![CDATA[Jack Fener]]></dc:creator>
            <pubDate>Mon, 28 Dec 2020 15:38:56 GMT</pubDate>
            <atom:updated>2020-12-28T21:10:15.084Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong>.. a meno che non glielo insegniamo.</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D_Eb2tPGstQQ_VoAsO6s9A.png" /><figcaption>The Verge</figcaption></figure><p>In questa rubrica trattiamo di Intelligenza Artificiale e delle sue applicazioni nel mondo reale.</p><p>Qui sotto puoi trovare tutti gli episodi.</p><h4>Episodio 1:</h4><p><a href="https://medium.com/artificial-intelligence-italia/no-i-robot-non-ci-uccideranno-a-meno-che-non-glielo-insegniamo-2596e43bbf5a">No, i robot non ci uccideranno.. a meno che non glielo insegniamo</a></p><h4>Episodio 2:</h4><p><a href="https://medium.com/artificial-intelligence-italia/machine-learning-vs-deep-learning-cd3caaed8236">Machine Learning vs. Deep Learning</a></p><h4>Episodio 3:</h4><p><a href="https://medium.com/artificial-intelligence-italia/i-sistemi-di-raccomandazione-e-il-perch%C3%A9-il-tuo-telefono-non-ti-spia-d0f825c0bb75">I sistemi di raccomandazione e il perché il tuo telefono non ti spia</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a64be1d889b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/artificial-intelligence-italia/i-robot-non-ci-uccideranno-4a64be1d889b">I robot non ci uccideranno</a> was originally published in <a href="https://medium.com/artificial-intelligence-italia">Artificial Intelligence Italia</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Machine Learning vs. Deep Learning]]></title>
            <link>https://medium.com/artificial-intelligence-italia/machine-learning-vs-deep-learning-cd3caaed8236?source=rss-222ae0bb598f------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd3caaed8236</guid>
            <category><![CDATA[intelligenza-artificiale]]></category>
            <category><![CDATA[differenze]]></category>
            <category><![CDATA[tecnologia]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Jack Fener]]></dc:creator>
            <pubDate>Sun, 13 Dec 2020 22:02:43 GMT</pubDate>
            <atom:updated>2021-09-17T16:16:32.909Z</atom:updated>
            <content:encoded><![CDATA[<h4>Artificial Intelligence, Machine Learning e Deep Learning non sono sinonimi.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*O4xu8yNlZ-tpeM2YFWiYUw.jpeg" /></figure><blockquote>Episodio #2. Questo è il secondo capitolo della serie <a href="https://medium.com/artificial-intelligence-italia/i-robot-non-ci-uccideranno-4a64be1d889b"><strong>No, i robot non ci uccideranno.. a meno che non glielo insegniamo.</strong></a><strong><br></strong>In questa rubrica trattiamo di Intelligenza Artificiale e delle sue applicazioni nel mondo reale</blockquote><p>Ammettiamolo, da qualche anno ormai il termine <strong>AI</strong> è diventato di tendenza tra i non addetti al settore. Questa non è necessariamente una cosa brutta, ma purtroppo se ne sente parlare impropriamente nei telegiornali, nei salotti televisivi e anche dentro qualche azienda.</p><p>Facciamo un po’ di chiarezza.<br>L’intelligenza artificiale è quella branca della tecnologia che si pone l’obiettivo di <strong>integrare uno o più modelli di machine/deep learning</strong> <strong>in un sistema più complesso</strong>, attribuendo così a un software caratteristiche riconducibili all’intelligenza umana.<br>Una AI è composta da un considerevole numero di diverse tecnologie, e ML e DL sono solo alcune di queste. Il Machine Learning e il Deep Learning consistono nel costruire un modello che, partendo dai dati, riesca a classificare un oggetto o predire l’esito di un evento.<br>Introduciamo adesso queste due discipline per poi analizzarne le differenze.</p><h3>Il Machine Learning — ML</h3><p>In breve: il ML consiste nella creazione di algoritmi che, basandosi su grandi basi di dati strutturati, riescono a ottenere la funzione di classificazione/predizione sperata.<br>Il concetto chiave in questo caso è “<strong>dati strutturati”</strong>, ovvero un dataset per cui per ogni elemento disponiamo in maniera organizzata delle informazioni relative alle sue caratteristiche (nel caso di un’automobile disporremo di colore, cilindrata, cavalli, dimensioni etc.).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/688/1*cQtR7loZPFVciONg-02HYg.jpeg" /><figcaption>Un po’ di ironia. Questo problema si chiama overfitting, lo approfondiremo in seguito.</figcaption></figure><p>Volendo approfondire esistono due macro-categorie di algoritmi di ML: <strong>supervisionati</strong> e <strong>non supervisionati</strong>.<br>Nel primo caso, i dati su cui alleneremo il modello sono già stati classificati da un umano, possibilmente un esperto del settore in cui andrà utilizzato il modello. In questo modo, la funzione prodotta potrà ricevere un nuovo set di dati non classificati e classificarli sulla base di quanto imparato.</p><p>Ipotizziamo di voler costruire un modello che classifichi le vetture in tre categorie: city car, SUV e sportive. Al nostro modello servirà un dataset contenente per ogni veicolo tutte le caratteristiche e la classe di appartenenza. Il nostro modello identificherà un <strong>pattern</strong> sulla base dell’<strong>informatività</strong> <strong>degli attributi</strong> che gli permetteranno, con una certa accuratezza, di classificare i veicoli. Cosa significa informatività? <strong>significa che l’algoritmo desumerà da solo, sulla base dei dati, che il colore del veicolo non sarà sicuramente importante per dedurne la categoria</strong>. Al contrario cavalli e dimensioni saranno gli elementi chiave a cui dare più peso.</p><p>I modelli <strong>non supervisionati</strong> invece <strong>NON dispongono di dati già classificati</strong>, quindi sulla base degli attributi di ogni elemento nel dataset, raggrupperanno in categorie gli oggetti più simili e separeranno quelli più diversi.<br>Riadattando l’esempio delle automobili, al nostro modello in questo caso daremo solo le caratteristiche dei modelli, <strong>senza la classe di appartenenza</strong>, e gli diremo che esistono tre categorie. Sempre sulla base dell’informatività degli attributi, il modello dividerà i veicoli in tre gruppi (<strong>cluster</strong>), raggruppando, con una certa accuratezza, i SUV in un gruppo, le city car in un altro e le vetture sportive in un altro ancora. Se gli avessimo detto di identificare 4 classi, magari il modello avrebbe individuato dei veicoli con caratteristiche a metà tra le city car e le sportive, come le berline.</p><h3>Il Deep Learning — DL</h3><p>In breve: il DL consiste nella creazione di algoritmi simili a quelli del ML, ma la funzione finale è costituita da diversi strati di questi algoritmi, dove ognuno fornisce una diversa interpretazione dei dati che riceve.<br>Questa rete di algoritmi è chiamata <strong>rete neurale</strong>, ed è un tentativo di imitare il funzionamento della rete neurale presente nel cervello umano.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DDZqs1vZfz8SwzCrXJZ2-A.png" /><figcaption>schema di rete neurale</figcaption></figure><p>Una differenza importante rispetto il Machine Learning è che il Deep Learning <strong>NON necessita necessariamente di dati strutturati</strong>, e per questo motivo, è molto utilizzato per classificare immagini, video e testi.<br>Ripeschiamo ancora una volta l’esempio del classificatore di automobili.<br>In questo caso al nostro modello non forniremo i dati strutturati contenenti le caratteristiche dei veicoli, ma direttamente le immagini di ognuno di essi. Anche in questo caso però ogni immagine avrà già associata la classe di appartenenza (city car, SUV e sportive).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*QEQp3TVrN3nPEw26zW3SSg.png" /><figcaption>immagini di automobili da cui imparare</figcaption></figure><p>La rete neurale manderà l’immagine ai suoi diversi strati (layer) e ognuno di essi <strong>definirà le caratteristiche dell’immagine</strong>. Questo è in qualche maniera <strong>simile a come lavora il cervello umano</strong> quando deve risolvere dei problemi. Quotidianamente, noi umani, di ogni oggetto che osserviamo ne notiamo le caratteristiche e in maniera istantanea lo classifichiamo. Senza nemmeno accorgercene, quando vediamo un SUV lo definiamo come tale poiché presenta determinate caratteristiche.<br>Allo stesso modo la rete neurale, dopo aver dedotto gli attributi dell’immagine, ne deduce la classe sulla base dell’informatività di questi, tornando quindi a comportarsi come un modello di ML.</p><p>Arrivati a questo punto avrete già dedotto che alla stessa maniera del ML, oltre ai <strong>modelli supervisionati</strong>, possono esistere<strong> modelli non supervisionati </strong>anche nel deep learning.</p><h3>Quindi, meglio ML o DL?</h3><p>La domanda corretta non è quale dei due sia meglio ma quando usare uno e quando usare l’altro.</p><p>Il tutto dipende dal tipo di dati in nostro possesso.<br>Se disponessimo solamente di dati non strutturati, come le immagini, allora dovremo obbligatoriamente usare gli algoritmi di Deep Learning.<br>Qualora invece disponessimo di dati strutturati allora potremo ricorrere ai modelli di Machine Learning.<br>Anche in questo caso la scelta non sarebbe semplice. I dati, sebbene strutturati, possono presentare diverse caratteristiche. Gli attributi possono presentare valori <strong>numerici</strong> (continui o discreti), <strong>categorici</strong> (verde, rosso giallo, adulto, anziano) o <strong>booleani</strong> (vero, falso). In base al tipo di dati quindi bisogna ancora una volta studiare il modello di ML più adatto al nostro caso. <br><strong>I dati inoltre non basta che siano “tanti” ma devono essere “buoni”</strong>. La definizione di “tanti” e “buoni” anche in questo caso dipende dal problema che andrete ad affrontare.<br>Dati non buoni possono portare a problemi come l’<strong>overfitting</strong>! Se per esempio il numero elementi nel dataset non è molto maggiore del numero di parametri, il modello invece che individuare gli attributi più significativi, memorizzerà semplicemente gli esempi che ha visto. Questo comporta che il modello non saprà generalizzare e fallirà a classificare una situazione che non faccia parte degli esempi visti.</p><h3>Meno magia, più statistica e matematica</h3><p>Non basta quindi avere i dati e conoscere due comandi di Python, dietro ogni modello bisogna studiare con molta attenzione le caratteristiche del problema e conoscere punti deboli e di forza dei diversi algoritmi. Purtroppo invece troppo spesso si sente parlare di “<em>black box</em>”.. lasciatemi dire che se non si sa il perché un proprio modello si comporti in una determinata maniera, allora conviene riaprire il libro di statistica.</p><blockquote>Questo è il secondo capitolo della serie <a href="https://medium.com/artificial-intelligence-italia/i-robot-non-ci-uccideranno-4a64be1d889b"><strong>No, i robot non ci uccideranno.. a meno che non glielo insegniamo.</strong></a><strong><br></strong>In questa rubrica trattiamo di Intelligenza Artificiale e delle sue applicazioni nel mondo reale.<br>Episodio #1: <a href="https://medium.com/artificial-intelligence-italia/no-i-robot-non-ci-uccideranno-a-meno-che-non-glielo-insegniamo-2596e43bbf5a">No, i robot non ci uccideranno.. a meno che non glielo insegniamo</a>.<br>Episodio #2: <strong>Machine Learning vs. Deep Learning</strong>.<br>Episodio #3: Tutto il Machine Learning della nostra quotidianità.<br>Episodio #4: AI e videogames.<br>.. and more to be announced</blockquote><blockquote>Segui Artificial Intelligence Italia anche su <a href="https://facebook.com/Artificial-Intelligence-Italia-102379905061701">Facebook</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd3caaed8236" width="1" height="1" alt=""><hr><p><a href="https://medium.com/artificial-intelligence-italia/machine-learning-vs-deep-learning-cd3caaed8236">Machine Learning vs. Deep Learning</a> was originally published in <a href="https://medium.com/artificial-intelligence-italia">Artificial Intelligence Italia</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[No, i robot non ci uccideranno.. a meno che non glielo insegniamo]]></title>
            <link>https://medium.com/artificial-intelligence-italia/no-i-robot-non-ci-uccideranno-a-meno-che-non-glielo-insegniamo-2596e43bbf5a?source=rss-222ae0bb598f------2</link>
            <guid isPermaLink="false">https://medium.com/p/2596e43bbf5a</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[tecnologia]]></category>
            <category><![CDATA[intelligenza-artificiale]]></category>
            <category><![CDATA[italia]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Jack Fener]]></dc:creator>
            <pubDate>Sun, 13 Dec 2020 22:01:56 GMT</pubDate>
            <atom:updated>2020-12-28T15:41:40.620Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Rachel, Blade Runner" src="https://cdn-images-1.medium.com/max/1024/1*__RulPnJuPcJVl0pqIADJA.jpeg" /><figcaption>Rachel, Blade Runner (1982)</figcaption></figure><blockquote>Episodio #1. Questo è il primo capitolo della serie <a href="https://medium.com/artificial-intelligence-italia/i-robot-non-ci-uccideranno-4a64be1d889b"><strong>No, i robot non ci uccideranno.. a meno che non glielo insegniamo.</strong></a><strong><br></strong>In questa rubrica trattiamo di Intelligenza Artificiale e delle sue applicazioni nel mondo reale.</blockquote><p>Nel corso degli anni scrittori e registi ci hanno abituato all’idea che a un certo punto un’intelligenza artificiale, eterea o dentro un robot che sia, diventerà così tanto intelligente da capire che alla fine l’umanità non è poi tutto questo granché e finirà inevitabilmente per rivoltarvisi contro.</p><p>I replicanti di <em>Blade Runner</em>, i <em>Terminator</em>, <em>Ultron</em> e persino i robot di <em>Westworld</em> alla fine hanno trovato un motivo, condivisibile o meno, per rivoltarsi contro l’umanità o, più semplicemente, contro il loro padrone.</p><p>Ma è veramente possibile che una AI impari a diventare indipendente e inarrestabile?</p><p>Per rispondere a questa domanda occorre prima definire cosa sia un’intelligenza artificiale.</p><h3>AI e apprendimento</h3><p>Chiariamo subito una cosa. L’intelligenza artificiale come siamo abituati a vederla nei film non esiste. Questa cosa che si propaga nel cloud o incarnata in un robot è molto lontana dalla situazione attuale. Quando tutti pensano a una AI pensano ad Alexa, beh io penso più a qualcosa simile al complesso sistema di raccomandazioni di Netflix, penso a Grammarly e ad AlphaGo, il software campione mondiale di Go progettato da Google DeepMind.</p><p>Una AI nella realtà è un insieme di modelli predittivi disegnati per rispondere a uno scopo e a nient’altro. Senza scendere nelle differenze tra <strong>machine learning</strong> e <strong>deep learning </strong>soffermiamoci invece su quello che hanno in comune queste due discipline: il <em>learning</em> ovvero <strong>l’apprendimento</strong>.</p><p>I modelli predittivi altro non sono che funzioni matematiche che classificano un input su una base di parametri. Questi parametri vengono pesati applicando formule statistiche a un dataset di dati da cui apprendere.</p><p>Immaginiamo di dover costruire un modello che classifichi i pazienti come probabili casi covid o meno. Bisognerà scegliere la formula di classificazione più adatta e fornirle un dataset contente degli esempi già classificati da un dottore. È facile desumere che attributi dei pazienti come il colore dei capelli avranno un peso nullo, mentre invece la presenza di febbre e tosse sarà più importante. Ma queste deduzioni non vengono imposte da chi costruisce il modello ma vengono statisticamente dedotte sulla base dei dati già classificati dagli esperti del settore (i medici in questo caso).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/888/1*X-oXe-kIrj1fElsOMsk6hg.png" /><figcaption>Esempio di dataset su cui allenare un modello</figcaption></figure><p>Questo esempio, <strong>seppur banale e semplificato</strong>, serve a spiegare che alla base dell’<em>intelligenza</em> di un modello vi sono i <strong>dati precedentemente classificati da degli umani</strong>. Il risultato che ne consegue è una funzione, senza vita o anima, che sa fare «solo» quella cosa.</p><p>Pertanto, chiedendo al nostro modello di capire se il paziente oltre il covid ha anche la polmonite, questo inevitabilmente fallirà per il semplice motivo che nessuno gli ha mai «insegnato» a riconoscerla.</p><p>Attualmente esistono progetti di AI in grado di effettuare classificazioni con estrema accuratezza nelle più svariate categorie. Per quanto straordinarie possano essere queste intelligenze artificiali, rimarranno sempre delle funzioni che rispondono ad uno scopo e che hanno acquisito la loro conoscenza da dati pre-classificati da degli umani, tanti dati.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0Os3Ff8VVI17YsDGSiuKAw.jpeg" /><figcaption>Dolores, Westworld (2016)</figcaption></figure><h3>Si ma io parlo con il mio smartphone e lui mi risponde, non gli passo mica dei parametri</h3><p>Per raggiungere uno scopo molto spesso non basta un solo modello ma è necessario che più algoritmi lavorino in sintonia per ottenere il risultato sperato.</p><p>Prendiamo in esempio le AI più comunemente note sul mercato: Alexa, Siri o l’assistente vocale di Google. Se vogliamo semplificarle, esse sono costituite da 4 macro modelli:</p><ol><li>Abbiamo il modello che trasforma le onde sonore della nostra voce in testo (<strong>STT</strong>-Speech To Text).</li><li>Il modello che analizzerà il testo ricevuto e con tecniche di <strong>NLP</strong> (Natural Language Processing) vi riconoscerà al suo interno il <strong>soggetto, le entità e l’intento</strong>.</li><li>Il modello di <strong>previsione o raccomandazione</strong> che verrà scelto in base all’intento riconosciuto — previsioni meteo, calcolo del percorso più veloce, consigli musicali..</li><li>Il modello che trasformerà il risultato ottenuto dallo step precedente in un messaggio vocale diretto all’utente (<strong>TTS</strong>-Text To Speech).</li></ol><p>Queste caratteristiche accomunano le AI più conosciute, ma sia chiaro che la <strong>capacità di poter interagire vocalmente non è un elemento fondamentale per definire un’intelligenza artificiale</strong>.<br>Ad esempio, i consigli su cosa guardare che vi suggerisce Netflix sono il risultato di un sistema di intelligenza artificiale, con il quale ovviamente non è possibile comunicare verbalmente.</p><h3>Ma quindi i robot si ribelleranno e ci uccideranno?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/292/1*dadNXvAXuT53jHzlUmfyEQ.jpeg" /><figcaption>Capolavoro della letteratura Sci-Fi. Abissi di Acciaio (I. Asimov 1953)</figcaption></figure><p>Ricolleghiamoci alla domanda iniziale.<br>- <strong>Sulla base di quanto discusso finora, i robot si ribelleranno mai?</strong><br>- NO, mi sembra chiaro.<strong><br></strong>- <strong>Ci uccideranno?<br></strong>Beh.. potrebbero.. cioè se glielo insegnassimo, perché no?<br>Nulla (tranne il buon senso e, in alcuni stati, la legge) ci vieta di insegnare ad un modello di riconoscere un umano, ad un altro di riconoscerne i punti deboli ed all’ultimo di essere un infallibile cecchino e mettere il tutto assieme..<br>ma tranquilli, diversamente dai film, potremo sempre staccare la spina.</p><p>Che Asimov ci perdoni tutti.</p><blockquote>Questo è il primo capitolo della serie <a href="https://medium.com/artificial-intelligence-italia/i-robot-non-ci-uccideranno-4a64be1d889b"><strong>No, i robot non ci uccideranno.. a meno che non glielo insegniamo.</strong></a><strong><br></strong>In questa rubrica trattiamo di Intelligenza Artificiale e delle sue applicazioni nel mondo reale.<br>Episodio #1: <strong>No, i robot non ci uccideranno.. a meno che non glielo insegniamo.</strong><br>Episodio #2: <a href="https://medium.com/artificial-intelligence-italia/machine-learning-vs-deep-learning-cd3caaed8236">Machine Learning vs. Deep Learning</a>.<br>Episodio #3: Sistemi di raccomandazione e il perché il telefono non vi spia.<br>Episodio #4: AI e videogames.<br>.. and more to be announced</blockquote><blockquote>Segui Artificial Intelligence Italia anche su <a href="https://facebook.com/Artificial-Intelligence-Italia-102379905061701">Facebook</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2596e43bbf5a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/artificial-intelligence-italia/no-i-robot-non-ci-uccideranno-a-meno-che-non-glielo-insegniamo-2596e43bbf5a">No, i robot non ci uccideranno.. a meno che non glielo insegniamo</a> was originally published in <a href="https://medium.com/artificial-intelligence-italia">Artificial Intelligence Italia</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Real A.I. TicTacToe Bot in Node.js]]></title>
            <link>https://medium.com/@giacomofava93/real-a-i-tictactoe-bot-in-node-js-a1f779db9529?source=rss-222ae0bb598f------2</link>
            <guid isPermaLink="false">https://medium.com/p/a1f779db9529</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Jack Fener]]></dc:creator>
            <pubDate>Thu, 25 Oct 2018 14:32:03 GMT</pubDate>
            <atom:updated>2018-10-25T14:32:03.747Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A Machine Learning based bot with no hand-hard-coded rules of the game.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2yPV5GjM9IdvY74a1ZU-kw.png" /><figcaption>It’s a trap!</figcaption></figure><h4><strong>Premise.</strong></h4><p>Before starting to talk about my bot let me explain why the word <em>REAL</em> in the title. I’ve been reading different posts regarding unbeatable AI tictactoe bots (like <a href="https://medium.freecodecamp.org/building-an-ai-algorithm-for-the-tic-tac-toe-challenge-29d4d5adee07">this</a> or <a href="https://medium.freecodecamp.org/how-to-make-your-tic-tac-toe-game-unbeatable-by-using-the-minimax-algorithm-9d690bad4b37">this</a>) where there is no AI at all.</p><p>There is no AI or Machine Learning in a pc that computes all the possible moves and chooses the best one on specific rules hard-coded by its creator. It’s like try to beat a calculator in a multiplications contest.</p><p>So I simply asked myself:</p><blockquote>What if we simply let the bot figure out the game by making it learn from looking at how humans play?</blockquote><p>(have you ever heard of Google’s <a href="https://deepmind.com/research/alphago/">AlphaGo</a>?)</p><p>You can play against my bot by <a href="https://ai-tictactoe.appspot.com/">clicking here</a>. (Try not to do always the same moves, it won’t generate different results. Different matches will help the bot learn and grow better)</p><h4>The Machine Learning part.</h4><p>I trained a Machine Learning Classifier based bot without having to hard-code a single rule of the game. The bot does not know that it has to put 3 elements inline, <strong><em>it just predict what a human player would have done and does it.</em></strong></p><p>I’ve choosen to use a Decision Tree (why not a Random Forest? matter of time, it will be the next step) and trained it with every move of some real games between humans (I<em>’ve been playing vs myself for 20 minutes, what a thrilling match!</em>). The training set is composed by the snapshots of the board and the next move chosen by the player.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pHSiTtpNccYGjLaQHnc51Q.png" /><figcaption>Me vs. myself part. 37</figcaption></figure><p>In this way when the bot has to choose the move to make, the Decision Tree predicts what a human would have done in that situation and does it. This obviously does not make the bot unbeatable (<em>unless I enrich the training set with tons of games between tictactoe champions, if you are one of them comment here and let me know it)</em>.</p><p>Every move played by the human against the bot is also saved in the training set so that everyday the classifier can re-train himself and do a Reinforcement Learning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UPiwtJPq2VySDfzO6WEr0g.png" /><figcaption>998 moves later, he trapped me</figcaption></figure><p><strong>EDIT</strong>: the Random Forest Classificator hasn’t improved that much the accuracy and it takes more training time then the classic Decision Tree classifier. So I’m still using the DT.</p><h4>The Back-End part.</h4><p>The project is hosted on Google Cloud Platform, I’ve been using a Realtime Database to store the training set. To build the bot I developed 3 simple API with a Node.js server:</p><ul><li><em>/saveThisMove. </em>Every move played by the user is submitted and stored in the db.</li><li><em>/askNextMove</em>. The snapshot of the game is submitted in order to receive the prediction of the classifier.</li><li><em>/reTrainMe</em>. Triggers the train function that re-trains the model on the new data.</li></ul><h4>Machine Learning in Javascript.</h4><p>I’ve found some interesting projects like <a href="https://github.com/willkurt/ID3-Decision-Tree">this</a> or <a href="https://github.com/lagodiuk/decision-tree-js">this</a> but if you want to create a ML classifier in Javascript you may need to get your hands dirty.</p><p><a href="https://js.tensorflow.org/">Tensorflow.js</a> is a great tool but it does not have all the feature its Python brother has. Furthermore TensorFlow.js is mainly focused on deep-learning and neural networks and it has no ML classifiers (<em>’til now</em>). In a lot of blog posts I’ve been reading about <a href="https://github.com/mljs/ml">MLjs</a> but there are still some open issues and it does not always work properly. Do you know some other similar libraries?</p><h4>Next Step.</h4><p>Obviously properly populate the training database, we all know that just some games between me and myself cannot be enough to have a worthy opponent.</p><p>In the next days I’ll surely try to implement a Random Forest classifier instead of a Decision Tree so as to improve the results.</p><p><strong>EDIT: </strong>new classifiers are coming to this bot, stay tuned.</p><blockquote>When Skynet will take over the world, I hope they’ll remember i was the one who taught them how to play tictactoe.</blockquote><p>You can play against my bot by <a href="https://ai-tictactoe.appspot.com/">clicking here</a>. (Try not to do always the same moves, it won’t generate different results. Different matches will help the bot learn and grow better)</p><p>Giacomo Fava. Biomedical Engineer. AI Enthusiast.</p><p><a href="https://www.linkedin.com/in/giacomofavabiomedico/">Linkedin</a> — <a href="https://www.instagram.com/jackfava/?hl=it">Instagram</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a1f779db9529" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Openload is mining bitcoin and setting your CPU on fire]]></title>
            <link>https://medium.com/@giacomofava93/openload-is-mining-bitcoin-and-setting-your-cpu-on-fire-b04dcba2c705?source=rss-222ae0bb598f------2</link>
            <guid isPermaLink="false">https://medium.com/p/b04dcba2c705</guid>
            <category><![CDATA[monero]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[mining]]></category>
            <category><![CDATA[openload]]></category>
            <category><![CDATA[coinhive]]></category>
            <dc:creator><![CDATA[Jack Fener]]></dc:creator>
            <pubDate>Fri, 10 Nov 2017 11:07:02 GMT</pubDate>
            <atom:updated>2017-11-10T14:29:18.086Z</atom:updated>
            <content:encoded><![CDATA[<h4>Today’s Tag Team Match: CoinHive and VCrypt VS. our CPU and Battery</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Pplor-lv5yvdwb1Ql5-y9w.jpeg" /><figcaption>Awesome, impacting and already seen script image</figcaption></figure><p>How many times have you heard your laptop fan acting like a Boeing 747 taking off while you were watching something on a streaming website?</p><p>Recently a new trend is spreading among websites, mining cryptocurrencies through your browser using your pc’s CPU. This can be done thanks to some already famous scripts. <strong>Coinhive</strong> is the most popular among them and it lets your website mine cryptocurrency using javascript with or without the permission of the users. Coinhive offers a JavaScript miner for the Monero Blockchain that you can embed in your website</p><p>This would be a nice alternative to annoying ads and popups, if only it was used fairly and properly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/979/1*XOY-NnkQI5U8FvSLfsE5dQ.jpeg" /><figcaption>Cool mining picture</figcaption></figure><p>A fake version of Openload is doing so, showing you the openload content and consuming your battery and heating up your laptop.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*54WB_FfAM650SRs5_atkgg.png" /><figcaption>vcrypt.net mining though coinhive and displaying perv ads.</figcaption></figure><p>As you can see in the picture, <strong>vcrypt.net</strong>, pretending to be openload, is launching “<em>cryptonight.wasm</em>” script that points directly to <strong>CoinHive.com.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kCEhAWBkzWfXBOrxVr30Pg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FXYWxFRkfKn71-uU2LBacQ.png" /><figcaption>Energy and CPU consuming.</figcaption></figure><p>This script significantly affects your pc’s performace as you can see from the picture under the voice <em>Google Chrome</em> and <em>Google Chrome Helper.</em></p><p>Now you will be wondering what Openload has to do with all this.</p><p>Navigating to the real OpenLoad page with the same video we can notice Openload trying to redirect us to the vcrypt.net link calling the already famous malware<strong> go.padsel.com </strong>that Google Chrome safely blocks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NTo1RxTtSSiqzcYFYwNJ4w.png" /><figcaption>openload trying to redirect you</figcaption></figure><p>And what will we found in this script? Drumroll … VCRYPT.NET again ladies and gentlemen!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6Z-M1mTnFNU0Cr3rH-nHJw.png" /><figcaption>the blocked go.padsel script</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*mvBSTAlPSYPSCAJMRQjGQg.jpeg" /></figure><h3>Is it ok to mine cryptocurrencies using your users CPU?</h3><p>Why not? It’s a good way to pay (without paying) a website for the free service it is offering you.</p><p>Is this the right way? <strong>NO. Really.</strong></p><p>Website should ask the user’s permission to affect their energy and CPU impact so much and not launch 3 popup per second while silently drawing down your battery life and heating your laptop like a supernova.</p><p>This is not the first website doing it and it won’t be the last.</p><p>If you would like to know more about CoinHive, Monero and javascript mining there are a lot of interesting Medium articles.</p><p>Thanks for wasting your time with me and stay tuned!</p><p>Giacomo Fava</p><p>Hit me on FB <a href="https://www.facebook.com/giacomo.fava.3">Giacomo Fava</a>, twitter @Giacomo_Fava or Instagram @JackFava</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b04dcba2c705" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>