Comments (4)
or compile the files using common/minFunc_2012/mexAll.m
I had to change mexAll.m to compile without error on Octave 3.8.1 on OS X:
mexAll.m >>>>>>>>>>>>
% minFunc
fprintf('Compiling minFunc files...\n');
mex -o minFunc/compiled/mcholC.mex minFunc/mex/mcholC.c
mex -o minFunc/compiled/lbfgsC.mex minFunc/mex/lbfgsC.c
mex -o minFunc/compiled/lbfgsAddC.mex minFunc/mex/lbfgsAddC.c
mex -o minFunc/compiled/lbfgsProdC.mex minFunc/mex/lbfgsProdC.c
from stanford_dl_ex.
You get the error "??? Undefined function or method 'lbfgsAddC'". This occurs if Matlab can't find the mex file for your operating system. If this occurs, you can either: (i) set 'options.useMex' to 0, or (ii) compile the mex file for your operating system by running the mexAll function. If you end up compiling a file in minFunc for your operating system, please send it to me and I will add to the distribution.
Though, modifying mexAll
as to compile all relevant files (lbgfs*.c) solved the issue for me.
from stanford_dl_ex.
@nicsurpatanu i modify mexAll.m as you did, however when run run mexAll cmd in the octave-cli ,i got a err message like folllows
and the mexAll.m is as follow
1 % minFunc
2 fprintf('Compiling minFunc files...\n');
3 mex -o minFunc/compiled minFunc/mex/mcholC.c
4 mex -o minFunc/compiled minFunc/mex/lbfgsC.c
5 mex -o minFunc/compiled minFunc/mex/lbfgsAddC.c
6 mex -o minFunc/compiled minFunc/mex/lbfgsProdC.c
7```
from stanford_dl_ex.
@osoylemez how to compile all relevant files?
from stanford_dl_ex.
Related Issues (17)
- Mathjax broken on the website HOT 1
- Tutorial page "Softmax Regression"
- Tutorial: "Debugging: Bias and Variance" also "left to be written"? HOT 1
- Tutorial: Exercise: Supervised Neural Networks
- RICA exercise: what should "sane results" look like? HOT 4
- Tutorial Page "Multi-Layer Neural Network" HOT 1
- Convolution exercise : dimension of the bias
- small error in running multi-layer neural network
- I do not find the function that named as โminFuncโ HOT 1
- Tutorial page has text missing HOT 1
- #
- ther is no data in the common folder! HOT 1
- Typo on Softmax Regression Tutorial page?
- Column header or other information on the housing data HOT 1
- Little issue of grad_check.m
- Tutorial page "Debugging: Gradient Checking": EPSILON
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 stanford_dl_ex.