Skip to content

sai-byui/Tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 

Repository files navigation

An overview of Artificial Intelligence

drawing

Alan Turing was an English Mathematician famous for cracking Nazi codes deemed impossible to crack with the creation of the enigma machine.

What Makes him such an interesting person and a pioneering figure in A.I is him asking a simple question: "Can machines think?"

This question is something that has been debated for many decades but at its core is something that A.I has not reached but strives to eventually reach

Ok... cool you described its history, but what is it?

"Artificial intelligence enables computers and machines to mimic the perception, learning, problem-solving, and decision-making capabilities of the human mind." (sourced the quote from IBM.com)

Circles

Artificial Intelligence

Artificial intelligence comes in many forms but generally it covers a whole spectrum of computing technology that shows anything remotely resembling intelligence. This can include anything from a simple npc in a game to the complex expert systems found on the mars rovers

Simple AI that I made for a homemade video game

All examples shown in tutorial here on out were captured on my computer A.I

    def detect_player(self, player):
        for enemy in self.enemy_list:
            if (math.sqrt(((enemy.center_y - player.center_y))**2 + ((enemy.center_x - 
            player.center_x))**2) < 650): 
                if arcade.has_line_of_sight(player.position, enemy.position, 
                self.map.wall_list):
                    enemy.player_detected = True
                else: 
                    enemy.player_detected = False

    def movement(self, player):
        for enemy in self.enemy_list:
            if enemy.player_detected:
                if enemy.center_y < player.center_y:
                    enemy.center_y += min(ENEMY_SPEED, player.center_y - 
                    enemy.center_y)
                elif enemy.center_y > player.center_y:
                    enemy.center_y -= min(ENEMY_SPEED, enemy.center_y - 
                    player.center_y)
                if enemy.center_x < player.center_x:
                    enemy.center_x += min(ENEMY_SPEED, player.center_x - 
                    enemy.center_x)
                elif enemy.center_x > player.center_x:
                    enemy.center_x -= min(ENEMY_SPEED, enemy.center_x - 
                    player.center_x)

Machine Learning

Circles

Is a subfield of AI. It is based on the idea that systems can learn from data, identify patterns and make decisions with minimal human intervention.

An example of this would be last semester we looked at and followed a machine learning algorithm that could predict given a parameter who would survive the titanic sinking or computer vision

Predicting the survival of titanic passengers

Custom face tracking A.I I write to make and send coordinated to servo to control them with my face. (And yes this has been done before this is not an original idea)

A.I

Deep Learning

This is a sub-field of machine learning that teaches itself to perform a specific task with increasingly greater accuracy, without human intervention.

A common example of this is what is called a Neural Network

A neural network is a series of algorithms that work together that try to recognize relationships (mostly non-obvious patterns to humans) in a set of data through a process that mimics the way the human brain operates.

The very most disadvantage of a neural network is its black box nature. Because it has the ability to approximate any function, study its structure but don't give any insights on the structure of the function being approximated.

network network_math

These can be used for detecting which clothing item is which from a photo it is given

A.I

to teaching itself how to play games near perfect

A.I

Conclusion

So yeah... A.I is both amazing and versatile

Links to some of the stuff

Markdown Cheat Sheet

Mario Neural network A.I

The video game I built for a class (please read the README)

You can also look the rest of this up. there are plenty of recources for all of this

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published