Publications by Sith

Example Random Forest

21.06.2024

Libraries require(car) ## Loading required package: car ## Warning: package 'car' was built under R version 4.3.2 ## Loading required package: carData ## Warning: package 'carData' was built under R version 4.3.2 require(caret) ## Loading required package: caret ## Warning: package 'caret' was built under R version 4.3.2 ## Loading required package...

238 sym Python (6178 sym/38 pcs) 4 img

Basic Calc

30.04.2024

Functions par(mfrow=c(2,2)) #set up graphs in 2x2 matrix fx=function(x){3*(x+1)*(x-4)*(x+5)} s=seq(-10,10,by=.01) a=fx(s) plot(a~s,type="l") fy=function(y){y^2} a=fy(s) plot(a~s,type="l") fz=function(z){log(z)} s=seq(0,10,by=.01) a=fz(s) plot(a~s,type="l") fqplus=function(qplus){sqrt(qplus)} fqneg=function(qneg){-sqrt(qneg)} s=seq(...

259 sym R (5391 sym/74 pcs) 3 img 1 tbl

Forecasting models

10.04.2024

Libraries and Data require(fpp3) ## Loading required package: fpp3 ## Warning: package 'fpp3' was built under R version 4.3.2 ## ── Attaching packages ────────────────────────────────────────────── fpp3 0.5 ── ## ✔ tibble 3.2.1 ✔ tsibble...

383 sym R (21412 sym/94 pcs) 30 img

Rainwater Harvesting

08.03.2024

Load Parameters (You could use DoE) tk=40000 #tank size in gallons rf=3000 #roof size in square feet its=1000 #number of its to run simulation yrs=30 #number of yrs to run simulation mo=12 #number of mo each year t=yrs*mo #short hand for total mo prime=10000 #initial gallons primed in water tank constant=7.48 #gallons for each cubic feet of...

278 sym 1 img

Gustavo

29.02.2024

Libraries and Data require(fpp3) ## Loading required package: fpp3 ## Warning: package 'fpp3' was built under R version 4.3.2 ## ── Attaching packages ────────────────────────────────────────────── fpp3 0.5 ── ## ✔ tibble 3.2.1 ✔ tsibble...

276 sym Python (13616 sym/62 pcs) 20 img

Examples

24.02.2024

Example set.seed(1) mys=sample(c(-1,1),500, prob=c(20/38, 18/38), replace=T) plot(cumsum(mys), type='l') mys2=sample(c(-1,35), 500, prob=c(37/38, 1/38), replace=T) plot(cumsum(mys2), type='l')...

17 sym 2 img

Example Week 8

19.01.2024

Libraries & Data require(PRROC) ## Loading required package: PRROC ## Warning: package 'PRROC' was built under R version 4.3.2 require(caret) ## Loading required package: caret ## Warning: package 'caret' was built under R version 4.3.2 ## Loading required package: ggplot2 ## Warning: package 'ggplot2' was built under R version 4.3.2 ## Loading req...

231 sym 1 img

Classifier Examples

28.12.2023

Load Libraries require(caret) ## Loading required package: caret ## Warning: package 'caret' was built under R version 4.3.2 ## Loading required package: ggplot2 ## Warning: package 'ggplot2' was built under R version 4.3.2 ## Loading required package: lattice ## Warning: package 'lattice' was built under R version 4.3.2 require(class) ## Loading r...

310 sym Python (17648 sym/107 pcs) 5 img

Bankruptcy Final

13.12.2023

Remove Packages / Clear Memory Load Load R ######Libraries############################# suppressWarnings({ require(Amelia) require(broom) require(car) require(caret) require(corrplot) require(dplyr) require(e1071) require(fastDummies) require(fmsb) require(ggplot2) require(ggcorrplot) require(ggExtra) req...

1463 sym R (379916 sym/163 pcs) 116 img

Bankruptcy Final 2

11.12.2023

Remove Packages / Clear Memory Load Load R ######Libraries############################# suppressWarnings({ require(Amelia) require(broom) require(car) require(caret) require(corrplot) require(dplyr) require(e1071) require(fastDummies) require(fmsb) require(ggplot2) require(ggcorrplot) require(ggExtra) req...

1478 sym R (374435 sym/170 pcs) 122 img