Comments (4)
I just pushed a new commit with which you can enable serde support for almost all algorithms. In order to use SVM with serde support, add this to your Cargo.toml
:
linfa-svm = { git = "https://github.com/rust-ml/linfa.git", features = ["serde"], default-features = false }
Once the a new version is published on crates.io
I will notify you here. By the way, there is no "sane" support for prediction in DBSCAN. (see for example here), so you have to predict your clusters each time anew.
from linfa.
oh and if you don't know about serde
, two popular serialization backends are
- bincode for binary encoding
- serde-json for readable JSON encoding
you have to add them before serialization into a string/byte buffer, but there are plenty of examples on the websites
from linfa.
there is no API for this yet, but it can be achieved with some special code. What algorithm do you want to export and load?
from linfa.
I want to export and load kmeans and dbscan. Later eventually also svm
from linfa.
Related Issues (20)
- Remove version fix on anyhow crate HOT 3
- Add arrow data storage support for linfa pre-processing and training module HOT 3
- Is it possible to use Polars instead of ndarray? HOT 1
- I am trying to get Linfa to work with apple M2 accelerate: HOT 2
- How to use `LInfDist` for `HierarchicalCluster` HOT 1
- Exporting & Loading Trained Model? HOT 7
- Add Serde to CountVectorizer, to export and import it HOT 6
- Would there be any interest in a Covariance module? HOT 2
- How I can save a logistic model for serving? HOT 6
- linfa-clustering depends on partitions 0.2.4, which throws future-incompatibilities warnings HOT 1
- Incompatibility of the partitions dependency with future versions of Rust HOT 3
- Shuffle dataset HOT 2
- Implementing serde Serialize/Deserialize for linfa_bayes crate models HOT 1
- Bump `argmin` dependency to 0.8 HOT 6
- Standard error estimation on OLS coefficients HOT 3
- linfa-kernel fails to compile HOT 10
- linfa-svm learning speed and memory allocation
- Dependency version thiserror in linfa hierarchical causes problems in real world projects
- Crates.io version of linfa_kernel fails to compile. HOT 1
- Would it be better to use the same API as scikit-learn HOT 2
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 linfa.