forked from 4n4574514/GraphVar_2.0
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path_IMPORTANT_INFO_READ.txt
More file actions
29 lines (18 loc) · 1.49 KB
/
Copy path_IMPORTANT_INFO_READ.txt
File metadata and controls
29 lines (18 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- general FYI:
In case you encounter the error "Undefined function or variable 'brainSheet'" with the SampleWorkspace please simply run a GLM model
before running a ML model (this is to set the correct path in your system - this should do the trick!).
---- Known Bugs on Windows and MAC with Matlab 2017 and ElasticNet machine learning -----------
If you experience problems with ElasticNet on MAC (e.g. Matlab freezes) please try switching to the original MEX file (glmnetMex.mexmaci64_old)
under 'GraphVar_2.01\src\ext\glmnet_matlab\'. To do so remove the suffix 'old' (glmnetMex.mexmaci64_old) and delete the duplicate file (which is a newly compiled file).
--------------------------------------------------
WHY SHOULD I DO THIS?
--------------------------------------------------
This GraphVar version contains a compiled version of Glmnet for Matlab (glmnetMex.mexmaci64_old)
provided here:
https://web.stanford.edu/~hastie/glmnet_matlab/download.html
As this mex file was compiled under Matlab 2012a we experienced compatibility issues when
running ElasticNet models on MAC and Windows with newer Matlab versions (2017). On MAC the file
appears as invalid and on Windows ElasticNet may crash in some cases and cause Matlab to freeze.
We have compiled a new MEX file for MAC, which should solve this problem. If this new file fails to work try the original one.
If the original one does not work please downgrade to an older Matlab version or use Ubuntu/Linux systems
(here we did not experience any issues).