User Tools

Site Tools


network_stuff:machine_learning:supervised_learning

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
network_stuff:machine_learning:supervised_learning [2023/05/31 17:03] jotasandokunetwork_stuff:machine_learning:supervised_learning [2023/11/02 14:38] (current) – external edit 127.0.0.1
Line 3: Line 3:
 In python, we use the method ''fit'' to **train a model**. Fit~train In python, we use the method ''fit'' to **train a model**. Fit~train
   kmeans.fit(argument)       kmeans.fit(argument)    
-  kmeans.predict (argument)    # ython predict() predicts the labels of the data values based on the trained model.+  kmeans.predict (argument)    # Python predict() predicts the labels of the data values based on the trained model.
 \\ \\
 REGRESSION\\ REGRESSION\\
Line 10: Line 10:
 ---- ----
  
-DECISON TRESS\\+DECISON TREES: 
 +\\
   * k-nearest neighbors   * k-nearest neighbors
-    * ~ "classification by proximity"+    * ~ "classification by proximity" ; majority vote
     * after doing it with all points, it creates a "boundary" (ie classification)     * after doing it with all points, it creates a "boundary" (ie classification)
-  * random forests(?)+  * Decision trees 
 +    * decision by path to leaves ; measure of center 
 +    * we ask question to narrow down areas (normally y/n Qs) 
 +    * decision trees can surface relationships that were not evident for the human understanding. 
 +  * Random forests: decision trees tend to overfitting. A solution is 'random forest'. Is a collection of decision trees (often hundreds of them), each trained differently on the same data,
  
network_stuff/machine_learning/supervised_learning.1685552616.txt.gz · Last modified: (external edit)