4 Stemming A stemming algorithm reduces the words “chocolates”, “chocolatey”, “choco” to the root word, “chocolate” and “retrieval”, “retrieved”, “retrieves” reduce to the stem “retrieve”.¶Applications of stemming are:¶ Stemming is used in information retrieval systems like search engines. It is used to determine domain vocabularies in domain analysis. In [1]: from …
Read More »Accuracy Score
Accuracy Score Accuracy Score is a metric used to evaluate the performance of a classification model. It measures the percentage of correct predictions made by the model out of all predictions. In other words, it tells you how often the model correctly classifies data points. The formula for accuracy is: …
Read More »List of NLP Projects
List of NLP – Projects Here’s a curated list of NLP (Natural Language Processing) projects you can build using Python, along with brief descriptions and potential libraries or tools to use. Beginner Projects¶ Sentiment Analysis Description: Analyze the sentiment of text data (positive, negative, neutral). Libraries/Tools: TextBlob, NLTK, VADER Example: …
Read More »NLP – Practically
mail data – NLP In [1]: import pandas as pd import numpy as np In [2]: data = pd.read_csv('mail_data.csv') data Out[2]: Category Message 0 ham Go until jurong point, crazy.. Available only … 1 ham Ok lar… Joking wif u oni… 2 spam Free entry in 2 a wkly comp to win …
Read More »NLP – Practically
NLTK In [1]: import webbrowser webbrowser.open('https://www.youtube.com/watch?v=3Dg006VuOMk&list=RD3Dg006VuOMk&start_radio=1') Out[1]: True In [2]: !pip3 install nltk Collecting nltk Using cached nltk-3.9.1-py3-none-any.whl.metadata (2.9 kB) Requirement already satisfied: click in c:\users\mehak\appdata\local\programs\python\python312\lib\site-packages (from nltk) (8.1.7) Requirement already satisfied: joblib in c:\users\mehak\appdata\local\programs\python\python312\lib\site-packages (from nltk) (1.4.2) Requirement already satisfied: regex>=2021.8.3 in c:\users\mehak\appdata\local\programs\python\python312\lib\site-packages (from nltk) (2024.7.24) Requirement already satisfied: tqdm in …
Read More »NLP – Natural Language Processing
Natural Language Processing Natural Language Processing (NLP) is a field of artificial intelligence that focuses on the interaction between computers and humans through natural language. In simple terms, NLP helps computers understand, interpret, and respond to human language in a way that is both meaningful and useful. NLP is widely …
Read More »Introduction to CNN
CNN intro CNN¶ A Convolutional Neural Network (CNN) is a type of Artificial Neural Network (ANN) specifically designed to process data that has a grid-like structure, such as images. CNNs are particularly good at recognizing patterns, shapes, and objects in images and have been highly successful in tasks like image …
Read More »CNN – Steps
CNN -Steps CNN Code Explanation¶Part 1: Building the CNN¶importing the keras Libraries and package¶from keras.models import Sequential from keras.layers import Convolution2D from keras.layers import MaxPooling2D from keras.layers import Flatten from keras.layers import Dense import tensorflow.python.framework.dtypes Here’s an explanation of why each of these components is used in building a Convolutional …
Read More »CNN – Practically
Convolution Neural Network – Itronix Solutions Download Dataset¶ https://www.kaggle.com/c/dogs-vs-cats/data Part 1: Train CNN Model¶ Step 1: Import the required packages¶ In [1]: from keras.models import Sequential from keras.layers import Conv2D from keras.layers import MaxPooling2D from keras.layers import Flatten from keras.layers import Dense Step 2: Initialising the CNN¶ In [2]: model = Sequential() …
Read More »RNN – Explanation with Practically
Recurrent Neural Networks What are Recurrent Neural Networks?¶Recurrent Neural Network(RNN) are a type of Neural Network where the output from previous step are fed as input to the current step. In traditional neural networks, all the inputs and outputs are independent of each other, but in cases like when it …
Read More »
Machine Learning Tutorials, Courses and Certifications