<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Jessica Amoura</title>
    <description>The latest articles on DEV Community by Jessica Amoura (@jessica_amoura_9c724083cf).</description>
    <link>https://dev.to/jessica_amoura_9c724083cf</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2440072%2Fab67bad3-0985-45ba-a14a-ccec3de68ea4.png</url>
      <title>DEV Community: Jessica Amoura</title>
      <link>https://dev.to/jessica_amoura_9c724083cf</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jessica_amoura_9c724083cf"/>
    <language>en</language>
    <item>
      <title>3 Reasons Why Dogs Understand Technology Better Than We Do! 🐾📱</title>
      <dc:creator>Jessica Amoura</dc:creator>
      <pubDate>Thu, 28 Nov 2024 18:29:27 +0000</pubDate>
      <link>https://dev.to/jessica_amoura_9c724083cf/3-reasons-why-dogs-understand-technology-better-than-we-do-1cpk</link>
      <guid>https://dev.to/jessica_amoura_9c724083cf/3-reasons-why-dogs-understand-technology-better-than-we-do-1cpk</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp2cygmt32evjncfjwv82.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp2cygmt32evjncfjwv82.jpg" alt="Image description" width="480" height="360"&gt;&lt;/a&gt;Ever feel like your dog is actually smarter than you? Here are a few reasons why dogs might just be the "tech masters" in your house:&lt;/p&gt;

&lt;p&gt;Mastering the TV Remote (or at Least Destroying It) 📺&lt;br&gt;
Dog: "I’ve figured out how to operate the TV remote. Every time I want to watch my favorite show (aka napping on the couch), I just press the buttons until it changes the channel... or I chew it up! No problem!”&lt;/p&gt;

&lt;p&gt;Mastering Smartphones (In Their Own Way) 📱&lt;br&gt;
Every time you put your phone on the table, your dog wants to join in on your video call “meeting.” But instead of engaging with your clients, they’ll happily chase your fingers on the screen or knock the phone off the table. Great, right?&lt;/p&gt;

&lt;p&gt;Their Smart Security System 🛡️&lt;br&gt;
Our dogs are highly sensitive to strange noises around the house. The second the front door creaks, they’re on high alert, barking louder than a fire alarm! Who needs security cameras when you’ve got a dog guard dog?&lt;/p&gt;

&lt;p&gt;Bonus Fun:&lt;br&gt;
How many times have you found your dog more "connected" to the world than you are, even when you're trying to access Wi-Fi and your dog is calmly waiting for their food to arrive?&lt;/p&gt;

&lt;p&gt;Read More &lt;a href="https://shorturl.at/lx2vU&amp;lt;br&amp;gt;%0A![Image%20description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pwyad613ugoxgsfbpm6c.jpg)" rel="noopener noreferrer"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>lifelessons</category>
      <category>programminghumor</category>
      <category>creativity</category>
      <category>techcommunity</category>
    </item>
    <item>
      <title>How My Dog Became My Hero: Lessons in Love, Laughter, and Life</title>
      <dc:creator>Jessica Amoura</dc:creator>
      <pubDate>Thu, 28 Nov 2024 18:02:55 +0000</pubDate>
      <link>https://dev.to/jessica_amoura_9c724083cf/how-my-dog-became-my-hero-lessons-in-love-laughter-and-life-1kfa</link>
      <guid>https://dev.to/jessica_amoura_9c724083cf/how-my-dog-became-my-hero-lessons-in-love-laughter-and-life-1kfa</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp54ebrsic0qove62eo58.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp54ebrsic0qove62eo58.jpg" alt="Image description" width="320" height="180"&gt;&lt;/a&gt;Introduction&lt;br&gt;
As developers, we often get lost in lines of code, deadlines, and debugging sessions. It’s easy to forget that life happens beyond the keyboard. For me, that reminder came in the form of a furry, four-legged friend. 🐶&lt;/p&gt;

&lt;p&gt;This is the story of how my dog became more than just a pet—he became my hero, a source of daily inspiration, and a reminder of the importance of balance, patience, and unconditional love.&lt;/p&gt;

&lt;p&gt;Lesson 1: Embrace Playfulness&lt;br&gt;
Coding requires precision and focus, but life isn’t always about structure. My dog taught me to embrace the unexpected and to find joy in the simplest things—whether it's a walk in the park or a spontaneous game of fetch.&lt;/p&gt;

&lt;p&gt;💡 Takeaway for Developers:&lt;br&gt;
Sometimes, the best solutions arise when you step away from the screen. Play, relax, and let your mind wander. Creativity thrives in those moments.&lt;/p&gt;

