61,971 reputation
18171295
bio website
location California, USA
age
visits member for 2 years, 9 months
seen 13 mins ago

1d
comment Division by zero is slow
@Mr.Wizard Unfortunately, it looks a lot like your code too... what have you done to belisarius! :P
2d
comment Classify Function : Sentiment Polarity
@afentis Look up Naïve Bayes classifiers and hierarchical classification.
2d
comment Classify Function : Sentiment Polarity
@afentis If knowing which classifier is used and the details of the algorithm are important, then I highly suggest using python for this. Its NLTK and Machine Learning libraries are light years ahead of what Mathematica is currently offering. They've also been around for several years, as opposed to just 4 or so months for Mathematica, thus tried and tested and more importantly, bugs are actively fixed and new algorithms are routinely added.
Oct
26
comment Confusing memoization behavior — caching a function that returns a function
Is there some reason you're not memoizing tau instead? It seems awkward and not "clean" to memoize ex[p, q] and still have it depend on some global value of t. Making your code free of such dependencies will help fix such issues.
Oct
26
comment Confusing memoization behavior — caching a function that returns a function
The problem is because your t in the function is being replaced by the value of t that is being plotted and once this happens, the replacement t -> time no longer works (there is no "t" to replace). Either use something like $t in your function definitions or a formal symbol \[FormalT] or use a different variable when plotting (i.e. Plot[test[s, 2, 9], ...]).
Oct
26
comment Obtaining probability density function from a cumulative distribution function
Ok, I was going to reopen it but kguler has already done it. Good luck!
Oct
23
awarded  Good Answer
Oct
22
comment How to partition a list and leave in the last sublist which is of different length?
@xslittlegrass You can post-process the output with a rule. Something like list /. {h___List, p_List, l_List} :> {h, p ~Join~ l}
Oct
21
awarded  Nice Answer
Oct
20
awarded  Favorite Question
Oct
18
revised How do I compute sidereal time and JD?
added 106 characters in body
Oct
17
comment Tutorial video on the Wolfram Language
To everyone flagging it as "not an actual question" — then please cast a vote to close! Y'all have the privilege to do so.
Oct
6
comment Explanation for coloring of variables by code editor?
@KeeganMcCarthy Are you using a notebook specific context or is this all in Global? If the former, then this is not unusual.
Oct
4
revised How to build a bvh player in Mathematica?
edited tags
Oct
3
awarded  Enlightened
Oct
3
awarded  Nice Answer
Oct
2
comment ParametricNDSolve KKT Constraint Directly
OP had a response to you in a deleted answer (which is now an addendum to the question). Please respond under the question to notify them (if you choose to respond).
Oct
2
revised ParametricNDSolve KKT Constraint Directly
appended answer 61167 as supplemental
Oct
2
comment Calendar view outline
@alancalvitti Sorry, I've lost access to Mathematica and until I get around to buying a copy, I won't be able to answer. I believe you just need the definition of boundary for my answer and this part is in the question.
Oct
1
comment Calendar view outline
I believe you can use this answer of mine to get the outline as a closed Line (just feed the points to Line).