Which command will return the fraction of positive numbers in a 10-by-10 matrix A? A. A(A > 0)/A B. numel(A > 0)/numel(A) C. sum(A > 0)/prod(size(A)) D. nnz(A > 0)/numel(A)
What is the difference between Artificial Intelligence and Machine Learning?
Artificial Intelligence is a more general and broad term used for the intelligence possessed by machines that are able to carry tasks which is similar to the human-way. It involves the ability to perform reasoning, planning, perception, decision-making and learning as well. Whereas, Machine Learning is a branch of AI that deals with finding patterns from data. Usually huge amount of data is required for the machine to learn something meaningful from the data which is not quite human-like.
What do you understand by "Artificial Intelligence"?
Artificial Intelligence, as the name suggests is the intelligence or "smartness" displayed by an agent. An agent can be anything ranging from a coffee machine at your home to a robot at a production plant. Artificial Intelligence is a broad term that describes the intelligent behaviour of a machine which is much like human behaviour. It comprises everything we can think of when we think of a machine being "smart". A machine or an agent that is capable of interacting with its environment, perceive it and take decisions to achieve the goal at hand is considered "smart". Hence, the robots you see in movies like Star Wars can be considered intelligent.