Live data from Hacker News

Building an AI to predict human age from a blood sample

colekillian.com

51–60 of 68 posts

Re: Building an AI to predict human age from a blood sample

#51
post #17

So I'm not ML guru or anything but what I learned was that if you have m features on n samples you want n > m to prevent over-fitting, no? Also, with so few samples, how do you do your hyperparameter tuning and validation? I mean you could eliminate certain features in isolation but that doesn't capture dependent features. And how would you do dimensionality reduction?

Yes I agree you want number of samples to be greater than number of features. This is why the number of features were reduced from over 400,000 to 25. After this reduction the number of features is less than the number of samples (~700).

Honestly I didn't prioritize hyperparameter tuning enough. I pretty much went with one of the first models I identified.

Could you elaborate on the idea of not capturing dependent features please?

Re: Building an AI to predict human age from a blood sample

#52
post #12

Interesting write up. I'd be interested to see how it performs with k-folds validation as well as shuffling. Kind of worried its learning order or samples.

Thanks I really appreciate it.

I'll try and get back to you with the performance of k-folds validation and shuffling.

I don't think it can be learning the order or samples because the train and test data sets are separated very early on. If it were learning order or samples of the training set it would have to perform very poorly on the test set.

Re: Building an AI to predict human age from a blood sample

#56

For anyone interested, there's a tool http://www.aging.ai which does exactly that, using deep-learning algorithms on, and I quote, "hundreds of thousands anonymized human blood tests". I've used it myself for fun after doing a blood test. It's a free alternative to InsideTracker's InnerAge product.

Wow very cool tool! I didn't know about this somehow. Thanks for sharing. Cool that you've tried it on yourself.

Re: Building an AI to predict human age from a blood sample

#57
post #22

When I see work like these it get me the impression that ML hype is way too real. The goodness of the result of a machine learning model like this one should be compared with the goodness of a simple "standard" model like linear regression. Yeah it is kinda cool that we can use 10 lines of TF to spin up huge computation, but I guess that a simple linear regression would have provide results that are at least similar…

Yeah i'd agree that ML hype is too real I guess I'm part of the problem

It's more fun to use a neural net :) but after many similar comments I plan on implementing a simpler approach and seeing how it compares

Re: Building an AI to predict human age from a blood sample

#58
post #5

>Back to the computer science: 470,000+ features sounds nice at first, but is a recipe for overfitting when we only have 700 samples at our disposal. Proceeds to use (1024^2 * 2 + 1024) parameters in the neural network.

what a meme haha :)

after many similar comments I plan on implementing a simpler model and seeing how it compares

Re: Building an AI to predict human age from a blood sample

#59
When you post an article, please don't publish the code somewhere an account must be created in order to read it. In this case, I cannot check the full code because it is hosted at https://colab.research.google.com, a tarball attached to the article or a publicly accessible host like gitlab.com or github.com would have been fine.
Post reply on HN