Comments (3)
Thank you for pointing out, do you have any fix to this? Because manipulating batches of malloc() might cause too much cost on both maintenance and performance of the code. If you have any easy fix please let me know, otherwise I think the LIBLINEAR for more than 2^32 instances/features in libsvmtool is the best solution to your problem.
from liblinear.
Sorry for the late reply, I think for this issue, adding an error handling logic (for example, wrapped in the macro Malloc
) for malloc
failure is a candidate solution.
This is the function Malloc
used in CS:APP for your reference: http://www.cs.cmu.edu/afs/cs/academic/class/15213-f01/L7/csapp.c
void *Malloc(size_t size)
{
void *p;
if ((p = malloc(size)) == NULL)
unix_error("Malloc error");
return p;
}
from liblinear.
At this moment we do not cover data with more than 2^32 features/labels. If you need to handle such large data, please use "LIBLINEAR for more than 2^32 instances/features (experimental)" at https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/#liblinear_for_more_than_2^32_instances_features_experimental
So we don't plan to do any change here. Thank you again for your comments.
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 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.