matrix-doc VS Surprise

Compare matrix-doc vs Surprise and see what are their differences.

matrix-doc

Proposals for changes to the matrix specification [Moved to: https://github.com/matrix-org/matrix-spec-proposals] (by matrix-org)

Surprise

A Python scikit for building and analyzing recommender systems (by NicolasHug)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
matrix-doc Surprise
71 8
749 6,178
- -
9.5 0.0
about 2 years ago 12 months ago
HTML Python
Apache License 2.0 GNU General Public License v3.0 or later
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.

matrix-doc

Posts with mentions or reviews of matrix-doc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-09.
  • Are group video and audio calls encrypten?
    2 projects | /r/elementchat | 9 Mar 2023
    Group voice and video calls are not E2EE, and use Jitsi, but this is expected to change with Native Group VoIP Signalling.
  • So there's no online messaging service that's private, anonymous and secure?
    5 projects | /r/PrivacyGuides | 20 Feb 2023
    DMs in Matrix are always E2EE, and MSC3401: Native Group VoIP Signalling means there should be E2EE in group calls.
  • Element (Matrix) adds video/voice rooms
    7 projects | news.ycombinator.com | 14 Jul 2022
  • Native Matrix VoIP with Element Call
    14 projects | news.ycombinator.com | 5 Mar 2022
    From my perspective, the really exciting thing about this that it works equally well in mobile web browsers as well as desktop web - clicking on a link on Mobile Safari should Do The Right Thing without having to install anything.

    Moreover, because it's built on Matrix, MSC3401 (https://github.com/matrix-org/matrix-doc/blob/matthew/group-...) means that we'll finally have decentralised cascading video/voice conferences once the SFU (selective forwarding unit) component is added into the mix. So, for instance, users on the same homeserver will get their video feeds relayed locally with minimal latency... and then users on another remote homeserver will also get mixed locally with minimal latency, trunking the two together. If the link dies or one homeserver dies, the conference will keep going - i.e. precisely the same semantics as normal Matrix.

  • Introducing Native Matrix VoIP with Element Call!
    5 projects | /r/linux | 5 Mar 2022
  • Signal is more secure than Telegram from my understanding, but the fact that it needs a phone number makes me wary
    2 projects | /r/PrivacyGuides | 2 Mar 2022
    What metadata does Matrix protect? Encrypted state events still aren't a thing for example https://github.com/matrix-org/matrix-doc/pull/3414 This means that server admins know what groups a given account is a member of, private or not, and they also have a general idea of what the topic of said groups are, even if they're encrypted. This would be a problem for groups about sensitive personal medical issues, like a private HIV survivors or Alcoholics Anonymous group.
  • For those suggesting Guilded, Revolt, Signal, or what ever else as Discord alternatives, consider this potential problem inherent in those alternatives, even if two of them are open source
    3 projects | /r/discordapp | 26 Feb 2022
    The protocol itself is flexible and can be changed through spec change proposals on their Github. They're currently working on implementing threads, and they recently implemented spaces, which functionally combine the concept of Discord servers and server folders. They can also be nested.
  • How do I make a room with voice chat where people can leave and join without request like discord?
    1 project | /r/elementchat | 22 Feb 2022
    At the moment this only works with Jitsi. It will be implementet soon with MSC3401
  • Discord is a black hole for information
    7 projects | news.ycombinator.com | 12 Feb 2022
    Something we're trying to do about this on the Matrix side is MSC2716 (https://github.com/matrix-org/matrix-doc/blob/matthew/msc271...) - the ability to import archives of existing content into Matrix, and thus 'lock it open' and decentralise it for posterity: as long as one of the servers participating in that room stays alive (and the room is set up with infinite data retention, obviously) then the conversation will live on forever. (That MSC is also well worth a look for those interested in how Matrix works under the hood; MSC2716 was a surprisingly tricky problem to solve but it's basically finished now!).

    Our first step will be to import all of Gitter's archives into Matrix - but we're then planning to add MSC2716 to all the existing Matrix bridges so that folks can use it to liberate chat history from Discord and Slack if desired, and avoid it getting paywalled/siloed/lost/held-hostage forever. We're also expecting to do USENET, mailing lists, forums, public IRC channels which have explicitly opted into logging... and generally archive as much possible in an open decentralised fashion, and ensure that gatekeepers can't lock up and blackhole info going forwards. After all, information longs to be free :)

  • Matrix v1.2 Specification
    1 project | news.ycombinator.com | 3 Feb 2022
    by 'broken links' i guess you mean https://github.com/matrix-org/matrix-doc/issues/3628? it's a bug on the new spec website; we're working on it.

Surprise

