News for hackers. Stuff that matters.
Re:A week with Hy by wodenokoto on Friday August 09, 2019 @06:54AM (#20653099)

    def prepare_target(y):
        if hasattr(y, "values")
            return target.values.reshape(-1,1)
        else:
            return target.reshape(-1,1)
Shouldn't that be

    def prepare_target(y):
        if hasattr(y, "values")
            return y.values.reshape(-1,1)
        else:
            return y.reshape(-1,1)

There are no comments on this comment yet.