Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Need Help with this peace of code.PLease Exlain Each line of the code.
Post: RE: Need Help with this peace of code.PLease Exlai...

Then, Please give an idea of what all the above three code snippets do briefly explaining each code snippet in detail. (Mar-08-2018, 03:49 PM)snippsat Wrote: I have merge your 3 threads,it was a cl...
AkashDubey General Coding Help 5 3,856 Mar-08-2018, 04:28 PM
    Thread: Need Help with this peace of code.PLease Exlain Each line of the code.
Post: Need Help with this peace of code.PLease Exlain Ea...

#Code for implementing step-by-step the checks mentioned in the pre-processing phase # this code takes a while to run as it needs to run on 500k sentences. i=0 str1=' ' final_string=[] all_positive_wo...
AkashDubey General Coding Help 5 3,856 Mar-08-2018, 03:22 PM
    Thread: Need Help with this peace of code.PLease Exlain Each line of the code.
Post: What does this peace of code does. Explain Line by...

import re import string from nltk.corpus import stopwords from nltk.stem import PorterStemmer from nltk.stem.wordnet import WordNetLemmatizer stop = set(stopwords.words('english')) #set of stopwords ...
AkashDubey General Coding Help 5 3,856 Mar-08-2018, 03:20 PM
    Thread: Need Help with this peace of code.PLease Exlain Each line of the code.
Post: Help Me figuring out what this piece of code does ...

#find sentences containing HTML tags i=0; for sent in final['Text'].values: if (len(re.findall('<.*?>', sent))): print(i) print(sent) break; i += 1;
AkashDubey General Coding Help 5 3,856 Mar-08-2018, 03:18 PM
    Thread: trying to understand the python code
Post: trying to understand the python code

I am new to Machine Learning and python. Recently i have been working with Amazon fine food review data from kaggle and its code. What i don't understand is how is the 'partiton' method used here ? M...
AkashDubey Data Science 1 2,891 Mar-05-2018, 09:24 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020