# Making sense of fluid.mlpregressor~s autoencoder

**URL:** https://discourse.flucoma.org/t/making-sense-of-fluid-mlpregressor-s-autoencoder/840
**Category:** Pre-Release Toolbox2 Usage
**Created:** [March 17, 2021, 11:53pm UTC](https://discourse.flucoma.org/t/making-sense-of-fluid-mlpregressor-s-autoencoder/840 "2021-03-17T23:53:09Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![rodrigo.constanzo](https://discourse.flucoma.org/user_avatar/discourse.flucoma.org/rodrigo.constanzo/32/12_2.png) [@rodrigo.constanzo](https://discourse.flucoma.org/u/rodrigo.constanzo)
#### Post date: [March 18, 2021, 3:58pm UTC](https://discourse.flucoma.org/t/making-sense-of-fluid-mlpregressor-s-autoencoder/840/5 "2021-03-18T15:58:03Z")

</div>

> [@weefuzzy](#):
>
> {many wise things]

Thanks for this. There’s so much knowledge here that overall falls into the “it depends” quadrant, but at the same time are “things you should know, and not really deviate from”.

> [@weefuzzy](#):
>
> Do you really (_really_?) need 76 input dimensions. Are they all doing useful work relative to each other? I think I at least described how PCA can be used in starting to make an assessment on this front in another thread, even if I didn’t get around to demonstrating it.

Well, [I’ve been experimenting using as few dimensions as possible](https://discourse.flucoma.org/t/intelligent-feature-selection-with-svm-or-pca/788) but this is stemming from “the other side” where I take a load more features/stats and then run it through some kind of funnel to pull things down from there. So the 76D feels like a _modest_ amount of features to start off with.

> [@weefuzzy](#):
>
> …It’s also possible that a round of PCA beforehand…

I hadn’t thought of this as it seemed either redundant or “bad practice”, particularly with how brutal PCA is. I’d be more inclined to do some of the SVM stuff from the [other thread](https://discourse.flucoma.org/t/intelligent-feature-selection-with-svm-or-pca/788) to prune down to the most salient features before running them through some kind of destructive/transformative process like PCA/UMAP/MLP/etc… Don’t know if that’s just my lack of knowledge, but it seems that having multiple layers of transformation this way is akin to transcoding audio, which can introduce compound artefacts along the way.

I guess in general with this, if I have a “small” amount of samples in my corpus (\<40k), but have a “large” amount of descriptors (\>70), I would have to add some additional steps to overcome the initial fit-ing of the network?

Lastly, is the faff and twiddling required to train an autoencoder something that (generally speaking) leads to something that better reproduces/captures/clusters/whatever the information in a dataset? And I suppose in non-linear ways that wouldn’t otherwise be possible with PCA/UMAP/TSNE. Or rather, is the autoencoder a whole load of work just to have something that’s “different” from PCA/UMAP/TSNE?

> [@weefuzzy](#):
>
> On activations, another rule of thumb: just use reLU unless there seems a pressing reason not to. Don’t get hung up about ranges either, because the thing is learning (potentially bipolar) weights and biases. With the exception of very tiny networks, or networks with feedback connections (not an issue here), reLU is likely to be much less faffy every time.

I guess there’s specific flavors or reasons for each activation type to be there, but is this then another parameter for “test and see what you get”?

---

_[View the full topic](https://discourse.flucoma.org/t/making-sense-of-fluid-mlpregressor-s-autoencoder/840)._
