Anyone help me in Machine Learning | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Anyone help me in Machine Learning

I am doing a project in Machine Learning and i need some help

14th Oct 2018, 5:31 AM
Mohd Naved Ansari
10 Answers
+ 7
Could you specify the question a bit more? :)
14th Oct 2018, 6:32 AM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 5
plzz ask ur actually question dude..
14th Oct 2018, 9:09 AM
Pragati Awasthi
Pragati  Awasthi - avatar
+ 4
Actually, that is what the PorterStemmer is supposed to do - convert the terminal 'y' to 'i' if there is another vowel in the stem. This is an expected effect and will work properly. It is normal that stemming won't necessarily give you grammatically proper word stems, that's not the point here. You might later use them for word embeddings in contextual analysis. So unless there is a good reason why you'd need this word to be stemmed otherwise, I'd give it a rest :)
14th Oct 2018, 9:57 AM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 2
I am doing a project in text classification on restaurant review. when I applying stemming it converting 'tasty' to ' tasti'. all major stemming doing same. I would like to know that it is possible to edit porter stemminv algo for not converting 'y' to 'i'
14th Oct 2018, 9:21 AM
Mohd Naved Ansari
+ 2
Naved Ansari I am not really sure what you mean now. What I said was that the PorterStemmer's algorithm envisages replacing 'y' with 'i' if there is another vowel in the stem. It is here - tAsty, so y gets converted to i. If you're not happy with PorterStemmer, use another algorithm, like Snowball for example.
14th Oct 2018, 10:43 AM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 1
how to convert terminal y to i. i am using windows
14th Oct 2018, 10:02 AM
Mohd Naved Ansari
+ 1
There are a lots of stemmers available. Choose another one that fits your requirements. I have used LancasterStemmer and a few more. Lancaster worked for me for that job. Snowball was good for another job. Choose whichever fits yours.
14th Oct 2018, 4:44 PM
Rugved Modak
Rugved Modak - avatar
+ 1
Kuba Siekierzyński Thank you! the problm is solved.
14th Oct 2018, 4:53 PM
Mohd Naved Ansari
+ 1
I also want to use POS tagging But i don't know much about this so please give me right tutorial to learn POS tagging
14th Oct 2018, 4:56 PM
Mohd Naved Ansari
+ 1
Naved Ansari NLTK module provides variety of stemmers and also POS taggers.
15th Oct 2018, 7:16 AM
Rugved Modak
Rugved Modak - avatar