&lt;p&gt;Lesson 2: Patience Pays Off&lt;br&gt;
Debugging can be frustrating, and so can training a dog. Both require patience and persistence. There were times when teaching my dog a new trick seemed impossible, but with time, consistency, and a bit of positive reinforcement, success followed.&lt;/p&gt;

&lt;p&gt;💡 Takeaway for Developers:&lt;br&gt;
Don’t give up when facing a tough bug or a complex problem. Break it down, stay consistent, and eventually, you’ll find a solution.&lt;/p&gt;

&lt;p&gt;Lesson 3: Unconditional Support Matters&lt;br&gt;
My dog is always there, no matter how my day went. His loyalty and support remind me of the importance of having a support system—both in life and in the tech community.&lt;/p&gt;

&lt;p&gt;💡 Takeaway for Developers:&lt;br&gt;
Engage with your community. Whether it’s through open-source contributions, mentoring, or just offering a kind word to a fellow dev, we thrive when we support each other.&lt;/p&gt;

&lt;p&gt;Conclusion&lt;br&gt;
Life as a developer can be demanding, but it’s important to find inspiration and balance outside of work. For me, that inspiration comes from my dog—a constant reminder to live, laugh, and love beyond the code.&lt;/p&gt;

&lt;p&gt;Want to read more about how my dog transformed my life? 📖&lt;br&gt;
Read the full story here: &lt;a href="https://shorturl.at/lx2vU" rel="noopener noreferrer"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Let me know in the comments: What inspires you outside of tech? 🐾&lt;/p&gt;

</description>
      <category>lifelessons</category>
      <category>pettechnology</category>
      <category>opensourcepets</category>
      <category>programminghumor</category>
    </item>
    <item>
      <title>How I Built a Movie Recommendation System Using Python</title>
      <dc:creator>Jessica Amoura</dc:creator>
      <pubDate>Sat, 16 Nov 2024 04:56:48 +0000</pubDate>
      <link>https://dev.to/jessica_amoura_9c724083cf/how-i-built-a-movie-recommendation-system-using-python-802</link>
      <guid>https://dev.to/jessica_amoura_9c724083cf/how-i-built-a-movie-recommendation-system-using-python-802</guid>
      <description>&lt;p&gt;Introduction&lt;br&gt;
Ever wondered how Netflix knows just what you want to watch? Recommendation systems have become an essential part of the movie industry, helping users discover films they'll love based on their preferences. In this post, I'll walk you through how I built a simple movie recommendation system using Python, leveraging publicly available datasets and libraries. Whether you're a beginner or an experienced developer, this guide will be a fun dive into the world of data and recommendations.&lt;/p&gt;

&lt;p&gt;Step 1: Gathering the Data&lt;br&gt;
To build any recommendation system, we first need data. For movies, one of the best datasets available is the MovieLens dataset. It includes information like movie titles, genres, and user ratings.&lt;/p&gt;

&lt;p&gt;Download the dataset: Visit the MovieLens website and download the dataset.&lt;br&gt;
Load the data into Python: Use libraries like Pandas to read the dataset.&lt;br&gt;
python&lt;br&gt;
Salin kode&lt;br&gt;
import pandas as pd&lt;/p&gt;

&lt;h1&gt;
  
  
  Load the movies and ratings dataset
&lt;/h1&gt;

&lt;p&gt;movies = pd.read_csv('movies.csv')&lt;br&gt;
ratings = pd.read_csv('ratings.csv')&lt;/p&gt;

&lt;p&gt;print(movies.head())&lt;br&gt;
print(ratings.head())&lt;br&gt;
Step 2: Choosing the Recommendation Approach&lt;br&gt;
There are two popular types of recommendation systems:&lt;/p&gt;

&lt;p&gt;Content-Based Filtering: Recommends movies similar to what the user has liked before.&lt;br&gt;
Collaborative Filtering: Recommends movies based on what similar users have liked.&lt;br&gt;
For this tutorial, let's use content-based filtering.&lt;/p&gt;

&lt;p&gt;Step 3: Building the Model&lt;br&gt;
We'll use the TF-IDF Vectorizer from the sklearn library to analyze the movie genres and descriptions.&lt;/p&gt;

&lt;p&gt;python&lt;br&gt;
Salin kode&lt;br&gt;
from sklearn.feature_extraction.text import TfidfVectorizer&lt;br&gt;
from sklearn.metrics.pairwise import cosine_similarity&lt;/p&gt;

&lt;h1&gt;
  
  
  Vectorize the genres
&lt;/h1&gt;

