rheon.Target¶
- class rheon.Target[source]¶
Bases:
TypedDictA target column under a name of its own, written as a table.
It is what
rheon.target()returns, and a[[specs]]target table in the command line’s TOML.columnis the column the model learns, read as it is.nameis the name its output fields carry,column’s when it is not given.Examples
price: rp.Target = {"column": "y", "name": "price"} # as rp.target("y", name="price") print(price == rp.target("y", name="price"))
True