-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGradient_Boosted_2.html
146 lines (121 loc) · 8.01 KB
/
Gradient_Boosted_2.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.min.css">
<style>
body {
font-size: 0.7rem; /* Base font size */
background-color: rgb(14, 17, 23);
zoom: 1.5; /* Scale up by 50% */
}
.container {
max-width: 900px; /* Max-width for the container */
min-height: 5700px;
margin: auto; /* Center the container */
}
figure img {
width: 100%; /* Full width of its container */
max-width: 450px; /* Max width of the image */
height: auto; /* Maintain aspect ratio */
display: block; /* Block display to respect max-width */
margin: 0 auto; /* Center the image */
}
h2 {
font-size: 1.2rem; /* Heading size */
}
h3 {
font-size: 1rem; /* Subheading size */
}
p {
font-size: 0.7rem; /* Paragraph text size */
}
/* Ensure the main content is visible */
main {
padding: 1rem 0; /* Add padding around main content */
}
nav ul {
padding: 0.5rem 0; /* Padding for nav */
list-style-type: none; /* Remove list bullets */
margin: 0; /* Remove default margin */
padding: 0; /* Remove default padding */
display: flex; /* Add this line */
flex-wrap: nowrap; /* Add this line to prevent wrapping */
}
nav ul li {
display: inline; /* Display nav items in a line */
margin-right: 10px; /* Right margin for spacing */
}
nav ul li a {
color: #007bff; /* Set link color */
text-decoration: none; /* Remove text underline */
font-size: 0.6rem; /* Smaller font size for nav links */
padding: 5px 10px; /* Add padding to give a button-like appearance */
border-radius: 50px; /* Rounded corners */
transition: background-color 0.3s, color 0.3s; /* Transition for smooth color change */
background-color: #007bff; /* Set background color */
color: #fff; /* Set text color */
}
/* Change color on hover */
nav ul li a:hover {
background-color: #0056b3; /* Change background color on hover */
color: #fff; /* Keep text color the same on hover */
text-decoration: underline; /* Add underline on hover */
}
/* Responsive styles for mobile!*/
@media (max-width: 1000px) {
h1 {
font-size: 1.5rem;
}
.container {
margin: auto; /* Center the container */
overflow-y: auto; /* Add a scrollbar if necessary */
}
}
/* THIS IS VERY IMPORTANT. My Google Chrome is in Dark Mode so it makes the background color black. This overrides that and fills any blank spaces with my desired color, instead of black*/
@media (prefers-color-scheme: dark) {
:root {
--background-color: rgb(14, 17, 23) !important; /* Or any other light color you prefer */
/* Define other variables or CSS rules as needed */
}
}
@media (prefers-color-scheme: light) {
:root {
--background-color: rgb(14, 17, 23) !important; /* Or any other light color you prefer */
/* Define other variables or CSS rules as needed */
}
}
</style>
<title>Titanic Survival Project</title>
</head>
<body>
<main class="container">
<body>
<h1 style="text-align: center;">Comprehensive Analysis of the Gradient Boosted Trees Model</h1>
<h2>1. Environment Setup: Establishing the Analytical Framework</h2>
<p>The analysis begins in a robust Python environment, integrating essential libraries like NumPy for linear algebra and Pandas for data processing. This foundational step is essential for efficient data manipulation and sets the stage for all subsequent analytical activities. It ensures access to advanced computational tools necessary for handling and analyzing complex datasets.</p>
<h2>2. Data Loading: Initiating the Analytical Process</h2>
<p>The process starts with loading the Titanic dataset, a crucial step in forming an initial understanding of the data's structure and content. This phase is fundamental for identifying key variables and preparing for in-depth data exploration. It lays the groundwork for the analysis, allowing for a comprehensive approach to the dataset.</p>
<h2>3. Data Preprocessing: Preparing for Accurate Analysis</h2>
<p>Data preprocessing involves thorough cleaning and transformation of the dataset to ensure accuracy and reliability. This stage includes handling missing values, normalizing data, and encoding categorical features, which are vital for creating a consistent analytical base. It's a critical process for enhancing data quality, ensuring the data is in an optimal state for modeling.</p>
<h2>4. Feature Engineering: Enhancing Model Effectiveness</h2>
<p>Feature engineering is a strategic phase where important data attributes are identified and extracted. This process involves assessing the predictive power of various features and their potential impact on the model's performance. It's a key step for revealing underlying patterns within the data, crucial for enhancing the model's effectiveness and accuracy.</p>
<h2>5. Model Building: Crafting the Predictive Tool</h2>
<p>The model building phase involves the careful construction of the Gradient Boosted Trees model. This stage is where theoretical knowledge is applied to create a practical tool for prediction. The model is configured to suit the specific nuances of the dataset, ensuring it is well-tuned to the task of uncovering insights from the Titanic data.</p>
<h2>6. Hyperparameter Tuning: Optimizing Model Performance</h2>
<p>Hyperparameter tuning is an essential process for optimizing the model's performance. This involves experimenting with various parameter settings to find the most effective combination for the model. It's a meticulous process that balances model complexity with predictive accuracy, enhancing the overall efficacy of the analysis.</p>
<h2>7. Model Training: Teaching the Model to Predict</h2>
<p>During model training, the prepared dataset is used to teach the model how to make accurate predictions. This phase involves feeding the model with data, allowing it to learn and adapt its parameters. It's a critical stage where the model develops its ability to discern patterns and relationships within the data.</p>
<h2>8. Model Evaluation: Assessing Predictive Power</h2>
<p>Model evaluation is carried out to assess the predictive power and accuracy of the model. This involves using various metrics to gauge the model's performance on unseen data. It's a crucial step for validating the effectiveness of the model and ensuring it delivers reliable and accurate predictions.</p>
<h2>9. Model Optimization: Refining for Excellence</h2>
<p>The model optimization phase focuses on refining the model for peak performance. This involves additional adjustments and fine-tuning, based on the insights gained from the evaluation stage. The goal is to enhance the model's predictive ability, ensuring it delivers the most accurate and insightful results possible.</p>
<h2>10. Conclusions and Insights: Synthesizing Findings</h2>
<p>The final phase involves drawing conclusions and synthesizing insights from the model's analysis. This stage interprets the model's performance, understanding its strengths and limitations. The insights derived offer a deeper comprehension of the Titanic dataset, contributing valuable knowledge to the field of data science and predictive modeling.</p>
<br>
<h2 style="color: #fff"><strong>[End of Page]</strong></h2>
</body>
</main>
</body>
</html>