&lt;p&gt;tfidf = TfidfVectorizer(stop_words='english')&lt;br&gt;
movies['genres'] = movies['genres'].fillna('')  # Fill NaN values&lt;br&gt;
tfidf_matrix = tfidf.fit_transform(movies['genres'])&lt;/p&gt;

&lt;h1&gt;
  
  
  Compute similarity matrix
&lt;/h1&gt;

&lt;p&gt;cosine_sim = cosine_similarity(tfidf_matrix, tfidf_matrix)&lt;/p&gt;

&lt;p&gt;print(cosine_sim.shape)&lt;br&gt;
Step 4: Building a Recommendation Function&lt;br&gt;
Now, let's create a function to recommend movies based on a selected title.&lt;/p&gt;

&lt;p&gt;python&lt;br&gt;
Salin kode&lt;br&gt;
def recommend_movies(title, cosine_sim=cosine_sim):&lt;br&gt;
    indices = pd.Series(movies.index, index=movies['title']).drop_duplicates()&lt;br&gt;
    idx = indices[title]&lt;/p&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# Get pairwise similarity scores&lt;br&gt;
sim_scores = list(enumerate(cosine_sim[idx]))&lt;br&gt;
sim_scores = sorted(sim_scores, key=lambda x: x[1], reverse=True)
&lt;h1&gt;
  
  
  Get top 10 recommendations
&lt;/h1&gt;

&lt;p&gt;sim_scores = sim_scores[1:11]&lt;br&gt;
movie_indices = [i[0] for i in sim_scores]&lt;/p&gt;

&lt;p&gt;return movies['title'].iloc[movie_indices]&lt;br&gt;
&lt;/p&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h1&gt;
&lt;br&gt;
  &lt;br&gt;
  &lt;br&gt;
  Example&lt;br&gt;
&lt;/h1&gt;

&lt;p&gt;print(recommend_movies('Toy Story (1995)'))&lt;br&gt;
Step 5: Testing the Model&lt;br&gt;
Once the function is ready, test it with different movie titles to see if the recommendations align with your expectations.&lt;/p&gt;

&lt;p&gt;Step 6: Deployment (Optional)&lt;br&gt;
If you want to take it further, deploy this model as a simple web application using frameworks like Flask or Django. Here's a snippet for Flask:&lt;/p&gt;

&lt;p&gt;python&lt;br&gt;
Salin kode&lt;br&gt;
from flask import Flask, request, jsonify&lt;/p&gt;

&lt;p&gt;app = Flask(&lt;strong&gt;name&lt;/strong&gt;)&lt;/p&gt;

&lt;p&gt;@app.route('/recommend', methods=['GET'])&lt;br&gt;
def recommend():&lt;br&gt;
    title = request.args.get('title')&lt;br&gt;
    recommendations = recommend_movies(title)&lt;br&gt;
    return jsonify(recommendations.tolist())&lt;/p&gt;

&lt;p&gt;if &lt;strong&gt;name&lt;/strong&gt; == '&lt;strong&gt;main&lt;/strong&gt;':&lt;br&gt;
    app.run(debug=True)&lt;br&gt;
Conclusion&lt;br&gt;
Congratulations! You've just built a basic movie recommendation system using Python. While this is a simple implementation, it opens up possibilities for more complex systems using deep learning or hybrid models. 🎮 Check it out now! &lt;a href="https://shorturl.at/dwHQI" rel="noopener noreferrer"&gt;https://shorturl.at/dwHQI&lt;/a&gt;&lt;br&gt;
👉 Watch it here &lt;a href="https://shorturl.at/zvAqO" rel="noopener noreferrer"&gt;https://shorturl.at/zvAqO&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you enjoyed this post, feel free to leave a comment or share your ideas for improving the system. Happy coding!&lt;/p&gt;

&lt;p&gt;Tags&lt;/p&gt;

&lt;h1&gt;
  
  
  movies #python #recommendationsystem #machinelearning #api
&lt;/h1&gt;

&lt;p&gt;Let me know if you'd like to customize this further or add specific sections!🎮 Check it out now! &lt;a href="https://shorturl.at/dwHQI" rel="noopener noreferrer"&gt;https://shorturl.at/dwHQI&lt;/a&gt;&lt;br&gt;
👉 Watch it here &lt;a href="https://shorturl.at/zvAqO" rel="noopener noreferrer"&gt;https://shorturl.at/zvAqO&lt;/a&gt;&lt;/p&gt;

</description>
      <category>payton</category>
      <category>videoscre</category>
      <category>javascript</category>
      <category>striming</category>
    </item>
  </channel>
</rss>
