Comments (7)
You should try "nmake -f Makefile.win lib" to generate .dll file.
from liblinear.
@infwinston Thank you! It works! But when i use "from liblinearutil import *", it throws "AttributeError: function 'find_parameter_C' not found".When i comment "fillprototype(liblinear.find_parameter_C, None, [POINTER(problem), POINTER(parameter), c_int, c_double, c_double, POINTER(c_double), POINTER(c_double)])" in the liblinear.py, it throws no errors. But what should i do if i want to use find_parameter_C
from liblinear.
Hi, @CharlesMei
I find the problem is the authors forget to add somethings in linear.def,
Here is one of the solutions for now,
in linear.def, add a line of code:
"find_parameter_C @20"
then re-compile the dll file, you may use the function successfully.
Hope this helps.
from liblinear.
BTW, I think the dll file in liblinear-2.01 is already 64-bit version, why do you need to re-generate the dll?
from liblinear.
Hi, @infwinston Thank you! It works well! You're right, it's already 64-bit version. When i use the original dll in liblinear-2.01, it throws errors when i use "from liblinearutil import *", and it is because of the find_parameter_C problem. When i use libsvm-3.20, it needs to re-generate the dll for 64bit to solve the import error, so i thought it may need to do the same in liblinear-2.01. I'm sorry for that.
from liblinear.
This issue was moved to angleto#19
from liblinear.
In case it helps anybody, I was able to compile a 64-bit version DLL for an older release of liblinear which has 32-bit executable included.
First, activate the Visual C++ toolset in 64-bit mode from by running
vcvarsall amd64
then run
nmake -f Makefile.win lib
as stated above.
from liblinear.
Related Issues (20)
- Add probability estimates for SVC HOT 1
- Is there a way to read out support vectors? HOT 1
- fatal error C1083: “math.h”: No such file or directory HOT 5
- Use liblinear on windows HOT 1
- Subproblem negative class weight is always set to 1 in OVR classification HOT 1
- The output after training HOT 1
- Cannot import even after make HOT 4
- Compilation error for multi-threaded version HOT 4
- Error on make in MacOS HOT 4
- Potential Integer Overflow vulnerability in linear.cpp HOT 2
- Adding support to build with cmake HOT 1
- Is synthetic bias feature added when using liblinear as a library?
- ModuleNotFoundError when using multiprocessing HOT 7
- Problem running the example for testing LIBLINEAR with instance weight support HOT 2
- On macOS extension should be .dylib HOT 3
- Tarball misses python sources HOT 2
- A potential API Misuse bug found in linear.cpp HOT 3
- A potential Integer Overflow bug found in linear.cpp HOT 5
- A potential Integer Overflow bug found in liblinear/linear.cpp HOT 4
- Predicted class and decision scores do not match in Crammer-Singer 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 liblinear.