Practical - 8
Practical - 8
PRACTICAL - 8
AIM :
Study about different applications on which we can apply Data Transformation
Techniques. (Smoothing, Aggregation, Generalization, Normalization, Attribute/feature
construction).
SOL :
One popular application where data transformation techniques are commonly applied is in
the field of data preprocessing for machine learning. Let's consider a simple example using
Python and some common data transformation techniques including smoothing, aggregation,
generalization, normalization, and attribute construction.
'Sales_Percentage_Change'.
df['Smoothed_Sales'] = df['Sales'].rolling(window=3).mean()
aggregated_sales = df.groupby('Region')['Sales'].sum().reset_index()
df['Month'] = df['Date'].dt.month_name()
df['Normalized_Sales'] = (df['Sales'] - df['Sales'].min()) / (df['Sales'].max() -
df['Sales'].min())
df['Sales_Percentage_Change'] = df['Sales'].pct_change() 100
print("\nTransformed Data:")
print(df)
print("\nAggregated Sales:")
print(aggregated_sales)
Output:
This will show the before and after results of applying the mentioned data transformation techniques.
Each technique will have its own specific effect on the data, which will be observable in the
transformed data compared to the original data.
Date:-__________ Signature:-__________
PRACTICAL - 9
AIM :
Study about different Data Visualization applications.
SOL :
Data visualization finds utility across various domains and applications. Its theoretical
application spans disciplines like statistics, business intelligence, and data science. By visually
representing data through charts, graphs, and maps, it aids in the comprehension of complex
datasets, enabling users to identify patterns, trends, and outliers more efficiently. Through
effective visualization techniques, data can be transformed into actionable insights, facilitating
informed decision-making processes.
Basic applications of data visualization encompass a diverse range of fields and tasks, each
leveraging visual representations to extract insights and drive decision-making. Five
fundamental applications include:
2. Financial Analysis: Financial analysts employ visualization tools to interpret market data,
track investment performance, visualize financial ratios, and identify emerging market
trends.
Date:-__________ Signature:-__________
Practical - 10
Aim :
Study about Professional ethics codes: ACM, IEEE, AM Stat. Assoc..
SOL :
The ACM Code of Ethics and Professional Conduct serves as a comprehensive
framework guiding ethical behavior within the computing community. It outlines principles
encompassing societal impact, honesty, privacy, and professionalism, providing guidance to
computing professionals worldwide.
The IEEE Code of Ethics, tailored for engineers in electrical, electronics, and computer fields,
emphasizes integrity, societal responsibility, and continuous improvement. Applicable to all
IEEE members and engineering professionals, it sets standards for ethical conduct in
engineering practice. The AM Stat. Assoc. Ethical Guidelines provide specific guidance for
statisticians and data scientists, emphasizing integrity, objectivity, confidentiality, and
accountability. These guidelines shape ethical conduct in data collection, analysis, and
interpretation, ensuring statistical practice aligns with ethical standards and societal
expectations.
Following are the various ways in which these codes are used:
1. Guidance for Practitioners: Professionals refer to these codes to understand their ethical
responsibilities in their daily work.
2. Education: They serve as educational tools in academic programs to teach students about
ethical conduct in their field.
3. Decision Making: Professionals consult these codes when facing ethical dilemmasto make
informed decisions.
6. Regulation Compliance: They aid organizations in complying with legal and regulatory
requirements related to professional conduct.
7. Research Integrity: Researchers use these codes to maintain integrity in their research
practices, including data handling and publication ethics.
8. Consumer Trust: Adherence to these codes enhances consumer trust in products and
9. Professional Reputation: Following ethical guidelines helps build and maintain a positive
reputation within the professional community and among clients.
10. Policy Development: Governments and regulatory bodies may use these codes to inform
the development of policies related to professional conduct and accountability.
Date:-__________ Signature:-__________