{"id":162,"date":"2026-11-25T18:00:00","date_gmt":"2026-11-25T12:30:00","guid":{"rendered":"https:\/\/blogs.projectduniya.com\/?p=162"},"modified":"2026-11-24T10:47:32","modified_gmt":"2026-11-24T05:17:32","slug":"e-commerce-website-with-product-recommendation-system-using-python-complete-project-guide","status":"publish","type":"post","link":"https:\/\/blogs.projectduniya.com\/index.php\/2026\/11\/25\/e-commerce-website-with-product-recommendation-system-using-python-complete-project-guide\/","title":{"rendered":"E-Commerce Website with Product Recommendation System Using Python: Complete Project Guide"},"content":{"rendered":"\n<style>\n.pd-article {\n  font-family: Arial, sans-serif;\n  font-size: 16px;\n  line-height: 1.75;\n  color: #263238;\n}\n.pd-article h2 {\n  color: #12345a;\n  font-size: 26px;\n  line-height: 1.3;\n  margin: 32px 0 14px;\n}\n.pd-article h3 {\n  color: #174b75;\n  font-size: 20px;\n  margin: 24px 0 10px;\n}\n.pd-article p { margin: 0 0 16px; }\n.pd-article ul, .pd-article ol {\n  margin: 0 0 20px;\n  padding-left: 26px;\n}\n.pd-article li { margin-bottom: 8px; }\n.pd-article a { color: #0875c1; text-decoration: underline; }\n.pd-article .pd-note {\n  background: #eaf4ff;\n  border-left: 4px solid #2786d5;\n  padding: 15px 18px;\n  margin: 20px 0;\n  border-radius: 5px;\n}\n.pd-article .pd-example {\n  background: #f3f6f8;\n  border: 1px solid #dce3e8;\n  border-radius: 6px;\n  padding: 15px 18px;\n  margin: 18px 0;\n}\n.pd-article .pd-table-wrap {\n  overflow-x: auto;\n  margin: 20px 0;\n}\n.pd-article table {\n  width: 100%;\n  min-width: 560px;\n  border-collapse: collapse;\n}\n.pd-article th, .pd-article td {\n  border: 1px solid #cbd5df;\n  padding: 11px;\n  text-align: left;\n}\n.pd-article th {\n  background: #12345a;\n  color: #fff;\n}\n.pd-article tr:nth-child(even) { background: #f1f5f8; }\n.pd-article pre {\n  overflow-x: auto;\n  background: #17212b;\n  color: #e8f1f8;\n  padding: 17px;\n  border-radius: 7px;\n  font-size: 13px;\n  line-height: 1.6;\n}\n.pd-article code { font-family: Consolas, monospace; }\n.pd-article .pd-conclusion {\n  background: #eef6f1;\n  border-left: 4px solid #329568;\n  padding: 17px 19px;\n  margin: 24px 0;\n  border-radius: 5px;\n}\n<\/style>\n\n<div class=\"pd-article\">\n\n<h2>Introduction<\/h2>\n\n<p>E-commerce websites allow customers to browse and purchase products online. However, when an online store contains hundreds or thousands of products, customers may find it difficult to discover items that match their interests.<\/p>\n\n<p>A product recommendation system helps solve this problem by suggesting products based on product information, customer preferences, browsing activity, and purchase history. For example, a customer interested in laptops may also receive recommendations for laptop bags, keyboards, and wireless mice.<\/p>\n\n<p>In this project, you will build an E-Commerce Website with a Product Recommendation System using Python and Django. The application will include customer registration, product categories, product search, a shopping cart, checkout, order history, and a machine learning recommendation engine.<\/p>\n\n<p>The first version will use content-based filtering. It will compare product names, categories, and descriptions to find similar products. This approach is suitable for a student project because it can generate recommendations without requiring a large history of customer purchases.<\/p>\n\n<div class=\"pd-note\">\n<strong>Project objective:<\/strong> Develop a working e-commerce application that allows customers to browse products, manage shopping carts, place orders, and receive product recommendations using machine learning.\n<\/div>\n\n<h2>1. Project Overview<\/h2>\n\n<div class=\"pd-table-wrap\">\n<table>\n<thead>\n<tr><th>Component<\/th><th>Description<\/th><\/tr>\n<\/thead>\n<tbody>\n<tr><td>Project title<\/td><td>E-Commerce Website with Product Recommendation System<\/td><\/tr>\n<tr><td>Programming language<\/td><td>Python<\/td><\/tr>\n<tr><td>Backend framework<\/td><td>Django<\/td><\/tr>\n<tr><td>Frontend<\/td><td>HTML, CSS, Bootstrap, JavaScript<\/td><\/tr>\n<tr><td>Database<\/td><td>SQLite for local development<\/td><\/tr>\n<tr><td>Machine learning<\/td><td>Scikit-learn<\/td><\/tr>\n<tr><td>Recommendation algorithm<\/td><td>TF-IDF and cosine similarity<\/td><\/tr>\n<tr><td>User roles<\/td><td>Customer and administrator<\/td><\/tr>\n<tr><td>Checkout demonstration<\/td><td>Cash on delivery<\/td><\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n\n<h2>2. Main Features<\/h2>\n\n<h3>Customer features<\/h3>\n<ul>\n<li>Register, log in, and log out.<\/li>\n<li>Browse products by category.<\/li>\n<li>Search products by name and description.<\/li>\n<li>View product descriptions, prices, and stock availability.<\/li>\n<li>Add products to a shopping cart.<\/li>\n<li>Update product quantities and remove cart items.<\/li>\n<li>Place orders through checkout.<\/li>\n<li>View previous orders and order details.<\/li>\n<li>Receive recommendations for similar products.<\/li>\n<\/ul>\n\n<h3>Administrator features<\/h3>\n<ul>\n<li>Access the Django administration panel.<\/li>\n<li>Add, update, and deactivate products.<\/li>\n<li>Create and manage product categories.<\/li>\n<li>Upload product images.<\/li>\n<li>Update product prices and stock quantities.<\/li>\n<li>View customer orders.<\/li>\n<li>Update order statuses.<\/li>\n<li>Monitor product and order records.<\/li>\n<\/ul>\n\n<h3>Recommendation features<\/h3>\n<ul>\n<li>Compare products using their text descriptions.<\/li>\n<li>Identify products with similar categories and attributes.<\/li>\n<li>Rank products according to similarity scores.<\/li>\n<li>Display recommendations on product detail pages.<\/li>\n<li>Show popular products when personalized recommendations are unavailable.<\/li>\n<\/ul>\n\n<h2>3. How the System Works<\/h2>\n\n<p>The application follows a simple e-commerce workflow:<\/p>\n\n<ol>\n<li>The administrator adds products and categories.<\/li>\n<li>A customer registers or logs in.<\/li>\n<li>The customer browses products or searches for an item.<\/li>\n<li>The recommendation engine finds similar products.<\/li>\n<li>The customer adds products to the shopping cart.<\/li>\n<li>The customer reviews the cart and proceeds to checkout.<\/li>\n<li>The server validates the product stock and creates the order.<\/li>\n<li>The customer views the order confirmation and order history.<\/li>\n<\/ol>\n\n<h2>4. Understanding the Recommendation Algorithms<\/h2>\n\n<h3>Content-based filtering<\/h3>\n\n<p>Content-based filtering recommends products that share characteristics with a product the customer is viewing or has previously interacted with.<\/p>\n\n<p>For example, if a customer views a wireless keyboard, the system can compare its description with other products and recommend keyboards, computer accessories, or related products.<\/p>\n\n<h3>Collaborative filtering<\/h3>\n\n<p>Collaborative filtering uses customer interactions to identify patterns between users and products. It can recommend products based on what similar customers viewed, liked, added to their carts, or purchased.<\/p>\n\n<h3>Hybrid recommendation<\/h3>\n\n<p>A hybrid recommendation system combines content-based filtering and collaborative filtering. It can use product descriptions when interaction data is limited and customer behaviour when sufficient data is available.<\/p>\n\n<div class=\"pd-table-wrap\">\n<table>\n<thead>\n<tr><th>Method<\/th><th>Required data<\/th><th>Use in this project<\/th><\/tr>\n<\/thead>\n<tbody>\n<tr><td>Content-based<\/td><td>Product names, categories, descriptions<\/td><td>Implemented in the main tutorial<\/td><\/tr>\n<tr><td>Collaborative<\/td><td>Customer-product interactions<\/td><td>Optional advanced extension<\/td><\/tr>\n<tr><td>Hybrid<\/td><td>Product attributes and interactions<\/td><td>Future enhancement<\/td><\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n\n<h2>5. Technologies Required<\/h2>\n\n<ul>\n<li><strong>Python:<\/strong> Backend programming and recommendation logic.<\/li>\n<li><strong>Django:<\/strong> Application routing, authentication, database models, and views.<\/li>\n<li><strong>SQLite:<\/strong> Local database for development.<\/li>\n<li><strong>Scikit-learn:<\/strong> TF-IDF vectorization and cosine similarity.<\/li>\n<li><strong>Pillow:<\/strong> Image handling for product uploads.<\/li>\n<li><strong>HTML and CSS:<\/strong> Frontend structure and styling.<\/li>\n<li><strong>Bootstrap:<\/strong> Responsive layout and product cards.<\/li>\n<li><strong>JavaScript:<\/strong> Optional interactive interface elements.<\/li>\n<\/ul>\n\n<h2>6. Install the Required Software<\/h2>\n\n<p>Install Python and create a project directory.<\/p>\n\n<p>Create a virtual environment:<\/p>\n\n<pre><code>python -m venv venv<\/code><\/pre>\n\n<p>Activate it on Windows:<\/p>\n\n<pre><code>venv\\Scripts\\activate<\/code><\/pre>\n\n<p>On macOS or Linux:<\/p>\n\n<pre><code>source venv\/bin\/activate<\/code><\/pre>\n\n<p>Install the required packages:<\/p>\n\n<pre><code>pip install django scikit-learn pillow<\/code><\/pre>\n\n<p>Check the Django installation:<\/p>\n\n<pre><code>python -m django --version<\/code><\/pre>\n\n<h2>7. Create the Django Project<\/h2>\n\n<p>Create a Django project named <code>ecommerce<\/code>:<\/p>\n\n<pre><code>django-admin startproject ecommerce\ncd ecommerce<\/code><\/pre>\n\n<p>Create an application named <code>shop<\/code>:<\/p>\n\n<pre><code>python manage.py startapp shop<\/code><\/pre>\n\n<p>Open <code>ecommerce\/settings.py<\/code> and add the application:<\/p>\n\n<pre><code>INSTALLED_APPS = [\n    \"django.contrib.admin\",\n    \"django.contrib.auth\",\n    \"django.contrib.contenttypes\",\n    \"django.contrib.sessions\",\n    \"django.contrib.messages\",\n    \"django.contrib.staticfiles\",\n    \"shop\",\n]<\/code><\/pre>\n\n<p>Configure the templates, media files, and authentication redirects. Add the following settings:<\/p>\n\n<pre><code>TEMPLATES[0][\"DIRS\"] = [\n    BASE_DIR \/ \"templates\"\n]\n\nMEDIA_URL = \"\/media\/\"\nMEDIA_ROOT = BASE_DIR \/ \"media\"\n\nLOGIN_URL = \"login\"\nLOGIN_REDIRECT_URL = \"product_list\"\nLOGOUT_REDIRECT_URL = \"product_list\"<\/code><\/pre>\n\n<p>The default SQLite database configuration is sufficient for this local development version.<\/p>\n\n<h2>8. Recommended Project Structure<\/h2>\n\n<p>Organize the project as follows:<\/p>\n\n<pre><code>ecommerce\/\n\u2502\n\u251c\u2500\u2500 manage.py\n\u2502\n\u251c\u2500\u2500 ecommerce\/\n\u2502   \u251c\u2500\u2500 settings.py\n\u2502   \u251c\u2500\u2500 urls.py\n\u2502   \u251c\u2500\u2500 asgi.py\n\u2502   \u2514\u2500\u2500 wsgi.py\n\u2502\n\u251c\u2500\u2500 shop\/\n\u2502   \u251c\u2500\u2500 migrations\/\n\u2502   \u251c\u2500\u2500 models.py\n\u2502   \u251c\u2500\u2500 admin.py\n\u2502   \u251c\u2500\u2500 forms.py\n\u2502   \u251c\u2500\u2500 views.py\n\u2502   \u251c\u2500\u2500 urls.py\n\u2502   \u251c\u2500\u2500 cart.py\n\u2502   \u251c\u2500\u2500 recommender.py\n\u2502   \u2514\u2500\u2500 tests.py\n\u2502\n\u251c\u2500\u2500 templates\/\n\u2502   \u251c\u2500\u2500 base.html\n\u2502   \u251c\u2500\u2500 registration\/\n\u2502   \u2502   \u251c\u2500\u2500 login.html\n\u2502   \u2502   \u2514\u2500\u2500 register.html\n\u2502   \u2514\u2500\u2500 shop\/\n\u2502       \u251c\u2500\u2500 product_list.html\n\u2502       \u251c\u2500\u2500 product_detail.html\n\u2502       \u251c\u2500\u2500 cart.html\n\u2502       \u251c\u2500\u2500 checkout.html\n\u2502       \u251c\u2500\u2500 order_success.html\n\u2502       \u251c\u2500\u2500 order_history.html\n\u2502       \u2514\u2500\u2500 order_detail.html\n\u2502\n\u2514\u2500\u2500 media\/\n    \u2514\u2500\u2500 products\/<\/code><\/pre>\n\n<h2>9. Create the Database Models<\/h2>\n\n<p>The database stores categories, products, customer orders, order items, and product interactions.<\/p>\n\n<p>Open <code>shop\/models.py<\/code> and add:<\/p>\n\n<pre><code>from django.db import models\nfrom django.contrib.auth.models import User\n\n\nclass Category(models.Model):\n    name = models.CharField(max_length=100)\n    slug = models.SlugField(unique=True)\n\n    class Meta:\n        ordering = [\"name\"]\n\n    def __str__(self):\n        return self.name\n\n\nclass Product(models.Model):\n    category = models.ForeignKey(\n        Category,\n        on_delete=models.PROTECT,\n        related_name=\"products\"\n    )\n\n    name = models.CharField(max_length=200)\n    description = models.TextField()\n\n    price = models.DecimalField(\n        max_digits=10,\n        decimal_places=2\n    )\n\n    stock = models.PositiveIntegerField(default=0)\n\n    image = models.ImageField(\n        upload_to=\"products\/\",\n        blank=True,\n        null=True\n    )\n\n    is_active = models.BooleanField(default=True)\n\n    created_at = models.DateTimeField(\n        auto_now_add=True\n    )\n\n    class Meta:\n        ordering = [\"-created_at\"]\n\n    def __str__(self):\n        return self.name\n\n\nclass Order(models.Model):\n    STATUS_CHOICES = [\n        (\"PENDING\", \"Pending\"),\n        (\"CONFIRMED\", \"Confirmed\"),\n        (\"SHIPPED\", \"Shipped\"),\n        (\"DELIVERED\", \"Delivered\"),\n        (\"CANCELLED\", \"Cancelled\"),\n    ]\n\n    customer = models.ForeignKey(\n        User,\n        on_delete=models.PROTECT,\n        related_name=\"orders\"\n    )\n\n    full_name = models.CharField(max_length=150)\n    email = models.EmailField()\n    phone = models.CharField(max_length=20)\n    address = models.TextField()\n    city = models.CharField(max_length=100)\n    postal_code = models.CharField(max_length=20)\n\n    status = models.CharField(\n        max_length=20,\n        choices=STATUS_CHOICES,\n        default=\"PENDING\"\n    )\n\n    total_amount = models.DecimalField(\n        max_digits=12,\n        decimal_places=2,\n        default=0\n    )\n\n    payment_method = models.CharField(\n        max_length=30,\n        default=\"COD\"\n    )\n\n    created_at = models.DateTimeField(\n        auto_now_add=True\n    )\n\n    class Meta:\n        ordering = [\"-created_at\"]\n\n    def __str__(self):\n        return f\"Order #{self.id}\"\n\n\nclass OrderItem(models.Model):\n    order = models.ForeignKey(\n        Order,\n        on_delete=models.CASCADE,\n        related_name=\"items\"\n    )\n\n    product = models.ForeignKey(\n        Product,\n        on_delete=models.PROTECT\n    )\n\n    product_name = models.CharField(max_length=200)\n\n    quantity = models.PositiveIntegerField()\n\n    unit_price = models.DecimalField(\n        max_digits=10,\n        decimal_places=2\n    )\n\n    def subtotal(self):\n        return self.unit_price * self.quantity\n\n    def __str__(self):\n        return self.product_name\n\n\nclass ProductInteraction(models.Model):\n    EVENT_CHOICES = [\n        (\"VIEW\", \"View\"),\n        (\"CART\", \"Add to cart\"),\n        (\"PURCHASE\", \"Purchase\"),\n        (\"LIKE\", \"Like\"),\n    ]\n\n    user = models.ForeignKey(\n        User,\n        on_delete=models.CASCADE\n    )\n\n    product = models.ForeignKey(\n        Product,\n        on_delete=models.CASCADE\n    )\n\n    event_type = models.CharField(\n        max_length=20,\n        choices=EVENT_CHOICES\n    )\n\n    created_at = models.DateTimeField(\n        auto_now_add=True\n    )\n\n    class Meta:\n        ordering = [\"-created_at\"]\n\n    def __str__(self):\n        return (\n            f\"{self.user.username} - \"\n            f\"{self.product.name} - \"\n            f\"{self.event_type}\"\n        )<\/code><\/pre>\n\n<p>The OrderItem model stores the product name and unit price at the time of purchase. This preserves historical order information even if the administrator changes the product name or price later.<\/p>\n\n<p>The ProductInteraction model is included for future personalization. The initial recommendation engine works without requiring interaction history.<\/p>\n\n<h2>10. Register Models in Django Admin<\/h2>\n\n<p>Open <code>shop\/admin.py<\/code>:<\/p>\n\n<pre><code>from django.contrib import admin\nfrom .models import (\n    Category,\n    Product,\n    Order,\n    OrderItem,\n    ProductInteraction\n)\n\n\nclass ProductAdmin(admin.ModelAdmin):\n    list_display = (\n        \"name\",\n        \"category\",\n        \"price\",\n        \"stock\",\n        \"is_active\"\n    )\n\n    list_filter = (\n        \"category\",\n        \"is_active\"\n    )\n\n    search_fields = (\n        \"name\",\n        \"description\"\n    )\n\n\nclass OrderItemInline(admin.TabularInline):\n    model = OrderItem\n    extra = 0\n    readonly_fields = (\n        \"product\",\n        \"product_name\",\n        \"quantity\",\n        \"unit_price\"\n    )\n\n\nclass OrderAdmin(admin.ModelAdmin):\n    list_display = (\n        \"id\",\n        \"customer\",\n        \"total_amount\",\n        \"status\",\n        \"created_at\"\n    )\n\n    list_filter = (\"status\",)\n    search_fields = (\n        \"full_name\",\n        \"email\"\n    )\n\n    inlines = [OrderItemInline]\n\n\nadmin.site.register(Category)\nadmin.site.register(Product, ProductAdmin)\nadmin.site.register(Order, OrderAdmin)\nadmin.site.register(ProductInteraction)<\/code><\/pre>\n\n<p>Create the database tables:<\/p>\n\n<pre><code>python manage.py makemigrations\npython manage.py migrate<\/code><\/pre>\n\n<p>Create an administrator account:<\/p>\n\n<pre><code>python manage.py createsuperuser<\/code><\/pre>\n\n<p>Start the development server:<\/p>\n\n<pre><code>python manage.py runserver<\/code><\/pre>\n\n<p>Open <code>http:\/\/127.0.0.1:8000\/admin\/<\/code> and log in. Add product categories and products through the administration panel.<\/p>\n\n<h2>11. Create the Customer Registration Form<\/h2>\n\n<p>Django includes a built-in user authentication system. Use its user creation form so passwords are validated and stored using Django&#8217;s password hashing mechanisms.<\/p>\n\n<p>Create <code>shop\/forms.py<\/code>:<\/p>\n\n<pre><code>from django import forms\nfrom django.contrib.auth.forms import UserCreationForm\nfrom django.contrib.auth.models import User\n\n\nclass RegistrationForm(UserCreationForm):\n\n    email = forms.EmailField(required=True)\n\n    class Meta:\n        model = User\n        fields = [\n            \"username\",\n            \"email\",\n            \"password1\",\n            \"password2\"\n        ]\n\n\nclass CheckoutForm(forms.Form):\n\n    full_name = forms.CharField(max_length=150)\n\n    email = forms.EmailField()\n\n    phone = forms.CharField(max_length=20)\n\n    address = forms.CharField(\n        widget=forms.Textarea\n    )\n\n    city = forms.CharField(max_length=100)\n\n    postal_code = forms.CharField(max_length=20)<\/code><\/pre>\n\n<h2>12. Implement the Shopping Cart<\/h2>\n\n<p>A shopping cart stores the products a customer intends to purchase. For this student project, use Django sessions to maintain cart information between page requests.<\/p>\n\n<p>Create <code>shop\/cart.py<\/code>:<\/p>\n\n<pre><code>from decimal import Decimal\nfrom .models import Product\n\n\nclass Cart:\n\n    SESSION_KEY = \"shopping_cart\"\n\n    def __init__(self, request):\n\n        self.session = request.session\n\n        cart = self.session.get(\n            self.SESSION_KEY\n        )\n\n        if cart is None:\n            cart = {}\n            self.session[self.SESSION_KEY] = cart\n\n        self.cart = cart\n\n    def add(self, product, quantity=1):\n\n        product_id = str(product.id)\n\n        current_quantity = int(\n            self.cart.get(product_id, 0)\n        )\n\n        new_quantity = current_quantity + quantity\n\n        if quantity &lt; 1:\n            raise ValueError(\n                \"Quantity must be greater than zero.\"\n            )\n\n        if new_quantity &gt; product.stock:\n            raise ValueError(\n                \"Requested quantity exceeds available stock.\"\n            )\n\n        self.cart[product_id] = new_quantity\n\n        self.session.modified = True\n\n    def update(self, product, quantity):\n\n        product_id = str(product.id)\n\n        if quantity &lt; 1:\n            self.remove(product_id)\n            return\n\n        if quantity &gt; product.stock:\n            raise ValueError(\n                \"Requested quantity exceeds available stock.\"\n            )\n\n        self.cart[product_id] = quantity\n\n        self.session.modified = True\n\n    def remove(self, product_id):\n\n        self.cart.pop(str(product_id), None)\n\n        self.session.modified = True\n\n    def clear(self):\n\n        self.session.pop(self.SESSION_KEY, None)\n\n        self.cart = {}\n\n        self.session.modified = True\n\n    def items(self):\n\n        product_ids = [\n            int(product_id)\n            for product_id in self.cart.keys()\n        ]\n\n        products = Product.objects.filter(\n            id__in=product_ids,\n            is_active=True\n        )\n\n        for product in products:\n\n            quantity = int(\n                self.cart.get(str(product.id), 0)\n            )\n\n            yield {\n                \"product\": product,\n                \"quantity\": quantity,\n                \"subtotal\": (\n                    product.price * quantity\n                )\n            }\n\n    def total(self):\n\n        return sum(\n            (\n                item[\"subtotal\"]\n                for item in self.items()\n            ),\n            Decimal(\"0.00\")\n        )\n\n    def count(self):\n\n        return sum(\n            int(quantity)\n            for quantity in self.cart.values()\n        )<\/code><\/pre>\n\n<p>This cart stores product IDs and quantities in the session. Prices are retrieved from the database rather than trusted from the browser. Stock is checked again during checkout because inventory may change after an item is added to the cart.<\/p>\n\n<h2>13. Build the Product Recommendation Engine<\/h2>\n\n<p>Create <code>shop\/recommender.py<\/code>. The recommendation engine will compare product names, categories, and descriptions.<\/p>\n\n<pre><code>from sklearn.feature_extraction.text import TfidfVectorizer\nfrom sklearn.metrics.pairwise import cosine_similarity\n\nfrom .models import Product\n\n\ndef get_recommendations(product_id, limit=5):\n\n    products = list(\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>E-Commerce Website with Product Recommendation System Using Python: Complete Project Guide<\/p>\n","protected":false},"author":1,"featured_media":163,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[42,9],"tags":[208,207,206,204,119,15,205,17,209,29],"class_list":["post-162","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-coding-development","category-final-year-projects","tag-collaborative-filtering","tag-content-based-filtering","tag-django-projects","tag-e-commerce-project","tag-final-year-project","tag-machine-learning","tag-product-recommendation-system","tag-python-projects","tag-tf-idf","tag-web-development"],"jetpack_publicize_connections":[],"_links":{"self":[{"href":"https:\/\/blogs.projectduniya.com\/index.php\/wp-json\/wp\/v2\/posts\/162","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.projectduniya.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.projectduniya.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.projectduniya.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.projectduniya.com\/index.php\/wp-json\/wp\/v2\/comments?post=162"}],"version-history":[{"count":1,"href":"https:\/\/blogs.projectduniya.com\/index.php\/wp-json\/wp\/v2\/posts\/162\/revisions"}],"predecessor-version":[{"id":164,"href":"https:\/\/blogs.projectduniya.com\/index.php\/wp-json\/wp\/v2\/posts\/162\/revisions\/164"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.projectduniya.com\/index.php\/wp-json\/wp\/v2\/media\/163"}],"wp:attachment":[{"href":"https:\/\/blogs.projectduniya.com\/index.php\/wp-json\/wp\/v2\/media?parent=162"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.projectduniya.com\/index.php\/wp-json\/wp\/v2\/categories?post=162"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.projectduniya.com\/index.php\/wp-json\/wp\/v2\/tags?post=162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}