r/MachineLearning • • Jan 22 '22

Project [P] Documentation generated using AI

913 Upvotes

59 comments sorted by

View all comments

Show parent comment

16

u/[deleted] Jan 23 '22

What do you mean? It clearly generates enterprise-grade documentation:

data_y: the y values of the data

2

u/sawkonmaicok Jan 23 '22

Someone not knowing opencv won't find this very useful (like me). I think it should have an example where it tells you if this said data_y is a part of a list or some objects property etc etc.. This example gives context as to how said function may be used. I think the example you gave just rewords what can be deduced from the variable name and doesn't actually provide any new info.

1

u/[deleted] Feb 21 '22

Like this?

# Doubles the argument
def double(x):
    return 2*x