Knowing the Artificial Intelligence (AI)

Prabesh Gyawali
The Zerone
Published in
5 min readJan 7, 2023
Artificial Intelligence, Credits: Freepik

AI, or Artificial Intelligence, is currently one of the most widely discussed topics in the world. So, what is it? Essentially, it refers to machine intelligence. It is the intelligence or ability of human-created machines to perform human tasks such as thinking, learning, decision-making, and problem-solving. The question now is how on earth machines can possess and use human-level abilities. We have long believed that humans are the highest animals in the evolutionary chain, with no other species or machines capable of competing with our intelligence. The advancement of artificial intelligence, on the other hand, is calling this belief into question.

When it comes to AI, it is simply a software program. It analyzes and interprets data and information and uses the results to solve similar new problems. AI-powered programs are already being used in our daily lives in a variety of applications such as CCTV cameras that use image recognition, voice recognition software, self-driving cars, chatbots, and so on.

Classification

Classification of AI

• Narrow AI (ANI): They are programmed to perform a specific task and cannot exceed their parameters. IBM’s supercomputer playing chess, facial recognition (Siri in Apple phones), speech and image recognition, and self-driving cars are some examples.

• General AI (AGI): It is a future AI system that can perform all cognitive tasks in the same way that humans do. Researchers anticipate that it will be fully developed within the next 40 to 60 years.

• Super AI (ASI): They will have machine intelligence that outperforms and outwits humans in all cognitive tasks. This artificial intelligence system is expected to be developed in the future.

How does AI work?

AI Working Overview

It basically works with a simple mathematical formulation. It can use data and information in any form, such as images, text, audio, video, and so on. These data are processed through mathematically defined functions to produce the desired output, which might be a judgment, a suggestion, or any other information.

Here’s a simple algorithm for predicting the price of a used phone based on its specifications:

1. Data collection: Data about used phones, including model, materials used, market demand, prices, year, and condition, will be collected.

2. Data Cleaning and Separation: Data is processed to remove any incorrect or irrelevant values. Such data is then divided into training and test sets, with the training set, used to build the model and the test set used to later evaluate the model’s performance.

3. Model Training: A mathematical model is built and trained by feeding data into it using linear regression or a decision tree method.

4. Model Evaluation: Model predictions and performance are evaluated within a certain tolerance level. If the model’s performance is not satisfactory, either a new mathematical model is developed or an existing model is improved.

5. Application: Once the model has been properly developed, such an AI program is used in the real world to predict the price of used phones.

Once we’re familiar with machine learning, the code is pretty simple to understand.

from sklearn.tree import DecisionTreeRegressor
from sklearn.model_selection import train_test_split

# Read data into pandas
import pandas as pd
data = pd.read_csv("used_phones.csv")

# Available data is split into x and y labels
x = data[['product_year', 'model', 'used_years']]
y = data['martket_price']

# Data is again split into a training set and a test set
x_train, x_test, y_train, y_test = train_test_split(x, y, test_size=0.3, stratify=y)

# Training the model
model = DecisionTreeRegressor()
model.fit(x_train, y_train)

# Prediction by the trained model
prediction = model.predict(x_test)

# Error computation
from sklearn.metrics import mean_absolute_error
err = mean_absolute_error(y_test, prediction)
print(err)

This sample code will train the model, predict the price, and compute the error.

What is the world scenario?

People still believe AI is a sci-fi term and that it will take a much longer time to achieve. However, the rate of development of AI is extremely rapid nowadays. Many large corporations and nations are employing AI in a variety of fields. China and the United States are competing in the development of artificial intelligence. Large industries are cutting off job vacancies after using AI-powered machines.

Researchers predict that in today’s accelerating rate of development, general AI (AGI) will be achieved within 40–60 years. This is not a long time; we will be able to see it within our lifespan. AI will not only stop learning or improving intelligence to human levels but will almost certainly surpass our human intelligence. It will benefit from high computing power. Their intelligence will be far beyond ours, and even the creator of such AI will be unable to comprehend or understand its level of intelligence. And yes, AI will undoubtedly reach God's status within the next 100 years. So, the question remains: how can we even live with a system whose intelligence level far exceeds that of humans? Many people are concerned that one incorrect initial condition in AI development will cause it to spiral out of control. Many Hollywood sci-fi films about human-machine conflict may come true!

Conclusion

So, governments, responsible organizations, and the legal system must consider how to shape the future of AI. If the necessary conditions and policies are not in place to address the problems of unemployment, existential crises, and security difficulties caused by AI development and use, society would undoubtedly descend into anarchy.

Nonetheless, artificial intelligence is required; it will be extremely beneficial in all fields. Many unsolved problems in health, medicine, science, engineering, and industry will be aided by it. It will push our civilization to new heights. This invention will and should be fully utilized, but critical issues must be addressed sooner rather than later.

--

--