0% found this document useful (0 votes)
33 views2 pages

What Is Artificial Intelligence?

Artificial intelligence is a field of computer science that aims to make computers achieve human-level intelligence. There are many approaches to AI including machine learning and deep learning. Machine learning involves training computers to perform tasks without being explicitly programmed, while neural networks are a fundamental part of deep learning which uses multi-layered neural networks to solve problems.

Uploaded by

Dishant Dodiya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views2 pages

What Is Artificial Intelligence?

Artificial intelligence is a field of computer science that aims to make computers achieve human-level intelligence. There are many approaches to AI including machine learning and deep learning. Machine learning involves training computers to perform tasks without being explicitly programmed, while neural networks are a fundamental part of deep learning which uses multi-layered neural networks to solve problems.

Uploaded by

Dishant Dodiya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

What is Artificial Intelligence?

Artificial Intelligence: A field of computer science that aims to make


computers achieve human-style intelligence. There are many approaches to
reaching this goal, including machine learning and deep learning.

 Machine Learning: A set of related techniques in which computers are


trained to perform a particular task rather than by explicitly programming
them.

 Neural Network: A construct in Machine Learning inspired by the network of


neurons (nerve cells) in the biological brain. Neural networks are a
fundamental part of deep learning, and will be covered in this course.

 Deep Learning: A subfield of machine learning that uses multi-layered neural


networks. Often, “machine learning” and “deep learning” are used
interchangeably.

But, In addition to Python, you can create Tensor Flow models in JavaScript
using [Link]. Tensor Flow also has other language bindings, with
various degrees of support, including: Swift, R, and Julia. Python and
JavaScript are currently the most complete language implementations
however.

Welcome to this Colab where you will get a quick introduction to the Python
programming language and the environment used for the course's exercises:
Colab.
Colab is a Python development environment that runs in the browser using
Google Cloud.
For example, to print "Hello World", just hover the mouse over [ ] and press
the play button to the upper left. Or press shift-enter to execute.

Eg : Code 1
# Never mind this statement, for compatibility reasons

from __future__ import absolute_import, division, print_function, unicode_literals


What is Artificial Intelligence?

print("Hello World")

Now, Let's create a Python function, and call it from a loop.

Eg : Code 2

def HelloWorldXY(x, y):


if (x < 10):
print("Hello World, x was < 10")
elif (x < 20):
print("Hello World, x was >= 10 but < 20")
else:
print("Hello World, x was >= 20")
return x + y

for i in range(8, 25, 5): # i=8, 13, 18, 23 (start, stop, step)
print("--- Now running with i: {}".format(i))
r = HelloWorldXY(i,i)
print("Result from HelloWorld: {}".format(r))

You might also like