shwetashweta05 commited on
Commit
1a3272a
1 Parent(s): 193de7a

Update pages/2.Introduction to Data Science.py

Browse files
pages/2.Introduction to Data Science.py CHANGED
@@ -51,7 +51,7 @@ st.write("""
51
  st.subheader(":red[**Types of Machine Learning**]")
52
  st.write("Machine Learning can be divided into three main types based on how the model learns from data:")
53
 
54
- st.subheader("**1. Supervised Learning**")
55
  st.write("In supervised learning, the machine is trained using labeled data, meaning the data comes with input-output pairs. The model learns to predict the output from the input by identifying patterns in the data.")
56
  st.write("""**Examples:**
57
  - Predicting house prices based on size, location, and number of rooms.
@@ -62,7 +62,7 @@ st.subheader("**Types of Supervised Learning:**")
62
  st.write("**1.Regression:** Predicting continuous values.Example: Predicting a person’s salary based on their experience.")
63
  st.write("**2.Classification:** Predicting discrete categories.Example: Determining whether an email is spam or not.")
64
 
65
- st.subheader("**2. Unsupervised Learning**")
66
  st.write("In unsupervised learning, the data has no labels. The model identifies hidden patterns or groups within the data without guidance.")
67
  st.write("""**Examples:**
68
  - Customer segmentation: Grouping customers based on their buying behavior.
@@ -73,11 +73,41 @@ st.subheader("**Types of Unsupervised Learning:**")
73
  st.write("**1.Clustering:** Grouping data points into similar clusters.Example: Grouping movies by genre based on viewers’ preferences.")
74
  st.write("**Dimensionality Reduction:** Reducing the number of features in the data.Example: Compressing image data for faster processing.")
75
 
76
- st.subheader("**3. Reinforcement Learning**")
77
  st.write("Reinforcement learning is about learning by trial and error. The model learns to make a sequence of decisions to maximize a reward.")
78
  st.write("""**Examples:**
79
  - Learning to drive by interacting with the road environment.
80
  - Training a robot to walk by rewarding good steps.
81
  """)
82
- st.image("machine.jpg")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
83
 
 
51
  st.subheader(":red[**Types of Machine Learning**]")
52
  st.write("Machine Learning can be divided into three main types based on how the model learns from data:")
53
 
54
+ st.subheader(":blue[**1. Supervised Learning**]")
55
  st.write("In supervised learning, the machine is trained using labeled data, meaning the data comes with input-output pairs. The model learns to predict the output from the input by identifying patterns in the data.")
56
  st.write("""**Examples:**
57
  - Predicting house prices based on size, location, and number of rooms.
 
62
  st.write("**1.Regression:** Predicting continuous values.Example: Predicting a person’s salary based on their experience.")
63
  st.write("**2.Classification:** Predicting discrete categories.Example: Determining whether an email is spam or not.")
64
 
65
+ st.subheader(":blue[**2. Unsupervised Learning**]")
66
  st.write("In unsupervised learning, the data has no labels. The model identifies hidden patterns or groups within the data without guidance.")
67
  st.write("""**Examples:**
68
  - Customer segmentation: Grouping customers based on their buying behavior.
 
73
  st.write("**1.Clustering:** Grouping data points into similar clusters.Example: Grouping movies by genre based on viewers’ preferences.")
74
  st.write("**Dimensionality Reduction:** Reducing the number of features in the data.Example: Compressing image data for faster processing.")
75
 
76
+ st.subheader(":blue[**3. Reinforcement Learning**]")
77
  st.write("Reinforcement learning is about learning by trial and error. The model learns to make a sequence of decisions to maximize a reward.")
78
  st.write("""**Examples:**
79
  - Learning to drive by interacting with the road environment.
80
  - Training a robot to walk by rewarding good steps.
81
  """)
82
+
83
+
84
+ st.subheader(":red[**What do you mean by Deep Learning**]")
85
+ st.write("Deep Learning is a specialized field of Machine Learning where machines learn from data using structures called neural networks. These networks are designed to work like the human brain, with layers of "neurons" processing information step by step.It’s like teaching a machine to think by showing it lots of examples and letting it learn on its own.")
86
+ st.write("""**Examples:** 1.Imagine you want a computer to recognize handwritten digits (like on checks):
87
+ - Input Data: Provide many images of handwritten numbers with labels (e.g., “This is 5”).
88
+ - Training: A neural network learns the patterns in these images, like the curves of "5."
89
+ - Prediction: When you show it a new handwritten digit, it predicts what number it is.
90
+ 2.Understand and respond to your voice using deep learning.
91
+ 3.Unlocking your phone by recognizing your face.
92
+ 4.Identifying diseases from X-rays or MRI scans.
93
+ 5.Suggesting what to watch next based on your viewing history.
94
+ """)
95
+
96
+ st.subheader(":red[**Types of Neural Networks in Deep Learning**]")
97
+ st.write(""":blue[**1.Convolutional Neural Networks (CNNs):**]
98
+ - Used for image and video processing.
99
+ - Detecting objects in photos, like identifying dogs in an image.
100
+ """)
101
+ st.write(""":blue[**2.Recurrent Neural Networks (RNNs):**]
102
+ - Used for sequential data, like text or speech.
103
+ - Predicting the next word in a sentence (e.g., in chat apps).
104
+ """)
105
+ st.write(""":blue[**3.Generative Adversarial Networks (GANs):**]
106
+ - Used to create new data similar to what it has seen.
107
+ - Generating realistic images of non-existent people.
108
+ """)
109
+ st.write(""":blue[**4.Transformers:**]
110
+ - Used for language tasks, powering tools like ChatGPT.
111
+ - Translating languages or summarizing text.
112
+ """)
113