Skip to content

Commit

Permalink
Removed Travis, no longer works
Browse files Browse the repository at this point in the history
  • Loading branch information
CollinErickson committed Apr 8, 2023
1 parent efaa224 commit 7bfa1a6
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 33 deletions.
1 change: 0 additions & 1 deletion .Rbuildignore
Expand Up @@ -4,7 +4,6 @@ scratch
^README\.Rmd$
^README-.*\.png$
cran-comments.md
^\.travis\.yml$
^CRAN-RELEASE$

\.o$
Expand Down
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

1 change: 0 additions & 1 deletion R/kernel_Gaussian.R
Expand Up @@ -100,7 +100,6 @@ Gaussian <- R6::R6Class(classname = "GauPro_kernel_Gaussian",
}
if (is.matrix(x) & is.matrix(y)) {
s2 * corr_gauss_matrixC(x, y, theta)
# Using Rcppparallel can be 2x faster but fails Travis
# if (self$D >= 12 || nrow(x) < 30) {
# s2 * corr_gauss_matrixC(x, y, theta)
# } else { # parallel only faster for small D and many rows
Expand Down
1 change: 0 additions & 1 deletion README.Rmd
Expand Up @@ -17,7 +17,6 @@ set.seed(0)
# GauPro

<!-- badges: start -->
[![Travis-CI Build Status](https://travis-ci.org/CollinErickson/GauPro.svg?branch=master)](https://travis-ci.org/CollinErickson/GauPro)
[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/GauPro)](https://cran.r-project.org/package=GauPro)
[![codecov](https://codecov.io/gh/CollinErickson/GauPro/branch/master/graph/badge.svg)](https://app.codecov.io/gh/CollinErickson/GauPro)
[![R-CMD-check](https://github.com/CollinErickson/GauPro/workflows/R-CMD-check/badge.svg)](https://github.com/CollinErickson/GauPro/actions)
Expand Down
18 changes: 8 additions & 10 deletions README.md
Expand Up @@ -5,8 +5,6 @@

<!-- badges: start -->

[![Travis-CI Build
Status](https://travis-ci.org/CollinErickson/GauPro.svg?branch=master)](https://travis-ci.org/CollinErickson/GauPro)
[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/GauPro)](https://cran.r-project.org/package=GauPro)
[![codecov](https://codecov.io/gh/CollinErickson/GauPro/branch/master/graph/badge.svg)](https://app.codecov.io/gh/CollinErickson/GauPro)
[![R-CMD-check](https://github.com/CollinErickson/GauPro/workflows/R-CMD-check/badge.svg)](https://github.com/CollinErickson/GauPro/actions)
Expand Down Expand Up @@ -86,22 +84,22 @@ summary(dm)
#> Formula:
#> price ~ carat + cut + color + clarity + depth
#>
#> AIC: 1029.11
#>
#> Residuals:
#> Min. 1st Qu. Median Mean 3rd Qu. Max.
#> -5535.94 -254.50 26.44 -125.67 207.52 2639.85
#> -6589.09 -217.68 37.85 -165.28 181.42 1619.37
#>
#> Feature importance:
#> carat cut color clarity depth
#> 1.5095 0.2436 0.2823 0.3365 0.0529
#> 1.5497 0.2130 0.3275 0.3358 0.0003
#>
#> AIC: 1008.96
#>
#> Pseudo leave-one-out R-squared:
#> 0.8905862
#> Pseudo leave-one-out R-squared : 0.901367
#> Pseudo leave-one-out R-squared (adj.): 0.8427204
#>
#> Leave-one-out coverage on 60 samples (small p-value implies bad fit):
#> 68%: 0.7333 p-value: 0.4096
#> 95%: 0.9667 p-value: 0.7702
#> 68%: 0.7 p-value: 0.7839
#> 95%: 0.95 p-value: 1
```

We can also plot the model to get a visual idea of how each input
Expand Down
4 changes: 2 additions & 2 deletions cran-comments.md
Expand Up @@ -14,9 +14,9 @@ make it reliable.

## R CMD check results

* local Windows 11 (4/3/23): no errors/warnings/notes
* local Windows 11 (4/7/23): no errors/warnings/notes

* Mac-builder (2/25/23): 1 NOTE for "sub-directories of 1Mb or more", but it is expected.
* Mac-builder (4/7/23): 1 NOTE for "sub-directories of 1Mb or more", but it is expected.

* GitHub (2/25/23): 1 NOTE for large sub-directories, but no
warnings/errors.
Expand Down
2 changes: 1 addition & 1 deletion scratch/after_success.R
Expand Up @@ -79,7 +79,7 @@ cat("Total run time is:", capture.output(timeend - timestart), '\n')
cat("Prediction time is:", capture.output(timepredend - timepredstart), '\n')
cat("Fit time is:", capture.output(fittimeend - fittimestart), '\n')

# if (T) { # Can Travis just skip this?
# if (T) {
# di <- sample(1:nrow(SG$design), 100)
# Y0pred <- CGGPpred(SG$design[di,],CGGP=SG) #,Y,logtheta=logthetaest)
# plot(Yp, GP$mean, ylim=c(min(GP$mean, Y0pred$m),max(GP$mean, Y0pred$m))); points(Y[di], Y0pred$m,col=3,pch=2); abline(a=0,b=1,col=2)
Expand Down
Binary file modified tools/README-plot_dm-1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7bfa1a6

Please sign in to comment.