Tashkent university of information technologies named after muhammad al-khorezmi


Download 172.03 Kb.
bet1/3
Sana18.06.2023
Hajmi172.03 Kb.
#1575329
  1   2   3




TASHKENT UNIVERSITY OF INFORMATION TECHNOLOGIES NAMED AFTER MUHAMMAD AL-KHOREZMI
2-LABORATORY WORK
Subject: Introduction to Machine learning
Group: 214-20
Done by: Abdullayev Shoxrux
Checked by: Qo’chqarov Muslimjon

Toshkent-2023
The second practical training.
1. Classification of tabular data using Pandas, Keras, Tensorflow libraries in Python.
2. The concept of logistic regression. Error assessment. Implementation of classification.
3. Making calculations using the simplest perceptron.


    1. Pandas is a library designed to work with Python. It is a library written for the Python programming language that allows data analysis and manipulation. It also provides data structures and functions for manipulating numeric tables and time series. It is an open source Python package that is widely used for data science, data analysis, as well as machine learning tasks.

Usage examples:
import pandas as pd
# More table information
data = {
'Name': ['Mike', 'Rose', 'Michael', 'Jordan', 'Alex'], # Input data
'Age': [25, 28, 31, 27, 29], # Input data
'City': ['New York', 'Queens', 'Brooklyn', 'Jersey', 'Berlin'], # Input data
'Salary': [50000, 60000, 70000, 55000, 65000], # Insert data
'Position': ['Employer', 'Analyst', 'Director', 'Engineer', 'Consultant'] # Enter data
}
# Create a DataFrame for table data
df = pd.DataFrame(data)
# Display the table
print(df)


Result:
Name Age City Salary Position
0 Mike 25 New York 50000 Employer
1 Rose 28 Queens 60000 Analyst
2 Michael 31 Brooklyn 70000 Director
3 Jordan 27 Jersey 55000 Engineer
4 Alex 29 Berlin 65000 Consultant



    1. Keras is a powerful and widely used library in the Python programming language for remote learning and analytics. Keras offers lighting capabilities for generating and training high-level tensor properties. This library is built on top of TensorFlow and makes lighting and math operations simple and easy to work with TensorFlow.




Download 172.03 Kb.

Do'stlaringiz bilan baham:
  1   2   3




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling