Friday , December 6 2024

Machine Learning

Airline Quality Service

Airline_Quality_Service Airline Quality Service Analysis¶ In [1]: import pandas as pd import numpy as np import matplotlib.pyplot as plt In [2]: !pip install pydrive Collecting pydrive Downloading https://files.pythonhosted.org/packages/52/e0/0e64788e5dd58ce2d6934549676243dc69d982f198524be9b99e9c2a4fd5/PyDrive-1.3.1.tar.gz (987kB) Collecting google-api-python-client>=1.2 (from pydrive) Downloading https://files.pythonhosted.org/packages/3f/f1/20fd18744c3d20307d634ffcc02592bc7efc45a59624e14655cf21cbfb5e/google_api_python_client-1.7.9-py3-none-any.whl (56kB) Collecting oauth2client>=4.0.0 (from pydrive) Downloading https://files.pythonhosted.org/packages/95/a9/4f25a14d23f0786b64875b91784607c2277eff25d48f915e39ff0cff505a/oauth2client-4.1.3-py2.py3-none-any.whl (98kB) Requirement already satisfied: PyYAML>=3.0 in c:\users\karan\appdata\local\programs\python\python36\lib\site-packages (from pydrive) (3.13) …

Read More »

Airport Quality Service

Airport Quality Service Analysing Airport Review DataSets¶ In [1]: import pandas as pd In [2]: #Supress Warnings import warnings warnings.filterwarnings('ignore') In [3]: airport_data=pd.read_csv('airport.csv') print(airport_data.shape) airport_data.head(1) (17721, 20) Out[3]: airport_name link title author author_country date content experience_airport date_visit type_traveller overall_rating queuing_rating terminal_cleanliness_rating terminal_seating_rating terminal_signs_rating food_beverages_rating airport_shopping_rating wifi_connectivity_rating airport_staff_rating recommended 0 aalborg-airport /airport-reviews/aalborg-airport Aalborg Airport …

Read More »

Amazon Best Selling Books Analysis

Amazon Best Selling Books Analysis Data Science Project on Amazon Best Selling Books Analysis with the Python Programming Language¶About the dataset: This dataset contains information about top selling books of Amazon(550 books) either belonging to fiction or non-fiction. The data I’ll be using in this data science project is a …

Read More »

XGBoost Classifier – Practically

2 XGBoost Classifier XGBoost Classifier – Breast Cancer Dataset Install XGBoost Python Package In [ ]: !pip install xgboost Import Libraries In [3]: import numpy as np import pandas as pd import matplotlib.pyplot as plt import xgboost as xgb from sklearn.datasets import load_breast_cancer Load Dataset In [7]: cancer = load_breast_cancer() cancer Out[7]: {'data': array([[1.799e+01, …

Read More »

XGBoost Regression – Practically

3 XGBoost Regression In [2]: # Import the numpy and pandas package import numpy as np import pandas as pd import matplotlib.pyplot as plt import seaborn as sns In [3]: # Read the given CSV file, and view some sample records advertising = pd.read_csv("datasets/ads.csv") advertising.head() Out[3]: TV Radio Newspaper Sales 0 230.1 …

Read More »

Introduction to XGBoost Regression

XGBoost Regression Intro XGBoost Regression is an implementation of the XGBoost algorithm used for predicting continuous target variables (regression tasks). It follows the same principle as XGBoost for classification but is designed to handle regression tasks, where the goal is to minimize a continuous loss function (e.g., mean squared error). …

Read More »

Introduction to XGBoost Classifier

XGBoost Classifier Intro XGBoost (Extreme Gradient Boosting) is a powerful and efficient implementation of the gradient boosting algorithm, commonly used for classification and regression tasks. It builds multiple weak learners (usually decision trees) sequentially and combines them to create a strong model. Here’s an overview of the XGBoost classifier and …

Read More »

Introduction to XGBoost

1. Introduction to XGBoost What is XGBoost? XGBoost stands for eXtreme Gradient Boosting. XGboost is the most widely used algorithm in machine learning, whether the problem is a classification or a regression problem. Even when it comes to machine learning competitions and hackathon, XGBoost is one of the excellent algorithms …

Read More »

Build Own Alexa In Python

Build Own Alexa In Python Don’t Buy Alexa – Build Your Own ALEXA using Python¶ Alexa Has Only 2 Tasks:¶1. Listening¶Listening to your command is the most basic functionality of any virtual assistant, like: “Hey Alexa, play music,” “Hey Alexa, what’s the time?” Alexa has to listen to your command, …

Read More »

Extract Keywords using Python

Extract Keywords using Python To extract keywords using Python, you can follow these steps conceptually: 1. Understanding Keyword Extraction:¶Keyword extraction is the process of identifying the most relevant or significant words and phrases from a text. These keywords often summarize the main topics or ideas in the text. The goal …

Read More »