HackerTrans
トップ新着トレンドコメント過去質問紹介求人

alexshtf

no profile record

投稿

[untitled]

1 ポイント·投稿者 alexshtf·4 か月前·0 コメント

[untitled]

1 ポイント·投稿者 alexshtf·5 か月前·0 コメント

[untitled]

1 ポイント·投稿者 alexshtf·6 か月前·0 コメント

[untitled]

1 ポイント·投稿者 alexshtf·7 か月前·0 コメント

[untitled]

1 ポイント·投稿者 alexshtf·7 か月前·0 コメント

[untitled]

1 ポイント·投稿者 alexshtf·8 か月前·0 コメント

A tiny spectral PMF estimator for large discrete supports

arxiv.org
2 ポイント·投稿者 alexshtf·9 か月前·0 コメント

Show HN: TorchCurves – Differentiable parametric curves for PyTorch

github.com
1 ポイント·投稿者 alexshtf·10 か月前·0 コメント

Differentiable Curves for PyTorch

github.com
1 ポイント·投稿者 alexshtf·10 か月前·0 コメント

Paying attention to feature distribution alignment

alexshtf.github.io
10 ポイント·投稿者 alexshtf·11 か月前·0 コメント

コメント

alexshtf
·4 か月前·議論
I'm the author. This is for readers interested in spectral methods, structured linear algebra, or interpretable tabular models.

The post looks at restricting learned symmetric matrix pencils, which serve as a nice intermediate between fully interpretable linear models and fully opaque neural networks, to tridiagonal form. That makes the eigensolve much cheaper, still leaves enough expressiveness to fit nontrivial functions, and lets me wire SciPy's `eigh_tridiagonal` into PyTorch autograd for training.

I also compare against the earlier dense version on California Housing: in the 45x45 example, the tridiagonal run takes about 3-4 minutes on CPU versus about 31 minutes for the earlier dense run on an L4 GPU, with similar error in that experiment. The post includes code, plots, and a Colab notebook.
alexshtf
·7 か月前·議論
Good
alexshtf
·11 か月前·議論
Having developed in C++ a large portion of my career up until a 5+ years ago, it's nice to see C++ went a long way.

However one thing bothers me - error messages. Have the compilers evolved? Eventually, all this stuff translates to templates under the hood, and I remember always getting the compiler error far away from the place I've actually made the mistake.