In a neural network, the dependent variable can be which data types?

Prepare for the Data Mining Test with our comprehensive quizzes. Practice with various question types, each with hints and explanations. Boost your understanding and ensure success on your exam!

Multiple Choice

In a neural network, the dependent variable can be which data types?

Explanation:
Neural networks used for supervised learning can have dependent variables that are either continuous values or discrete categories. A numeric target corresponds to regression tasks where the network outputs a real number and is trained with a loss like mean squared error. A categorical target corresponds to classification tasks where the network outputs probabilities over classes via a softmax (or a sigmoid for binary) and is trained with cross-entropy loss. Text as a direct dependent variable isn’t typical in standard supervised learning because text must be converted into numbers (tokens, embeddings) before the network can process it, and models that generate text treat the problem as sequence generation rather than predicting a single numeric label. Therefore, the dependent variable can be numeric and categorical.

Neural networks used for supervised learning can have dependent variables that are either continuous values or discrete categories. A numeric target corresponds to regression tasks where the network outputs a real number and is trained with a loss like mean squared error. A categorical target corresponds to classification tasks where the network outputs probabilities over classes via a softmax (or a sigmoid for binary) and is trained with cross-entropy loss. Text as a direct dependent variable isn’t typical in standard supervised learning because text must be converted into numbers (tokens, embeddings) before the network can process it, and models that generate text treat the problem as sequence generation rather than predicting a single numeric label. Therefore, the dependent variable can be numeric and categorical.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy