All Questions
4 questions
2
votes
1
answer
320
views
Multiword Expression Tagging in Python
I am trying to write a small python code,where
I am reading a text file-which contains both Multiwords (MWEs)
and singular words (NMWEs).
I am trying to tag each one, as follows.
I have a ...
3
votes
0
answers
1k
views
Implementing the stochastic gradient descent algorithm of the softmax regression with only NumPy [closed]
I am implementing the stochastic gradient descent algorithm. I think there is plenty of room for improvement.
...
2
votes
1
answer
3k
views
ROC and AUC calculation
Using Python 2.7 and here is my code to calculate ROC/AUC and I compare my results of tpr/fpr with threshold, it is the same result of whay scikit-learn returns.
My questions, (1) any ideas for ...
3
votes
1
answer
153
views
Batch Gradient Descent running too slowly
Following Data Science from Scratch by Joel Grus, I wrote a simple batch gradient descent solver in Python 2.7. I know this isn't the most efficient way to solve this problem, but this code should be ...