948 reputation
316
bio website graphics.tu-bs.de
location Germany
age 32
visits member for 2 years
seen yesterday

Dec
15
awarded  Yearling
Nov
4
comment Mathematica using all available RAM
@yashar: As you are Minimizing you must have some kind of objective function accepting arguments and returning a scalar value. You might want to define that functions for numeric evaluation only to avoid symbolic evaluation.
Nov
2
comment Mathematica using all available RAM
@yashar: Have you restricted the arguments of your objective function to Numeric values via _?NumericQ then?
Nov
2
comment Mathematica using all available RAM
Number one thing I would take a look at is how much memory a single evaluation of your objective function actually needs. Taking into account that mathematica will probably store data in memory for a while while evaluating FindMinimum and does in general not seem to be very memory efficient this might lead to your problems.
Oct
24
comment C compiler error: the no library could be generated error
@Anoldmaninthesea.: One way would be to add the definition of the $CCompiler variable to the init.m file of mathematica, which is executed before the frontend or kernel starts. Take a look at init.m in the mathematica documentation for further details and the location of the file.
Oct
24
comment Missing MSVCP110.dll for CUDA
You should have this dll on your computer if you have installed MS Visual Studio or the appropriate MS Visual C++ Redistributable package. As you need a C compiler anyway, and as you are on windows you will want to install MS Visual Studio anyways.
Oct
23
revised C compiler error: the no library could be generated error
added 1 character in body
Oct
23
answered C compiler error: the no library could be generated error
Oct
23
comment C compiler error: the no library could be generated error
@Anoldmaninthesea: Sorry, did not recall correctly and did not take an additional look at the question. But here is a question: Why does mathematica show Microsoft Visual Studio 11.0? You have version 2013 installed, that would be Microsoft Visual Studio 12.0. So the setup is definitely not right. Try setting it manually via $CCompiler variable.
Oct
23
comment C compiler error: the no library could be generated error
@Anoldmaninthesea: You should try loading Needs["CCompilerDriver"]` and then run CCompilers[] to get the information about your CCompiler setup. Your MVS Compiler should show up there. If it does not you might be able to fix the problem by manually setting the $CCompiler variable like $CCompiler = {"Name"->"Visual Studio", "Compiler"->CCompilerDriverVisualStudioCompilerVisualStudioCompiler, "CompilerInstallation"->"C:\\Program Files (x86)\\Microsoft Visual Studio 10.0", "CompilerName"->Automatic}
Oct
22
comment C compiler error: the no library could be generated error
Have you checked writing permissions to the standard output folder for the library? Maybe mathematica is not allowed to write files there.
Oct
17
comment Profiling from Mathematica
Unfortunately this solution does not seem to work for more complicated constructs, like funcitons called within Module, etc..
Oct
13
comment Using Predict on images
@ChipHurst: I think you have a point there. I first neglegted Classify because I would basically assign a different value to each image. But the problem itself can be reformulated so that I would just say the current image I am looking at has a certain probability to lie in class A or some other class. So I could take that information and assign an appropriate number to the image not in the training data set. To do so I would of course create classes of similar images on the training data set, which often do not contain many images. Results so far are promising.
Oct
13
comment Keyboard shortcut for changing style of selected text (NOT the whole cell)
If you want to change the hotkeys you need to edit "KeyEventTranslations.tr" or for Menu entries the "MenuSetup.tr" file. There are quite some resources on the web and these forums on how to do that. The location of those files is OS dependent, of course.
Oct
10
comment Using Predict on images
@Mr.Wizard: Thanks, the problem does not seem to be dependent on my image dataset, so your suggestion works fine to present the problem. I edited the post, so everyone can try on their own now.
Oct
10
revised Using Predict on images
added 248 characters in body
Oct
10
asked Using Predict on images
Oct
9
comment How to evaluate complex numerical integral in mathematica?
The issue here is not that your integrand is complex, it is the definition of the integrand itself. You might want to try numerical evaluation. For that you could use the pattern _?NumericQ for your integrand parameters.
Sep
24
comment How to get the centroids of the ClusterComponents function
I believe the author of the thread meant the actual centers of the clustering process. Those do not correspond to the mean value of the position vectors. Especially not with considering that the DistanceFunction for the KMeans clustering process has been set to CorrelationDistance.
Sep
24
comment Compile nested Sums
For me, Plus@@Table is slower than Sum inside a Compile statement, but Total@Table is faster, so this kind of answers my question. I always thought building a table first has to be slower, but it seems to have little influence in this case. Thanks.