How to copy/paste from "Sorry, the application XXX has stopped unexpectedly"
76
Nope, there is no way to copy/paste. You can "vote" for this issue to be fixed at:
- https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1273752
- https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1606712
Related videos on Youtube
Author by
abc196998
Updated on September 18, 2022Comments
-
abc196998 almost 2 years
I want to calculate the odds ratio between 2 features, but I got different results as follows:
import numpy as np x= [1,2,3,2,1] y= [1,0,1,0,1] x1 = np.array(x).reshape(-1,1) y1 = np.array(y).reshape(-1,1) # method1 from sklearn.linear_model import LogisticRegression clf = LogisticRegression() clf.fit(x1,y1) np.exp(clf.coef_) # method2 import statsmodels.api as sm res = sm.Logit(y1, x1).fit() np.exp(res.params)
I got 0.79 for the first one and 1.11 for the second. I am not sure where I was wrong and really appreciate your help. Thanks.
-
Admin almost 9 yearsHave you tried middle clicking? I used to run into this problem at my last job, but if I highlighted the text then switched over to a notepad app, middle clicking would simultaneously copy/paste in Ubuntu when nothing else would work.
-
Admin over 7 yearsThere is the feature request for the text to be copy/paste-able. Please vote here.
-
-
Admin almost 9 yearsGreat simple and effective.
-
Admin over 7 years@DanDascalescu - That bug seems to be a duplicate of this one.