A learning device using, as a learning target, a transporting apparatus provided with a first roller which transports web-like or sheet-like transport target matter and a second roller disposed downstream of the first roller in a transport path of the transport target matter, a rotation control section which controls at least one of a rotation speed of the first roller and a rotation speed of the second roller, and a position detection section which detects a position of the transport target matter in a direction intersecting the transport path between the first roller and the second roller, the learning device comprising:
- a state variable acquisition section which acquires a state variable and a detection result of the position detection section, the state variable being based on information of a state of the transport target matter and information of an environment to which the transport target matter is exposed;
- and
- a learning section which learns an operational expression for calculating a control value of the rotation control section based on a dataset containing the state variable acquired by the state variable acquisition section and the detection result of the position detection section.