From 25b3e4dd12843a9c47461b73a15e164e89e0f684 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Ramnel=C3=B6v?= <felra653@student.liu.se> Date: Tue, 17 Dec 2024 08:44:46 +0100 Subject: [PATCH] Lab 3: Ready for hand-in --- lab3/assignment3.R | 4 ---- lab3/assignment4.R | 6 +----- labs.Rproj | 1 + 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/lab3/assignment3.R b/lab3/assignment3.R index bc09c53..ce8a416 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 bbdcdcc..723c20a 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 8e3c2eb..807786e 100644 --- a/labs.Rproj +++ b/labs.Rproj @@ -1,4 +1,5 @@ Version: 1.0 +ProjectId: 598f07a6-5d65-4ccd-9ca5-2f91fe53bbae RestoreWorkspace: Default SaveWorkspace: Default -- GitLab