<prompt> Mekhoa e meli ea ho koetlisa neural network ke efe?nan  <response>: Instruction in English: What are two methods for training a neural network? . Response in English: Two common methods for training a neural network are backpropagation and gradient descent.1. Backpropagation: Backpropagation is a supervised learning algorithm where the errors or loss between the predicted values and actual output of the neural network are propagated backward through the network to adjust the weights in order to minimize the error. This is achieved by calculating the derivative of error with respect to the weights or the gradient of the error and adjusting the weights in the opposite direction of the gradient.2. Gradient Descent: Gradient descent is an optimization algorithm for minimizing the objective function, which in the case of neural networks is the cost function that measures the difference between the predicted value and the actual output. The algorithm iteratively adjusts the weights of the network in order to minimize the cost function. The direction of the update is determined according to the negative gradient of the cost function. . Response in Sesotho: Mekhoa e meli e tloaelehileng ea ho koetlisa marang-rang a methapo ea kutlo ke backpropagation le gradient descent. 1. Backpropagation: Backpropagation ke algorithm ea ho ithuta e laoloang moo liphoso kapa tahlehelo pakeng tsa litekanyetso tse boletsoeng esale pele le tlhahiso ea sebele ea marang-rang a marang-rang a phatlalatsoang ka morao ka marang-rang ho lokisa litekanyo e le ho fokotsa phoso. Sena se finyelloa ka ho bala ho tsoa ho phoso mabapi le litekanyo kapa lebelo la phoso le ho lokisa litekanyo ka lehlakoreng le fapaneng la gradient. 2. Ho theoha ha Gradient: Ho theoha ha Gradient ke algorithm ea optimization bakeng sa ho fokotsa tsebetso ea sepheo, eo tabeng ea marang-rang a marang-rang e leng mosebetsi oa litšenyehelo o lekanyang phapang pakeng tsa boleng bo boletsoeng esale pele le tlhahiso ea sebele. Algorithm e fetola ka makhetlo litekanyo tsa marang-rang e le ho fokotsa tsebetso ea litšenyehelo. Tataiso ea ntlafatso e khethoa ho latela maemo a fosahetseng a tsebetso ea litšenyehelo. 