Tashkent university of information technologies named after muhammad al-khorezmi
Download 172,03 Kb.
|
- Bu sahifa navigatsiya:
- Toshkent-2023
- Usage examples
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.
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
Download 172,03 Kb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2025
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling