Hacker News new | ask | show | jobs
by nl 3018 days ago
No.

The example there is 7 lines (counting the NN description as one line). That's using a (easy) pre-existing dataset too, and a primative neural network.

That's roughly the same as in Python using something like the fast.ai library. I think that comes for 4 lines (not including data wrangling or inputs):

data = ImageClassifierData.from_paths(PATH, tfms=tfms_from_model(arch, sz)) learn = ConvLearner.pretrained(arch, data, precompute=True) learn.fit(0.01, 2) log_preds = learn.predict()

See [1]

Also note that this AutoML version uses zero lines of code.

[1] https://github.com/fastai/fastai/blob/master/courses/dl1/les...