Machine learning provides computer algorithms that automatically discover patterns in data and make intelligent decisions from them.
0
votes
0answers
223 views
Stochastic gradient descent squared loss
I have implemented stochastic gradient descent in matlab and I would like to compare my results with another source but the error I am getting is higher (I am using squared error). I am worried I am ...
0
votes
0answers
40 views
1
vote
1answer
41 views
Compute logistic regression on tweet objects
Is my approach good to naming variables and exception handling? I would like to make this code more robust and maintainable. I need advice on exception handling, var naming and comments.
...
5
votes
2answers
122 views
Defensive programming type-checking
I have issues with dynamically typed languages, and I tend to worry about type a lot.
Numpy has different behaviour depending on if something is a matrix or a plain ndarray, or a list. I didn't ...
6
votes
1answer
701 views
Clojure Neural Network
After reading this article about Neural Networks I was inspired to write my own implementation that allows for more than one hidden layer.
I am interested in how to make this code more idiomatic - ...
3
votes
1answer
222 views
Why does the LR on spark run so slowly?
Because the MLlib does not support the sparse input, I ran the following code, which supports the sparse input format, on spark clusters. The settings are:
5 nodes, each node with 8 cores (all the ...
3
votes
1answer
2k views
Alternative to Python's Naive Bayes Classifier for Twitter Sentiment Mining
At the advice of someone on SO I'm posting this here.
I am doing sentiment analysis on tweets. I have code that I developed from following an online tutorial (found here: ...