13,060 reputation
11560
bio website
location Sweden
age
visits member for 2 years, 6 months
seen 4 mins ago

Engineering physics student.


1h
comment My Baum-Welch algorithm is very slow. Is it due to Mathematica?
@Anoldmaninthesea. Hard to say, I dislike those messages. I don't have a lot of experience with Compile, I only know it works wonders for speed. What I try to do when I use it is to compile small functions, I don't put the whole block of code inside Compile. So I end up with many Compile - makes it more debuggable. Easier to understand where the error is.
9h
comment My Baum-Welch algorithm is very slow. Is it due to Mathematica?
I would really like to see a Compiled version of this though. I think it could be pretty fast. I don't see anything that can't be compiled to C.
9h
revised My Baum-Welch algorithm is very slow. Is it due to Mathematica?
edited tags
1d
awarded  Explainer
2d
comment Dropbox datastore
Come to think of it, you can probably use Pastebin as I did here. Their API lets you do the three basic things you might want to do: create a new data file, delete a data file and list all data files. (It's not the optimal database solution of course, but besides that...)
2d
comment Numerical Integration for Different Values of a Parameter + Making a Table
Use Table (without Print) instead of Do. That way you get a list with your result, and you can export it using Export["file.csv",data]
2d
comment Dropbox datastore
If you have V10 then Dropbox is supported out the box, so it shouldn't be too hard. But the Wolfram Cloud, i.e. CloudPut, is a more natural option I think.
2d
comment How to construct new geometrical shapes in Mathematica?
Element[position + randomStep, region] is the line that determines if the new step is valid or not. If you use an earlier version than 10, you don't have access to RegionUnion so you can't combine arbitrary shapes. Instead you have to write Element[position + randomStep, rectangel1] || Element[position+randomStep, rectangle2] to indicate that both areas are valid.
2d
comment About Slicing through Graphics3D
I understand your question and I maintain that my suggestion kind of gives the expected result. It's not the real deal, hence I posted it as a comment.
2d
comment About Slicing through Graphics3D
gr = Graphics3D[{FaceForm[Yellow, Black], obj}, Axes -> True] kind of gives this effect since you can't perceive depth with black inside.
2d
awarded  Nice Answer
Sep
28
awarded  Generalist
Sep
27
comment weiner process conditional expected maximum?
@stevek The main reason that it got put on hold was because this looks like a question about math, not about the software Mathematica.
Sep
27
comment Can mathematica compute area of region defined by inequalities?
Lookup ImplicitRegion and RegionMeasure.
Sep
27
answered getting at the right parts of a list
Sep
26
answered Change last column of a matrix
Sep
25
answered Join lists with nested list
Sep
25
comment Find an element from a list
Try First@Ordering@list, that should do it. If you just want to find out which element is equal to a you can use Position.
Sep
25
reviewed Leave Closed How can I eliminate infinite error messages from “Solve” function with multiple linked functions?
Sep
25
reviewed Reviewed Formatting ticks of axes to scientific format and modifying the labels