Sample Internship
Sample Internship
ANDHRA PRADESH
STATE COUNCIL OF HIGHER EDUCATION
(A STATUTORY BODY OF GOVERNMENT OF ANDHRA PRADESH)
PROGRAM BOOK FOR
SEMESTER INTERNSHIP
2024-2025
An Internship Report on
HEART DISEASE DETECTION
Submitted in accordance with the requirement for the degree of
Bachelor of Technology
Department of
Information Technology
in
GIET Engineering College
Submitted by:
Reg.No.: 21T91A1246
This is to certify that VAKADA KEERTY Reg. No. 21T91A1246 has completed her
internship in INTERNATIONAL INSTITUTE OF DIGITAL TECHNOLOGY (IIDT) – APSCHE
in Collaboration with BLACKBUCK ENGINEERS on HEART DISEASE DETECTION using
AI-ML-DS under my supervision as a part of partial fulfillment of the requirement for Degree of
BACHELORS OF TECHNOLOGY in the department of INFORMATION TECHNOLOGY,
GIET ENGINEERING COLLEGE.
Before getting into the thickest of things, I would like to think personalities who were part
of my project in numerous ways, those who give me outstanding support from birth of the project
I hereby wish to express my deep sense of gratitude to Mr.D.Ramesh, Assistant Professor,
Department of Information Technology, GIET Engineering College for the esteemed guidance,
moral support and invaluable advice provided by him for the success of project.
I am highly indebted to Dr.M.Vijaya Sekhar Babu, Principal of GIET Engineering
College, Rajamahendravaram, for his support during the tenure of the project.
I am very much obliged to my beloved Mr.M.Sreenivasu, Head of the Department of
Information Technology, GIET Engineering college for providing the opportunity to undertake
this project and encouragement in completion of this project.
I am also thankful to all the staff members of Information Technology Department who
have co-operated in making my project a success. I would like to thank my parents and all friends
who extended their help, encouragement and moral support either directly or indirectly in my
project work.
Thanks for Your Valuable Guidance and kind support.
Submitted by
1 EXECUTIVE SUMMARY 1
3 INTERNSHIP PART 5
4 ACTIVITY LOG 7
5 OUTCOMES DESCRIPTION 23
6 SOURCE CODE 33
8 CONCLUSION 42
9 REFERENCES 43
Heart Disease Detection
CHAPTER 1
EXECUTIVE SUMMARY
This internship report provides a comprehensive overview of my experience during the
short internship at IIDT, in collaboration with APSCHE and Blackbuck Engineers, focusing on
Artificial Intelligence, Machine Learning, and Data Science applications.
Summary of Activities:
Throughout the internship, I engaged in a variety of activities, including:
Developing and validating a logistic regression model for heart disease detection, focusing
on precision, recall, and F1 score metrics to assess model performance.
Participating in software testing phases, implementing both black box and white box
testing techniques to ensure software reliability and performance.
Collaborating with mentors and peers on data science projects, contributing to
brainstorming sessions and presenting findings to enhance collective learning.
Documenting the entire process, including methodologies, challenges faced, and solutions
implemented, to provide a clear record of the project’s progression.
CHAPTER 2
OVERVIEW OF THE ORGANIZATION
Introduction of the Organization
Vision: To be a global leader in providing AI and ML solutions that empower businesses to unlock
their full potential through data-driven decision-making.
Mission: To develop innovative and sustainable technology solutions that enhance productivity
and efficiency while fostering a culture of continuous improvement and learning.
Values:
The organization promotes a policy of inclusivity and mentorship, providing interns with
opportunities to gain practical experience in a supportive environment. Interns are encouraged to
participate actively in projects, receive guidance from experienced professionals, and contribute
to the organization’s objectives while developing their skills.
Organizational Structure
Blackbuck Engineers operates with a flat organizational structure that fosters open communication
and collaboration. Key departments include:
During the internship, I was placed in the Data Science Team, where the roles and responsibilities
included:
Data Analysts: Collect, preprocess, and analyse data to extract meaningful insights.
Data Scientists: Develop and validate machine learning models, ensuring they meet
performance standards.
Machine Learning Engineers: Implement algorithms and optimize model performance
for production environments.
Looking ahead, Blackbuck Engineers plans to expand its offerings by integrating advanced
technologies such as deep learning and artificial intelligence into its solutions. The organization
aims to invest in research and development to stay at the forefront of technological advancements.
Additionally, there are plans to strengthen partnerships with educational institutions to foster talent
development and enhance community engagement.
CHAPTER 3
INTERNSHIP PART
Description of Activities/Responsibilities in the Intern Organization
Working Conditions
The working conditions at Blackbuck Engineers were conducive to learning and collaboration.
The office was equipped with modern facilities and tools that fostered a creative work
environment. Team members were encouraged to share ideas, engage in discussions, and
participate in brainstorming sessions. Remote working options were also available, allowing
flexibility in completing tasks.
The typical weekly work schedule consisted of 5 working days, from Monday to Friday. Each day
involved a mix of collaborative team meetings, individual project work, and skill development
sessions. The schedule was as follows:
Monday: Team meeting to discuss project updates and goals for the week.
Tuesday to Thursday: Focused work on assigned tasks, including data analysis and model
development.
Friday: Review session where interns presented their work, received feedback, and discussed
challenges encountered during the week.
Equipment Used
Throughout the internship, I had access to various tools and technologies essential for data analysis
and machine learning, including:
Tasks Performed
My responsibilities encompassed a variety of tasks that provided hands-on experience in the field.
Key tasks included:
Skills Acquired
During my internship, I acquired a variety of skills that are essential for a career in AI, ML, and
Data Science:
Person In-
Day & Brief description of the daily
Learning Outcome Charge
Date activity
Signature
Day - 1
Day – 2
Day – 3
Day – 4
Day – 5
Day - 6
WEEKLY REPORT
WEEK – 1 (From Dt ……………...to Dt .......................... )
Detailed Report:
Person In-
Day & Brief description of the daily
Learning Outcome Charge
Date activity
Signature
Day - 1
Day – 2
Day – 3
Day – 4
Day – 5
Day - 6
WEEKLY REPORT
WEEK – 2 (From Dt ……………...to Dt .......................... )
Detailed Report:
Person In-
Day & Brief description of the daily
Learning Outcome Charge
Date activity
Signature
Day - 1
Day – 2
Day – 3
Day – 4
Day – 5
Day - 6
WEEKLY REPORT
WEEK – 3 (From Dt ……………...to Dt .......................... )
Detailed Report:
Person In-
Day & Brief description of the daily
Learning Outcome Charge
Date activity
Signature
Day - 1
Day – 2
Day – 3
Day – 4
Day – 5
Day - 6
WEEKLY REPORT
WEEK – 4 (From Dt ……………...to Dt .......................... )
Detailed Report:
Person In-
Day & Brief description of the daily
Learning Outcome Charge
Date activity
Signature
Day - 1
Day – 2
Day – 3
Day – 4
Day – 5
Day - 6
WEEKLY REPORT
WEEK – 5 (From Dt ……………...to Dt .......................... )
Detailed Report:
Person In-
Day & Brief description of the daily
Learning Outcome Charge
Date activity
Signature
Day - 1
Day – 2
Day – 3
Day – 4
Day – 5
Day - 6
WEEKLY REPORT
WEEK – 6 (From Dt ……………...to Dt .......................... )
Detailed Report:
Person In-
Day & Brief description of the daily
Learning Outcome Charge
Date activity
Signature
Day - 1
Day – 2
Day – 3
Day – 4
Day – 5
Day - 6
WEEKLY REPORT
WEEK – 7 (From Dt ……………...to Dt .......................... )
Detailed Report:
Person In-
Day & Brief description of the daily
Learning Outcome Charge
Date activity
Signature
Day - 1
Day – 2
Day – 3
Day – 4
Day – 5
Day - 6
WEEKLY REPORT
WEEK – 8 (From Dt ……………...to Dt .......................... )
Detailed Report:
Communication Skills
Improving communication skills is essential for building stronger professional relationships,
fostering team collaboration, and effectively conveying ideas. Here are ways I can work on specific
aspects of my communication skills:
Oral Communication:
Improvement Plan: Participate actively in discussions, ask clarifying questions, and seek
opportunities for public speaking. Practicing oral summaries of technical concepts can help
articulate complex ideas more clearly.
Written Communication:
Improvement Plan: Practice concise and structured writing by regularly documenting technical
processes and creating summaries. Joining writing workshops or reviewing feedback on written
reports can help improve clarity, grammar, and flow.
Conversational Abilities:
Improvement Plan: Engage more in casual conversations with colleagues to enhance
conversational ease. Practicing active listening and staying mindful of non-verbal cues will
improve the natural flow of conversations.
Confidence Levels:
Improvement Plan: Work on confidence by preparing and rehearsing key points before speaking
in meetings. Receiving constructive feedback from colleagues or mentors can reinforce
confidence and reduce self-doubt.
Anxiety Management:
Improvement Plan: Practice mindfulness and deep-breathing techniques to manage anxiety
during presentations or public speaking. Gradually increasing exposure to challenging speaking
situations can help build resilience.
Understanding Others:
Improvement Plan: Develop better listening skills by summarizing others’ points before
responding. This shows attentiveness and helps in grasping others’ perspectives more fully.
Getting Understood by Others:
Improvement Plan: Ensure clarity by using simple language, particularly for technical terms,
and check for understanding. Pausing and inviting questions during conversations can ensure
alignment.
Extempore Speech:
Improvement Plan: Practice impromptu speaking through daily exercises, such as discussing a
random topic for a minute. This helps in structuring thoughts quickly and speaking confidently
under minimal preparation.
Ability to Articulate Key Points:
Improvement Plan: Focus on identifying and emphasizing key points, perhaps through bullet
points or summaries. Practicing this in both spoken and written formats can improve
conciseness and clarity.
Closing Conversations:
Improvement Plan: Learn to conclude discussions by summarizing action items or final
thoughts. Practicing this habit after every meeting or discussion can make it a natural part of
my communication style.
Maintaining Niceties and Protocols:
Improvement Plan: Observe and incorporate common professional etiquette, such as greeting
colleagues politely and following meeting protocols. Practicing these with consistency will
improve professional courtesy.
Enhancing Abilities
Enhancing abilities in group discussions, team participation, and leadership can greatly impact my
effectiveness and collaborative strength in a professional environment. Here’s a breakdown of how
I could work on these aspects:
Group Discussions:
Enhancement Strategy: Improve active listening skills to better understand
diverse viewpoints, which can make responses more relevant and constructive.
Preparing for discussions by researching the topic beforehand would also allow
for informed contributions.
Action Steps: Practice summarizing others’ points to show attentiveness and
build on their ideas. Working on framing concise, thoughtful responses will
increase the impact and clarity of my contributions.
Participation in Teams:
Enhancement Strategy: Develop a proactive approach by volunteering for tasks,
sharing insights, and supporting teammates whenever possible. Openly
communicating availability and offering help can enhance team dynamics.
Action Steps: Actively participate in team discussions, voice opinions
respectfully, and stay open to feedback. Regularly updating the team on task
progress can ensure alignment and accountability.
Contribution as a Team Member:
Enhancement Strategy: Aim to bring unique value to the team by leveraging
strengths like analytical thinking, attention to detail, or technical knowledge.
Being mindful of group objectives and aligning personal tasks with those goals
can amplify the team’s success.
Action Steps: Set personal goals aligned with team objectives, and periodically
assess contributions to ensure they add value. Encouraging other team members
and appreciating their efforts can also foster a positive and productive team
environment.
Technological Developments
During my internship, I observed several technological developments directly relevant to the fields
of Artificial Intelligence (AI), Machine Learning (ML), and Data Science (DS). These
advancements are shaping the landscape of data-driven decision-making, predictive analytics, and
automation, making them invaluable in a variety of professional applications.
Advanced Machine Learning Algorithms:
Observation: Rapid advancements in algorithms, particularly in areas like deep
learning, reinforcement learning, and ensemble methods (e.g., XGBoost and
Random Forest), have led to improved accuracy and efficiency in model training
and deployment.
Relevance: These algorithms enable more precise predictions and better
handling of complex datasets, which are essential for projects in healthcare
diagnostics, customer behaviour prediction, and risk analysis.
Cloud-Based Data Platforms and Services:
Observation: Platforms like AWS, Google Cloud, and Microsoft Azure offer
comprehensive machine learning and data analytics tools that simplify data
storage, processing, and model deployment.
Relevance: Cloud solutions enable scalability, data security, and real-time
processing. Leveraging these platforms allows faster experimentation and
deployment of models without the need for extensive on-premises infrastructure,
making them valuable for remote and collaborative work environments.
print(f"Accuracy: {accuracy:.4f}")
print(f"Precision: {precision:.4f}")
print(f"Recall: {recall:.4f}")
print(f"F1 Score: {f1:.4f}")
print(f"ROC AUC: {roc_auc:.4f}" if roc_auc != 'N/A' else "ROC AUC: N/A")
Conclusion
import pandas as pd
from sklearn.model_selection import train_test_split
from sklearn.preprocessing import StandardScaler, LabelEncoder
from sklearn.linear_model import LogisticRegression
from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score,
roc_auc_score
# Load the dataset
file_path = r'C:\Users\user\Downloads\heart-disease.csv'
df = pd.read_csv(file_path)
# Data Preprocessing
# Encode categorical variables
label_encoder = LabelEncoder()
df['cp'] = label_encoder.fit_transform(df['cp'])
df['thal'] = label_encoder.fit_transform(df['thal'])
df['target'] = label_encoder.fit_transform(df['target'])
# Fill missing values in 'ca' column with the median value
df['ca'].fillna(df['ca'].median(), inplace=True)
# Split the data into features and target variable
X = df.drop('target', axis=1)
y = df['target']
# Split the dataset into training and testing sets
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=42)
# Standardize the feature variables
scaler = StandardScaler()
X_train = scaler.fit_transform(X_train)
X_test = scaler.transform(X_test)
# Train the Logistic Regression model
logistic_regression = LogisticRegression(C=1.0, solver='liblinear', random_state=42)
logistic_regression.fit(X_train, y_train)
# Predict on the test set
y_pred = logistic_regression.predict(X_test)
y_pred_prob = logistic_regression.predict_proba(X_test)[:, 1]
# Evaluate the Logistic Regression model
accuracy = accuracy_score(y_test, y_pred)
precision = precision_score(y_test, y_pred)
recall = recall_score(y_test, y_pred)
f1 = f1_score(y_test, y_pred)
roc_auc = roc_auc_score(y_test, y_pred_prob)
# Print evaluation metrics
print(f"Logistic Regression Evaluation Metrics:")
print(f"Accuracy: {accuracy:.4f}")
print(f"Precision: {precision:.4f}")
print(f"Recall: {recall:.4f}")
print(f"F1 Score: {f1:.4f}")
print(f"ROC AUC: {roc_auc:.4f}")
Fig. 7.1: A histogram displays the distribution of a continuous variable by grouping data into bins.
Fig. 7.2: A Tree Map displays the selected dimensions and are ordered in hierarchy.
Fig 7.3: A pie chart displays the relative proportions of different Bin Sizes within a whole.
Fig. 7.4: A bar chart is employed to compare the values of different discrete categories.
Fig 7.5: A Tree Map displays the selected dimensions and are ordered in hierarchy.
Fig 7.6: Output of the Program Fig 7.8: Output of the Program
CHAPTER 8
CONCLUSION
The AI, Machine Learning, and Data Science internship with IIDT-APSCHE in
collaboration with Blackbucks marked a pivotal step in my professional and technical growth.
Through rigorous engagement with real-world datasets and advanced algorithms, I developed a
comprehensive understanding of data science processes, from data cleaning and feature
engineering to model building and evaluation. The hands-on application of supervised and
unsupervised machine learning models enabled me to address complex data-driven challenges,
preparing me to implement data science solutions in a practical setting.
Ultimately, this internship not only expanded my technical expertise but also fostered a
professional work ethic, communication, and collaboration skills that will be essential throughout
my career. The insights and competencies gained here lay a solid foundation for future projects
and reflect the immense value of applied learning in AI, Machine Learning, and Data Science.
CHAPTER 9
REFERENCES
https://www.youtube.com/watch?v=Y6W2NGxZuhQ&t=5s&ab_channel=TEDxTalks
https://www.youtube.com/watch?v=nQDFV7D_5CE&feature=youtu.be
https://www.youtube.com/live/_yRtuIZxtIY
https://www.youtube.com/live/BYivE50s3l8
https://www.geeksforgeeks.org/machine-learning-models/
https://pmc.ncbi.nlm.nih.gov/articles/PMC10378171/
https://ieeexplore.ieee.org/document/9734880
1 Oral communication 1 2 3 4 5
2 Written communication 1 2 3 4 5
3 Proactiveness 1 2 3 4 5
4 Interaction ability with community 1 2 3 4 5
5 Positive Attitude 1 2 3 4 5
6 Self-confidence 1 2 3 4 5
7 Ability to learn 1 2 3 4 5
8 Work Plan and organization 1 2 3 4 5
9 Professionalism 1 2 3 4 5
10 Creativity 1 2 3 4 5
11 Quality of work done 1 2 3 4 5
12 Time Management 1 2 3 4 5
13 Understanding the Community 1 2 3 4 5
14 Achievement of Desired Outcomes 1 2 3 4 5
15 OVERALL PERFORMANCE 1 2 3 4 5
Please note that your evaluation shall be done independent of the Student’s self-
evaluation
1 Oral communication 1 2 3 4 5
2 Written communication 1 2 3 4 5
3 Proactiveness 1 2 3 4 5
4 Interaction ability with community 1 2 3 4 5
5 Positive Attitude 1 2 3 4 5
6 Self-confidence 1 2 3 4 5
7 Ability to learn 1 2 3 4 5
8 Work Plan and organization 1 2 3 4 5
9 Professionalism 1 2 3 4 5
10 Creativity 1 2 3 4 5
11 Quality of work done 1 2 3 4 5
12 Time Management 1 2 3 4 5
13 Understanding the Community 1 2 3 4 5
14 Achievement of Desired Outcomes 1 2 3 4 5
15 OVERALL PERFORMANCE 1 2 3 4 5