tangram VS linfa

Compare tangram vs linfa and see what are their differences.

tangram

Tangram makes it easy for programmers to train, deploy, and monitor machine learning models. (by tangramdotdev)

linfa

A Rust machine learning framework. (by rust-ml)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
tangram linfa
22 14
1,310 3,333
- 4.3%
9.6 6.3
almost 2 years ago 25 days ago
Rust Rust
GNU General Public License v3.0 or later Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

tangram

Posts with mentions or reviews of tangram. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-11.
  • Writing the fastest GBDT libary in Rust
    6 projects | dev.to | 11 Jan 2022
    In this post, we will go over how we optimized our Gradient Boosted Decision Tree library. This is based on a talk that we gave at RustConf 2021: Writing the Fastest Gradient Boosted Decision Tree Library in Rust. The code is available on GitHub.
  • Any role that Rust could have in the Data world (Big Data, Data Science, Machine learning, etc.)?
    8 projects | /r/rust | 4 Dec 2021
  • Examples of Rust front-end web works
    5 projects | /r/rust | 7 Nov 2021
    We are using Rust for our web application and website at Tangram. You can view the source here: https://github.com/tangramdotdev/tangram/tree/main/crates/www. The website is at https://www.tangram.dev. We decided to write our own web framework because we needed server rendering and we wanted to use the builder pattern in creating components. Here is an example component for our Logo to get a sense of what this looks like: https://github.com/tangramdotdev/tangram/blob/main/crates/www/ui/logo.rs
  • Multi-language library support: Is it possible?
    4 projects | /r/rust | 6 Oct 2021
    Check out https://github.com/tangramdotdev/tangram.
  • Ask HN: Who is hiring? (October 2021)
    27 projects | news.ycombinator.com | 1 Oct 2021
    Tangram | Senior Rust Programmer | Remote | https://www.tangram.dev

    Tangram is an all in one machine learning framework designed for programmers. With Tangram, developers can train models and make predictions on the command line or with libraries for languages including Elixir, Go, JS, Python, Ruby, and Rust, and learn about their models and monitor them in production from a web application. To learn more about what the product does, watch the demo on the homepage at https://www.tangram.dev or check it out on GitHub at https://www.github.com/tangramdotdev/tangram.

    We are looking to grow our engineering team with senior Rust programmers. We are currently based in Boston, MA but are looking to build a remote team. At Tangram, you'll get to work on everything from our core machine learning algorithms to writing front-end code in Rust! We are looking for developers with experience in Rust and familiarity with or willingness to learn machine learning concepts. If this sounds exciting, email me (Isabella, cofounder) at [email protected].

  • Seed – A Rust front-end framework for creating fast and reliable web apps
    18 projects | news.ycombinator.com | 17 Sep 2021
    We chose to use Rust instead of TypeScript for the front end of https://github.com/tangramdotdev/tangram.

    This allows us to:

    * Share code with our server written in Rust.

  • How far along is the ML ecosystem with Rust?
    6 projects | /r/rust | 15 Sep 2021
    I'm working on machine learning in Rust at Tangram. We currently only provide an implementation of linear models and gradient boosted decision trees but will move into exposing training of deep models in the future. You can check out Tangram here: https://github.com/tangramdotdev/tangram. You may also be interested in checking out Linfa https://github.com/rust-ml/linfa. If you're interested in the future of machine learning in Rust, check out Luca Palmieri's blog post: https://www.lpalmieri.com/posts/2019-12-01-taking-ml-to-production-with-rust-a-25x-speedup/
  • Show HN: Tangram – Train, Deploy, and Monitor ML Models in Go/JS/Ruby/Rust/More
    4 projects | news.ycombinator.com | 18 Aug 2021
    Great idea! We definitely want to do this. We have an open issue to track it: https://github.com/tangramdotdev/tangram/issues/28.
    4 projects | news.ycombinator.com | 18 Aug 2021
    Hi HN! We are Isabella and David, and we're excited to share Tangram, our attempt to make it easy for programmers who are not machine learning experts to train, deploy, and monitor machine learning models. With Tangram, developers train a model from a CSV file on the command line, make predictions with libraries for Elixir, Go, JavaScript, Python, Ruby, and Rust, and learn about their models and monitor them in production with a convenient web app. Watch the video on the homepage: https://www.tangram.dev, or check it out on GitHub: https://github.com/tangramdotdev/tangram.

    Over the past few months we have been working closely with a handful of early users. A team at a small company had a TensorFlow model deployed as a Flask service consumed by their Elixir app. They replaced it with a Tangram model because they didn't want to maintain a server separate from their monolith. A team of front end engineers at a large company was looking for a way to to train and deploy models on their own, without the overhead of involving their data scientists, machine learning engineers, or backend engineers. They trained a model on their own and embedded it directly in their React front-end with the Tangram JavaScript library that makes predictions with WebAssembly.

    Tangram is written entirely in Rust, from the core machine learning algorithms, to the bindings for each language, to the front and back end of the web application. We have benefited from Rust's fast performance, strong typing, convenient tooling, and high quality libraries (serde, tokio, hyper, sqlx, and more).

    We hope to make Tangram a sustainable business with the "open core" business model. The CLI and language libraries are MIT licensed, while the web application is source available, free to use for testing, but requires a paid license to use in production.

    We would love to hear your feedback. Give it a try and let us know what you think!

    4 projects | news.ycombinator.com | 18 Aug 2021

linfa

Posts with mentions or reviews of linfa. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-13.
  • Why is Rust not more popular in ML and secure edge computing?
    2 projects | /r/rust | 13 Nov 2022
  • Polars vs ndarray performance
    2 projects | /r/rust | 16 Oct 2022
    I've been playing with data analytics and ml in rust for the last couple of weeks. A typical ML job requires transforming some data to feed the ml model to the then train the model. For ML I've been using linfa (https://github.com/rust-ml/linfa) which is surprisingly nice. I've been experimenting with ndarray and polars for data transformation (linfa uses ndarray) - from a UX standpoint. I'm pretty surprised by polars' performance (https://h2oai.github.io/db-benchmark/), which sits on top of arrow2, and it's definitely a great candidate for OLAP tasks. But I couldn't find any comparison between ndarray and polars, has anyone had any meaningful experience with the two or/and can point me to a benchmark comparison?
  • Ask HN: What is the job market like, for niche languages (Nim, crystal)?
    4 projects | news.ycombinator.com | 23 Jul 2022
    The most comprehensive current view of the Rust machine learning ecosystem at the moment is probably at https://www.arewelearningyet.com/ (I sometimes help maintain this site)

    Rust has a weird mix at the moment, and not one that's likely to significantly change within the next 12 months, at least. Certain tools are genuinely best-in-class, especially around simple operations on insane amounts of data. Rust kills it in that space due to its native speed and focus on concurrency.

    There's also growing projects like Linfa [1]. that while not at the level of scikit-learn, have significantly increased their coverage on common data science/classical ML problems in the past couple years, along with improved tooling. The space does have a few pure-Rust projects coming down the pipeline around autodifferentiation, GPU compute, etc. that are likely to yield some really valuable results in deep learning, but that aren't quite available and will take some time to pick up some traction even once they're released. At the same time, areas like data visualization are unlikely to reach parity with something like matplotlib/pyplot in the near future.

    Python is the de-facto standard, and will be for some time, but Rust's ability to build accessible high-level APIs on top of performant, language-native libraries is attracting some attention and I wouldn't be surprised to start seeing ingress in the certain areas over the next few years, where instead of the Python/C++ combination, it's just Rust all the way down.

    [1] https://github.com/rust-ml/linfa

  • Is RUST aiming to build an ecosystem on scientific computing?
    6 projects | /r/rust | 10 Jul 2022
    take a look at https://github.com/rust-ml/linfa for machine learning related crates
  • What is a FOSS which is needed but doesn't exist yet/needs contributers?
    7 projects | /r/rust | 16 Feb 2022
    Check out smartcore and linfa. At work I was badly in need of an NMF function similar to MATLAB's one these days but not enough time to write one myself. If you're good at math and machine learning, this sounds like a task you could try tackling.
  • Any role that Rust could have in the Data world (Big Data, Data Science, Machine learning, etc.)?
    8 projects | /r/rust | 4 Dec 2021
  • How far along is the ML ecosystem with Rust?
    6 projects | /r/rust | 15 Sep 2021
    For other algorithms, there is not yet a single library to rule them all (linfa might become that at some point) but searching for the algorithm you need on crate.io is likely to give you some results (obligatory plug to Friedrich, my gaussian process implementation).
    6 projects | /r/rust | 15 Sep 2021
    I'm working on machine learning in Rust at Tangram. We currently only provide an implementation of linear models and gradient boosted decision trees but will move into exposing training of deep models in the future. You can check out Tangram here: https://github.com/tangramdotdev/tangram. You may also be interested in checking out Linfa https://github.com/rust-ml/linfa. If you're interested in the future of machine learning in Rust, check out Luca Palmieri's blog post: https://www.lpalmieri.com/posts/2019-12-01-taking-ml-to-production-with-rust-a-25x-speedup/
  • Linfa has a website now!
    4 projects | /r/rust | 8 Mar 2021
    for a start I will implement the TryFrom for Dataset under a feature flag. But to be really useful some of the algorithms have to start using something like DatasetBase here Records are currently bounded by an associated type for the element type, we would have to relax that too. Just read your blogpost on polars πŸ‘
    4 projects | /r/rust | 8 Mar 2021
    to here: https://github.com/rust-ml/linfa/tree/master/linfa-svm/examples

What are some alternatives?

When comparing tangram and linfa you can also consider the following projects:

smartcore - A comprehensive library for machine learning and numerical computing. The library provides a set of tools for linear algebra, numerical computing, optimization, and enables a generic, powerful yet still efficient approach to machine learning.

Awesome-Rust-MachineLearning - This repository is a list of machine learning libraries written in Rust. It's a compilation of GitHub repositories, blogs, books, movies, discussions, papers, etc. πŸ¦€

rust-ndarray - ndarray: an N-dimensional array with array views, multidimensional slicing, and efficient operations

wtpsplit - Code for Where's the Point? Self-Supervised Multilingual Punctuation-Agnostic Sentence Segmentation

rusty-machine - Machine Learning library for Rust

daisyui - 🌼 🌼 🌼 🌼 🌼  The most popular, free and open-source Tailwind CSS component library

Enzyme - High-performance automatic differentiation of LLVM and MLIR.

tangram - WebGL map rendering engine for creative cartography

openidconnect-rs - OpenID Connect Library for Rust

tangram - Tangram is an all-in-one automated machine learning framework. [Moved to: https://github.com/tangramdotdev/tangram]

code - Source code for the book Rust in Action

rust-plus-golang - Rust + Go β€” Call Rust code from Go using FFI