diff --git a/lab3/assignment3.R b/lab3/assignment3.R index bc09c532276d4e7448968ebe442e2ef89ce48b6d..ce8a4167f2bbfa31733603e9cb4ea7890c98f2be 100644 --- a/lab3/assignment3.R +++ b/lab3/assignment3.R @@ -1,7 +1,3 @@ -# Lab 3 block 1 of 732A99/TDDE01/732A68 Machine Learning -# Author: jose.m.pena@liu.se -# Made for teaching purposes - library(kernlab) set.seed(1234567890) diff --git a/lab3/assignment4.R b/lab3/assignment4.R index bbdcdcc1f8b316deb04e193b7a47732f1923be20..723c20a8e8d4ec60850c251f56706b0c9cc20902 100644 --- a/lab3/assignment4.R +++ b/lab3/assignment4.R @@ -172,8 +172,6 @@ pred1[order(pred1)][1] nn$weights -# Large weights -> logistic activation function caps -> covergance for high x - # ----5.---- Var2 <- runif(500, 0, 10) @@ -211,6 +209,4 @@ legend( pch = 1, pt.cex = c(1, 1), cex = 1 -) - -# One-to-many mapping from sin(x) to x, e.g. both sin(0) and sin(2pi) equals 0 +) \ No newline at end of file diff --git a/labs.Rproj b/labs.Rproj index 8e3c2ebc99e2e337f7d69948b93529a437590b27..807786e8483ef547ac2aa96a39716d29aab1d07e 100644 --- a/labs.Rproj +++ b/labs.Rproj @@ -1,4 +1,5 @@ Version: 1.0 +ProjectId: 598f07a6-5d65-4ccd-9ca5-2f91fe53bbae RestoreWorkspace: Default SaveWorkspace: Default