Comments (5)
Hi
i think there is some issue with the mex files. maybe its looking for the 32bit
redistributable or something that is 32 bit but not present on the 64 bit
machine
compiling the files on your own may solve the issue, but i am not sure if you
can get visual studio compiling 32 bit binaries on a 64bit machine.
you will have to install either visual studio or visual express c++ and then
run mex -setup on the command prompt, that should find the newly installed
compiler and once that is done, use the compile_windows script (download the
source version of the package and don't use the precompiled version)
Original comment by abhirana
on 17 Apr 2012 at 6:53
from randomforest-matlab.
Hi,
Thank you very much for a fast reply. I have managed to get it to work.
I have checked a list of the supported compilers by my old version of Matlab
with "mex -setup" function. Then I installed one the compilers (Borland C/C++
(free command line tools) version 5.5) and run the compile_window script from
the source version. The functions seem to be working perfectly.
For completion sake I would like to mention that I have done this on another
machine which is 32-bit, although everything I mentioned should still work on a
64-bit machine.
Thank you so much for your code as it will aid me greatly in my research.
Original comment by [email protected]
on 17 Apr 2012 at 10:30
from randomforest-matlab.
great. good to hear it works for you. do tell if you run into any issues
also if you are training and testing thousands of time, you might run into this
issue http://code.google.com/p/randomforest-matlab/issues/detail?id=21
the svn code fixes that
Original comment by abhirana
on 18 Apr 2012 at 6:07
from randomforest-matlab.
ok as I mentioned before I have compiled the regression random forest files and
they work. However I tried to compile the classification random files by
running the compile_window.m file from the classification folders and get the
following error:
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Fatal: Illegal option: win32
C:\PROGRAM FILES\MATLAB71\BIN\MEX.PL: Error: Link of 'mexClassRF_train.mexw32' failed.
??? Error using ==> mex
Unable to complete successfully
Do you think using another compiler will do the trick? Here is the list of
compilers my Matlab version supports:
[1] Borland C++Builder version 6.0
[2] Borland C++Builder version 5.0
[3] Borland C++Builder version 4.0
[4] Borland C++Builder version 3.0
[5] Borland C/C++ version 5.2
[6] Borland C/C++ version 5.0
[7] Borland C/C++ (free command line tools) version 5.5
[8] Digital Visual Fortran version 6.0
[9] Digital Visual Fortran version 5.0
[10] Lcc C version 2.4.1
[11] Microsoft Visual C/C++ version 7.0
[12] Microsoft Visual C/C++ version 7.1
[13] Microsoft Visual C/C++ version 6.0
[14] Microsoft Visual C/C++ version 5.0
[15] Open WATCOM C/C++ version 1.3
[16] WATCOM C/C++ version 11
[17] WATCOM C/C++ version 10.6
Thanks in advance for your help.
Original comment by [email protected]
on 18 Apr 2012 at 9:52
from randomforest-matlab.
Hi
yup the visual c/c++ version should work fine
you could probably install the visual c++ express and its free
http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-ex
press
i think the borland compiler is borking the inputs somehow, i dont use win32
anywhere in my code except in the path to a file
do tell if you still run into issue
Original comment by abhirana
on 19 Apr 2012 at 12:57
from randomforest-matlab.
Related Issues (20)
- is muliple classification possible? HOT 10
- weak learner HOT 1
- Compiling on Mac Lion HOT 6
- Compiled mexmaci64 for OSX 10.8.2 (Mountain Lion) HOT 2
- about the unbalanced data HOT 32
- Segmentation violation problem HOT 2
- Hierarchical sampling of data? HOT 3
- memory leak in HOT 1
- probability of classes for highly skewed dataset HOT 2
- Feature Normalization HOT 1
- sampsize problem
- score values from random forest HOT 1
- MATLAB crashes after tens of thousands runs !! HOT 3
- Compilation Problems with Matlab 2014a on Mac HOT 7
- How to get individual tree predictions for regression HOT 2
- use library (gcc) in matlab and error with compile of mex HOT 1
- NaN data HOT 4
- multivariate label output in regression analysis
- Matlab (randomly) crash after a number of runs HOT 3
- Directions for Bagging Regression HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from randomforest-matlab.