Better HN
topnewbestaskshowjobs
Log inSign up

muzakthings

132 karma · joined Dec 6, 2013 (12y ago) · 56 submissions

Submissions

comment 1y ago · link · parent

A PyTorch-based musical mel-frequency transform for audio processing, optimized for performance and ONNX compatibility.

If you've ever wanted audio features that directly represent semitones (or quarter tones!) this is the package for you.

2.

Musical mel transform in Torch for Music AI(github.com ↗)

3 points · by muzakthings · 1y ago · 1 comment

comment 2y ago · link · parent

very cool. how are you creating the control vectors? curious since the word "cold" can be both a conversational disposition and a temperature (same word)

comment 5y ago · link · parent

Of course not! :)

The Ray ecosystem is actually chalk full of integrations, from XGBoost Ray (https://docs.ray.io/en/master/xgboost-ray.html), to PyTorch on Ray (https://docs.ray.io/en/master/using-ray-with-pytorch.html), and of course hyperparameter search with Ray Tune for a variety of libraries, including Sklearn (https://github.com/ray-project/tune-sklearn).

5.

LightGBM vs. XGBoost: Which distributed version is faster?(anyscale.com ↗)

22 points · by muzakthings · 5y ago · 2 comments

comment 6y ago · link · parent

For Python I'd recommend: https://github.com/worldveil/deuces

comment 6y ago · link · parent

I have Comcast. I did it with this guide: https://willdrevo.com/blocking-ads-with-pihole-mac-os-x-ipho...

comment 6y ago · link · parent

I would love to see an ELI5 writeup of this. For instance, I can't quite warp my head around - how are they storing neuron state in the lattice?

comment 6y ago · link · parent

what kind of DSP were you doing? can I come work for you haha

comment 7y ago · link · parent

Tile images, set randomness, build videos with tile images, and do face alignment montages with embedding network:

https://github.com/worldveil/photomosaic

comment 7y ago · link · parent

yep. https://github.com/worldveil/photomosaic

comment 7y ago · link · parent

this is super cool. do you think the primary demand driver for your sales will be 1) gov't mandates, or 2) cattle farmers wanting to differentiate their meat to eco-conscious customers / retailers? just curious about how you see the market.

comment 7y ago · link · parent

Right. The opacity setting is superimposed after the tile assignment. Thus you can have both.

I’ve found that opacity if 0.7 is often a nice compromise.

comment 7y ago · link · parent

Both! You can experiment with —-best-k and —randomness <1.0 and sort of get things in the middle.

Basically what this will do is assign each tile less than 100% of the time randomly and then for each that isn’t, you choose among the top best K matches on L2 distance with equal probability. Gives it a little bit of both.

comment 7y ago · link · parent

Totally. Everything improves with more images since that’s your palette for painting, so to speak. The ones I posted were with less than 100 images so you can definitely do better.

L*b was very slow, yes. It’s all done offline but I tend to like quicker feedback...

comment 7y ago · link · parent

Right. See my comment above.

As to why it was in the project: If you treat each pixel as an example vector in 3 dimensions and cluster, you get the “dominant” colors for the image. It’s a primitive way to compress images as well. In this case I just was using it to generat fun cards that would use a minimal number of dominant colors. It’s still in the code if you’d like to use it but a bit hidden.

comment 7y ago · link · parent

It didn’t make a ton of difference empirically when I tried it.

But you’re correct, generally that’s the space you want to be in.

comment 7y ago · link · parent

Naw I had used the Kmeans part for extracting dominant colors. I was thinking about using it to generate cards and using the top K colors for the background of the card.

As I mentioned above the only ML is the face classifier. There’s a flag that allows you to only include face pics in the photomosaics as well

comment 7y ago · link · parent

The face montage building trains a linear classifier on top of the pretrained embedding network - it’s the portion that talks about creating a training folder of your face.

But yes the photomosiacs strictly don’t use ML, unless you count the internal fun stuff Faiss (the similarity search lib) does to construct fast indexes.

20.

Make photomosaics, GIFs, and murals from pictures in Python with ML/OpenCV(github.com ↗)

126 points · by muzakthings · 7y ago · 21 comments

comment 8y ago · link · parent

This is super cool!

Do you have planned support for consensus-type mutlisig access? (ie: needing M of N approvals to acccess resources)

comment 8y ago · link · parent

This guy needs to take a Stats 101 class. Taking a biased sample of Reddit posts and claiming that it must equate a liquidity crisis at the world's largest crypto exchange? Please.

80% of the problems Coinbase and every other exchange has are dealing with "Finance 1.0" banks & payment processors who still move funds around by having their employees manually type in numbers and sending transfer records via FTP. Seriously.

In a sense, Coinbase and other exchanges are moving money out of the traditional (fragmented) banking system and into a digital one. That takes friction and dealing with fragmented systems.

And personally I'd trust Coinbase over any of the other ones any day of the week. Have you dealt with Kraken/Poloniex/etc? Terrifying.

comment 9y ago · link · parent

If you're using a free service with no ads, then of course they are selling any data you give them access to.

This isn't really news.

comment 9y ago · link · parent

1) Does it integrate with my calls from my iOS / emails from gmail? So that I can sort by "least recently connected"? otherwise writing notes each time and looking it up gets tiresome. 2) is there a mobile app? 3) how much will it cost monthly? 4) how are reminder sent?

comment 9y ago · link · parent

Just because you shuffle the examples on a single phone/user doesn't make it stochastic.

The entire point of using stochasticity (ie: random shuffling) is to avoid similar and/or a same-ordered run of examples from redirecting the hill climbing in a globally non-optimal direction all at once.

A single user's examples will be very similar, so you can shuffle all the examples from one user you want - that doesn't make it truly stochastic in the context of gradient descent optimization.

The quantization / compression part is pretty cool though. I suppose that could obfuscate slightly what the original example was for privacy purposes? Seems like you'd lose on accuracy though.

comment 9y ago · link · parent

This is literally non-stochastic gradient descent where the batch update simply comes from a single node and a correlated set of examples. Nothing mind-blowing about it.

comment 9y ago · link · parent

You realize that softmax scores aren't probabilities, right?

It's just a relative measure of confidence, scaled such that they all sum to 1.0.

comment 9y ago · link · parent

Is this a library that does entity recognition and matching on individual elements in streams, or are the streams themselves being featurized/matched?

comment 10y ago · link · parent

Does mypy see any performance improvements over vanilla python (because types are static)?

comment 10y ago · link · parent

Exactly. Typically you won't see radio/streaming services messing around with reverb, but certainly different stereo systems have their own EQ (changes phase, amplitude) and often times the format/bitrate (again: phase, amplitude) or loudness (amplitude) will be different.

Most people don't realize this, but usually artists/labels will have a different mastered version of a song on each platform. Spotify, for instance, has it's own normalization algorithm that it puts tracks through to even out the listening experience in terms of loudness (RMS). Of course artists and their mastering engineers want to have some control over how that sounds, so they will change it.

12