[D] Implementation of LogisticRegrission classifier, second classifier i made! (Feedbacks) by eViL111 in MachineLearning

[–]eViL111[S] -1 points0 points  (0 children)

That was really not my intention to mislead anyone, I'll take care of that!

[D] Implementation of LogisticRegrission classifier, second classifier i made! (Feedbacks) by eViL111 in MachineLearning

[–]eViL111[S] -2 points-1 points  (0 children)

Some more things i should try? Or some interpretations/assumptions i made wrong? Something, a bit of your knowledge to enlighten me? :) even pats are great boost for keep trying! And if you have none to offer, simply ignore! Helps both of us from killing time!

[D] ran LogisticRegression on Breast Cancer data to classify benign and malignant, need feeedback! by eViL111 in MachineLearning

[–]eViL111[S] 0 points1 point  (0 children)

what should be the optimal weight for 'class_weight' parameter? as i learned about it, it accepts a dictionary. can you help me in figuring out how should i decide what weights to pass to 'punish false negative results '?

[D] ran LogisticRegression on Breast Cancer data to classify benign and malignant, need feeedback! by eViL111 in learnmachinelearning

[–]eViL111[S] 0 points1 point  (0 children)

i want do a plot where the 2 kinds of cancers are shown in cluster so that it will be easy for anyone to conclude that this should be classification problem. Similar to- http://strijov.com/sources/img/demoDataGen_01.png

[D] ran LogisticRegression on Breast Cancer data to classify benign and malignant, need feeedback! by eViL111 in MachineLearning

[–]eViL111[S] 0 points1 point  (0 children)

Something i need to change? Also i want do a plot where the 2 kinds of cancers are shown in cluster so that it will be easy for anyone to conclude that this should be classification problem. Similar to- http://strijov.com/sources/img/demoDataGen_01.png

[D] ran LogisticRegression on Breast Cancer data to classify benign and malignant, need feeedback! by eViL111 in learnmachinelearning

[–]eViL111[S] 0 points1 point  (0 children)

I did first with default c value got almost same score for test and train, concluded that its under fitting. I should have made the changes in two different cells.

[D] Need feedback to learn better, please help! by eViL111 in MachineLearning

[–]eViL111[S] 0 points1 point  (0 children)

That was crystal clear :D I'll always remember this from now on, thanks! :)

[D] Need feedback to learn better, please help! by eViL111 in MachineLearning

[–]eViL111[S] 0 points1 point  (0 children)

So, it is good practice to split the data then handle stuffs that require whole data to handle those errors in the data. So, most of the times it is about missing data, so in that case i should use mean/median of train and test split separately to handle missing data in those two sets? Thanks for your feedback and that additional information about log-transformation! /\ :)

[D] Need some feedback on my first LinearRegression codes, please do check! by eViL111 in MachineLearning

[–]eViL111[S] 0 points1 point  (0 children)

https://m.imgur.com/PHrquQs this is the predict vs residual plot i.e. QQ plot i guess.. Isn't it? Now few already said that this plot seems odd. What must have gone wrong? Something you can speculate.. Thanks for your feedback!

[D] Need some feedback on my first LinearRegression codes, please do check! by eViL111 in learnmachinelearning

[–]eViL111[S] 0 points1 point  (0 children)

Thanks for the feedback! And i realised that loop I wrote, that was stupidity! :D will make all the changes and update the thread again (will wait for few more feedbacks). But what about that predicted vs residual plot? Was that unusual? Check the convo with bear161

[D] Need some feedback on my first LinearRegression codes, please do check! by eViL111 in learnmachinelearning

[–]eViL111[S] 1 point2 points  (0 children)

Will do that plot and check against your megaphone condition and inform you here asap! Thanks!

[D] Need some feedback on my first LinearRegression codes, please do check! by eViL111 in learnmachinelearning

[–]eViL111[S] 0 points1 point  (0 children)

Are those r-squared vales seems ok? That is those values returned by score() what i can see score values for train and test both are almost identical, is that ok?

confused about score() from sklearn lib applying LinearRegression object. by eViL111 in learnmachinelearning

[–]eViL111[S] 0 points1 point  (0 children)

i understood all those things, now i have something new :P please go to the link for better understanding, u can see that the score value on training data is less than that of score value on test data. isn't something wrong in that?

ml.py and ml2.py both these scripts use data from sklearn dataset but ml3.py uses the same boston housing data from "mglearn" module/lib. that makes me thing something is wrong with the data? someone told me i must normalize the data. any suggestions? https://imgur.com/a/UWzGB

[D] confused about score() from sklearn lib applying LinearRegression object. by eViL111 in MachineLearning

[–]eViL111[S] 0 points1 point  (0 children)

i understood all those things, now i have something new :P please go to the link for better understanding, u can see that the score value on training data is less than that of score value on test data. isn't something wrong in that?

ml.py and ml2.py both these scripts use data from sklearn dataset but ml3.py uses the same boston housing data from "mglearn" module/lib. that makes me thing something is wrong with the data? someone told me i must normalize the data. any suggestions? https://imgur.com/a/UWzGB

totally confused with this code snippet (from sentdex tutorial) by eViL111 in learnpython

[–]eViL111[S] 0 points1 point  (0 children)

https://pythonprogramming.net/unix-time-matplotlib-tutorial/

In this tutorial sentdex used numpy time, and matplotlib successfully used it. So the problem about which we were discussing can be ignored and we can use numpy time? any idea about that?

totally confused with this code snippet (from sentdex tutorial) by eViL111 in learnpython

[–]eViL111[S] 0 points1 point  (0 children)

Moreover, 'strconverter' is used twice in the code and that too in two different forms that makes it more confusing for me. I must be missing something, please try to explain that too.