Home »
MCQs
PyBrain MCQs
PyBrain MCQs: This section contains multiple-choice questions on PyBrain. All MCQs have the correct answers and explanations. These MCQs will help students and professionals to test their skills and to enhance their knowledge of PyBrain.
List of PyBrain MCQs
1. Pybrain is an open-source machine learning package written in ____.
- C
- Ruby on Rails
- Java
- Python
Answer: D) Python
Explanation:
Pybrain is an open-source machine learning package written in Python.
Discuss this Question
2. PyBrain is an abbreviation for ____.
- Python-Based Reinforcement Learning
- AI
- Neural Network Library
- All of the above
Answer: D) All of the above
Explanation:
PyBrain is an abbreviation for Python-Based Reinforcement Learning, AI, and Neural Network Library.
Discuss this Question
3. A network is made up of modules that are linked together through ____.
- Contacts
- Modules
- Connections
- Connectors
Answer: C) Connections
Explanation:
A network is made up of modules that are linked together through connections.
Discuss this Question
4. Does PyBrain support neural networks?
- Yes
- No
Answer: A) Yes
Explanation:
Yes, Pybrain supports neural networks such as the Feed-Forward Network, the Recurrent Network, and others.
Discuss this Question
5. What is the feed-forward network?
- A feed-forward network is a type of neural network in which information between nodes flows backward and never forward.
- A feed-forward network is a type of neural network in which information between nodes flows forward and never backward.
Answer: B) A feed-forward network is a type of neural network in which information between nodes flows forward and never backward.
Explanation:
A feed-forward network is a type of neural network in which information between nodes flows forward and never backward.
Discuss this Question
6. Which is the first and most basic network accessible in the artificial neural network?
- Perceptron.
- Feed Forward Neural Network.
- Multilayer Perceptron.
- Convolutional Neural Network
Answer: A) Perceptron.
Explanation:
Perceptron is the first and most basic network accessible in the artificial neural network.
Discuss this Question
7. What is the difference between Recurrent Networks and Feed Forward Networks?
- Recurrent Networks are similar to Feed Forward Networks it is not compulsory in Recurrent Networks to remember the data at each step.
- Recurrent Networks are similar to Feed Forward Networks in that they must remember the data at each step. Each step's history must be kept.
- There is no difference they are the same.
Answer: B) Recurrent Networks are similar to Feed Forward Networks in that they must remember the data at each step. Each step's history must be kept.
Explanation:
Recurrent Networks are similar to Feed Forward Networks in that they must remember the data at each step. Each step's history must be kept.
Discuss this Question
8. Which of the following datasets are supported by PyBrain?
- Supervised dataset
- Classification dataset
- Sequential dataset
- All of the above
Answer: D) All of the above
Explanation:
Supervised dataset, classification dataset, and sequential dataset are the datasets classes that are supported by Pybrain.
Discuss this Question
9. Which type of dataset has a temporal link between the input and output pairs?
- Supervised dataset
- Classification dataset
- Sequential dataset
Answer: C) Sequential dataset
Explanation:
Sequential dataset is a dataset that has a temporal link between the input and output pairs.
Discuss this Question
10. In which type of dataset each sample is assigned a label from a limited range of categories?
- Supervised dataset
- Classification dataset
- Sequential dataset
Answer: B) Classification dataset
Explanation:
A classification dataset is a type of dataset in which each sample is assigned a label from a limited range of categories.
Discuss this Question
11. What is BackpropTrainer?
- BackpropTrainer is a trainer that backpropagates the dataset in a forward direction to train the parameters of a module using a supervised or ClassificationDataSet dataset.
- BackpropTrainer is a trainer that backpropagates mistakes to train the parameters of a module using a supervised or ClassificationDataSet dataset
Answer: B) BackpropTrainer is a trainer that backpropagates mistakes to train the parameters of a module using a supervised or ClassificationDataSet dataset
Explanation:
BackpropTrainer is a trainer that backpropagates mistakes to train the parameters of a module using a supervised or ClassificationDataSet dataset.
Discuss this Question
12. Which of the following is used to train the module until it converges on the dataset?
- TrainUntilConvergence
- BackpropTrainer
- Both
Answer: A) TrainUntilConvergence
Explanation:
TrainUntilConvergence is used to train the module until it converges on the dataset.
Discuss this Question
13. Does Pybrain integrates with other Python libraries/packages?
- Yes
- No
Answer: A) Yes
Explanation:
Pybrain integrates seamlessly with other Python packages for data visualization.
Discuss this Question
14. Can you work with.csv files to import datasets in Pybrain?
- Yes
- No
Answer: A) Yes
Explanation:
Working with.csv files to import datasets is a breeze with Pybrain. It also permits the use of datasets from another library.
Discuss this Question
15. What do you mean by Total Error?
- Total Error refers to the error shown after the dataset is loaded.
- Total Error refers to the error shown after the wrong format of the dataset is loaded.
- Total Error refers to the error shown after the network is trained.
Answer: C) Total Error refers to the error shown after the network is trained.
Explanation:
Total Error refers to the error shown after the network is trained.
Discuss this Question
16. What is trained data?
- Trained data is the data that was used to train the Pybrain network.
- Trained data is the data that was loaded in the Pybrain.
- Trained data is the data that is the result of the dataset loaded in the Pybrain network.
Answer: A) Trained data is the data that was used to train the Pybrain network.
Explanation:
Trained data is the data that was used to train the Pybrain network.
Discuss this Question
17. The data which is used to test the trained Pybrain network is known as ____.
- Testing info
- Testing outcome
- Testing evidence
- Testing data
Answer: D) Testing data
Explanation:
The data which is used to test the trained Pybrain network is known as testing data.
Discuss this Question
18. ____ are essentially a collection of functions that are employed on a network's hidden layers.
- Layers
- Tiers
- Path
- Strata
Answer: A) Layers
Explanation:
Layers are essentially a collection of functions that are employed on a network's hidden layers.
Discuss this Question
19. Does connection work exactly similarly to a layer?
- Yes
- No
Answer: B) No
Explanation:
A connection works similarly to a layer; the only difference is that it transfers data from one node in a network to another.
Discuss this Question
20. ____ are networks that have input and output buffers.
- Units
- Components
- Modules
Answer: C) Modules
Explanation:
Modules are networks that have input and output buffers.
Discuss this Question
21. Which of the following package should be added so that we can utilize the dataset?
- pybrain.data
- pybrain.dataset
- pybrain.datasetSuper
- pybrain.Superdataset
Answer: B) pybrain.dataset
Explanation:
We can utilize the dataset by adding the following package: pybrain.dataset
Discuss this Question
22. Which of the following Supervised dataset method will create a new sample from the input and target?
- addValue(inp, target)
- add(inp, target)
- addTest(inp, target)
- addSample(inp, target)
Answer: D) addSample(inp, target)
Explanation:
addSample(inp, target) method will create a new sample from the input and target.
Discuss this Question
23. The ____ function returns a deep copy of the dataset.
- Clone()
- Dupli()
- Copy()
- Replica()
Answer: C) Copy()
Explanation:
The copy() function returns a deep copy of the dataset.
Discuss this Question
24. ____ function clears the dataset.
- Clean()
- Remove()
- Delete()
- Eliminate()
Answer: A) Clean()
Explanation:
clean() function clears the dataset.
Discuss this Question
25. Which of the following is needed to be imported in Pybrain to create a feedforward network?
- pybrain.form import FeedForwardNetwork
- pybrain import FeedForwardNetwork
- pybrain.structure import FeedForwardNetwork
- pybrain.system import FeedForwardNetwork
Answer: C) pybrain.structure import FeedForwardNetwork
Explanation:
To create a feedforward network, we need to import it from pybrain structure as:- from pybrain.structure import FeedForwardNetwork
Discuss this Question
26. To create a layer, you need to use ____ class as the base class to create all types of layers.
- NeuroLayer class
- NeuronLayer class
- NeuronalLayer class
Answer: B) NeuronLayer class
Explanation:
To create a layer, you need to use NeuronLayer class as the base class to create all types of layers.
Discuss this Question
27. To create a Layer, we need to implement which method?
- _forwardImplementation()
- _backwardImplementation().
- Both
Answer: C) Both
Explanation:
To create a Layer, we need to implement two methods: _forwardImplementation() and _backwardImplementation().
Discuss this Question
28. How many parameters does the _forwardImplementation() function accepts?
- 5
- 4
- 3
- 2
Answer: D) 2
Explanation:
The _forwardImplementation() function accepts two parameters, inbuf, and outbuf.
Discuss this Question
29. Which function computes the derivative of the output with regard to the input?
- _forwardImplementation()
- _backwardImplementation().
- Both
Answer: B) _backwardImplementation().
Explanation:
The _backwardImplementation() function computes the derivative of the output with regard to the input.
Discuss this Question
30. Which of the following component interact with each other during reinforcement?
- Environment
- Agent
- Task
- Experiment
- All of the above
Answer: E) All of the above
Explanation:
The components that interact with each other during Reinforcement are as follows –
- Environment
- Agent
- Task
- Experiment
Discuss this Question
31. To link the agent to the environment, we need a unique component called ____.
- Job
- Experiment
- Task
Answer: C) Task
Explanation:
To link the agent to the environment, we need a unique component called to task.
Discuss this Question
32. What is MDP?
- Maze decision process
- Markov decision process
- Markup decision process
Answer: B) Markov decision process
Explanation:
MDP stands for Markov decision process.
Discuss this Question
33. Which API Adds a connection to the network?
- addConnection(c)
- includeConnection(c)
- appendConnection(c)
- CreateConnection(c)
Answer: A) addConnection(c)
Explanation:
addConnection(c) API, Adds a connection to the network.
Discuss this Question
34. Which of the following Adds the given module to the network?
- IncludeModule(m)
- addedModule(m)
- aprehendModule(m)
- addModule(m)
Answer: D) addModule(m)
Explanation:
addModule(m) API, Adds the given module to the network.
Discuss this Question
35. ____ Adds the module given to the network and marks it as an input module.
- addInputMod(m)
- addInputModule(m)
- addInput(m)
- addModule(m)
Answer: B) addInputModule(m)
Explanation:
addInputModule(m) − Adds the module given to the network and mark it as an input module.
Discuss this Question
36. ____ Adds the module to the network and mark it as an output module.
- addOutModule(m)
- addOutputMod(m)
- addOutputModule(m)
- addOutput(m)
Answer: C) addOutputModule(m)
Explanation:
addOutputModule(m) − Adds the module to the network and marks it as an output module.
Discuss this Question
37. Which of the following function is used to load a dataset in PyBrain?
- Load()
- Dataset()
- loadDataSet()
Answer: C) loadDataSet()
Explanation:
To load a dataset in PyBrain, you can use the loadDataSet() function.
Discuss this Question
38. In PyBrain, a ____ is a computational component that processes inputs, generates outputs and executes computations.
- Neuron
- Neuro
- Neuro Unit
- Neuro operation
Answer: A) Neuron
Explanation:
In PyBrain, a neuron is a computational component that processes inputs, generates outputs and executes computations.
Discuss this Question
39. In PyBrain, which of the following term refers to the process of computing a neuron's output depending on its inputs and weights?
- Electrification
- Activation
- Neurofunction
- Neurotisation
Answer: B) Activation
Explanation:
In PyBrain, the term "activation" refers to the process of computing a neuron's output depending on its inputs and weights.
Discuss this Question
40. What is a Bias term?
- In PyBrain, a bias term is a constant value that is added to a neuron's inputs before activation.
- In PyBrain, a bias term is a variable value that is added to a neuron's output before activation.
Answer: A) In PyBrain, a bias term is a constant value that is added to a neuron's inputs before activation.
Explanation:
In PyBrain, a bias term is a constant value that is added to a neuron's inputs before activation. It can contribute to a network's performance improvement by adding more flexibility.
Discuss this Question
41. To set the bias term for a neuron in PyBrain, which method is utilized?
- setBias()
- set()
- Bias()
Answer: A) setBias()
Explanation:
To set the bias term for a neuron in PyBrain, you can use the setBias() method of the Neuron object.
Discuss this Question
42. In PyBrain, ____ is the act of introducing a penalty term into the error function to prevent overfitting.
- Cross validation
- Normalization
- Regularisation
Answer: C) Regularisation
Explanation:
In PyBrain, regularisation is the act of introducing a penalty term into the error function to prevent overfitting.
Discuss this Question
43. In PyBrain, ____ technique is used to assess how well a neural network performs by breaking the dataset into a number of subgroups and training the network on each subset separately.
- Cross-validation
- Normalization
- Regularisation
- Cross verificaion
Answer: A) Cross-validation
Explanation:
In PyBrain, a technique called cross-validation is used to assess how well a neural network performs by breaking the dataset into a number of subgroups and training the network on each subset separately.
Discuss this Question
44. Which algorithm Pybrain does not support?
- Backpropagation
- Radial Basis Function Networks
- Genetic Algorithms
- K-Nearest Neighbours
Answer: D) K-Nearest Neighbours
Explanation:
K- Nearest Neighbours algorithm Pybrain does not support.
Discuss this Question
45. Which of the following trainers does Pybrain supports?
- Backpropagation trainers
- Reinforcement trainers
- Unsupervised trainers.
- All of the above
Answer: D) All of the above
Explanation:
PyBrain supports a variety of trainers, including:
- Backpropagation trainers
- Reinforcement trainers, and
- Unsupervised trainers.
Discuss this Question