Posts with mentions or reviews of Surprise. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-16.
  • Recommender Systems: Surprise library installation on m1 mac
    1 project | /r/learnpython | 12 Jan 2023
    Something is wrong with the repo. The compiler fails with this error clang: error: no such file or directory: 'surprise/similarities.c' If you go to the repo, you'll see the file is indeed missing: https://github.com/NicolasHug/Surprise/tree/master/surprise
  • Recommender systems question
    1 project | /r/MLQuestions | 12 Nov 2022
    Scikit-surprise is a useful package and has pretty good documentation to help make the leap from conceptual understanding to code. If you want to understand the various implementations, the package is open source and available on GitHub. I can’t speak for optimal computational efficiency but I think that it’s premature to worry about that while you’re still making the transition from concept to functionality.
  • Surprise – a simple recommender system library for Python
    1 project | /r/Python | 1 Mar 2022
    1 project | /r/recommendersystems | 1 Mar 2022
    1 project | /r/programming | 1 Mar 2022
    1 project | news.ycombinator.com | 1 Mar 2022
  • Dislike button would improve Spotify's recommendations
    4 projects | news.ycombinator.com | 16 Oct 2021
    I spent the latter half of 2019 trying to build this as a startup. Ultimately I pivoted (now I do newsletter recommendations instead), but if I hadn't made some mistakes I think it could've gotten more traction. Mostly I should've simplified the idea to make it easier to build. If anyone's interested in working on this, here's what I would do:

    (But first some background: The way I saw it, you can split music recommendation into two tasks: (1) picking a song you already know that should be played right now, and (2) picking a new song you've never heard of before. (Music recommendation is unique in this way since in most other domains there isn't much value in re-recommending items). I think #1 is more important, and if you nail that, you can do a so-so job of #2 and still have a good system.)

    Make a website that imports your Last.fm history. Organize the history into sessions (say, groups of listen events with a >= 30 minute gap in between). Feed those sessions into a collaborative filtering library like Surprise[1], as a CSV of `, , 1` (1 being a rating--in this case we only have positive ratings). Then make some UI that lets people create and export playlists. e.g. I pick a couple seed songs from my listening history, then the app uses Surprise to suggest more songs. Present a list of 10 songs at a time. Click a song to add it, and have a "skip all" button that gets a new list of songs. Save these interactions as ratings--e.g. if I skip a song, that's a -1 rating for this playlist. For some percentage of the suggestions (20% by default? Make it configurable), use Last.fm's or Spotify's API to pick a new song not in your history, based on the songs in the current playlist. Also sometimes include songs that were added to the playlist previously--if you skip them, they get removed from the playlist. Then you can spend a couple minutes every week refreshing your playlists. Export the playlists to Spotify/Apple Music/whatever.

    As you get more users, you can do "regular" collaborative filtering (i.e. with different users) to recommend new songs instead of relying on external APIs. There are probably lots of other things you could do too--e.g. scrape wikipedia to figure out what artists have done collaborations or something. In general I think the right approach is to build a model for artist similarity rather than individual song similarity. At recommendation time, you pick an artist and then suggest their top songs (and sometimes pick an artist already in the user's history, and suggest songs they haven't heard yet--that's even easier).

    This is the simplest thing I can think of that would solve my "I love music but I listen to the same old songs everyday because I'm busy and don't want to futz around with curating my music library" problem. You wouldn't have to waste time building a crappy custom music app, and users won't have to use said crappy custom music app (speaking from personal experience...). You wouldn't have to deal with music rights or integrating with Spotify/Apple Music since you're not actually playing any music.

    If you want to go further with it, you could get traction first and then launch your own streaming service or something. (Reminds me a bit of Readwise starting with just highlights and then launching their own reader recently). I think it'd be neat to make an indie streaming service--kind of like Bandcamp but with an algorithm to help you find the good stuff. Let users upload and listen to their own MP3s so it can still work with popular music. Of course it'd be nicer for users in the short term if you just made deals with the big record labels, however this would help you not end up in Spotify's position of pivoting to podcasts so you can get out of paying record labels. And then maybe in a few decades all the good music won't be on the big labels anyway :).

    Anyway if anyone is remotely interested in building something like this, I'll be your first user. I really need it. Otherwise I'll probably build it myself at some point in the next year or two as a side project.

    [1] http://surpriselib.com/

  • Show HN: The Sample – newsletters curated for you with machine learning
    1 project | news.ycombinator.com | 28 Jun 2021
    I'm planning to build a business on this, so probably won't open-source it--but I'm always looking for interesting things to write about! I write a weekly newsletter called Future of Discovery[1]; I might write up some more implementation details there in a week or two. In the mean time, most of the heavy lifting is done by the Surprise python lib[2]. It's pretty easy to play around with, just give it a csv of , , and then you can start making rating predictions. Also fastText[3] is easy to mess around with too. Most of the code I've written just layers things on top of that, e.g. to handle exploration-vs-exploitation as discussed in another thread here.

    Recently I've been factoring out the ML code into a separate recommendation service so it can different kinds of apps (I just barely made this essay recommender system[4] start using it for example).

    I'm happy to chat about recommender systems also if you like, email's in my profile.

    [1] https://findka.com

    [2] http://surpriselib.com/

    [3] https://fasttext.cc/

    [4] https://essays.findka.com

What are some alternatives?

When comparing matrix-doc and Surprise you can also consider the following projects:

matterbridge - bridge between mattermost, IRC, gitter, xmpp, slack, discord, telegram, rocketchat, twitch, ssh-chat, zulip, whatsapp, keybase, matrix, microsoft teams, nextcloud, mumble, vk and more with REST API (mattermost not required!)

LightFM - A Python implementation of LightFM, a hybrid recommendation algorithm.

Mumble - Mumble is an open-source, low-latency, high quality voice chat software.

scikit-learn - scikit-learn: machine learning in Python

Synapse - Synapse: Matrix homeserver written in Python/Twisted.

tensorflow - An Open Source Machine Learning Framework for Everyone

Mastodon - Your self-hosted, globally interconnected microblogging community

python-recsys - A python library for implementing a recommender system

Ferdi - Ferdi is a free and opensource all-in-one desktop app that helps you organize how you use your favourite apps

Crab - Crab is a flexible, fast recommender engine for Python that integrates classic information filtering recommendation algorithms in the world of scientific Python packages (numpy, scipy, matplotlib).

matrix-docker-ansible-deploy - 🐳 Matrix (An open network for secure, decentralized communication) server setup using Ansible and Docker

MLflow - Open source platform for the machine learning lifecycle