Skip to content

Commit

Permalink
Merge pull request #86 from Dokkaebi10/html_images
Browse files Browse the repository at this point in the history
Html images
  • Loading branch information
Dokkaebi10 authored Mar 27, 2023
2 parents eea3051 + ab4ffe2 commit 9f6b238
Show file tree
Hide file tree
Showing 13 changed files with 677 additions and 1,048 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ Footer navigation
.virtual_documents

# ignore _build
*/_build/*
notebooks/_build/*
2 changes: 1 addition & 1 deletion R/boxplots.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ grid_boxplot <- function(data, yAxis, yLabel, titleLabel){
geom_boxplot(color="#033291", fill="#b0c8f7", alpha=0.2) +
labs(x="Degree of heart disease", y=yLabel) +
ggtitle(titleLabel) +
theme(text = element_text(size = 24))
theme(text = element_text(size = 12))
}
Binary file modified figures/boxplot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/majority_classifier_vis.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified notebooks/_build/.doctrees/analysis.doctree
Binary file not shown.
Binary file modified notebooks/_build/.doctrees/environment.pickle
Binary file not shown.
382 changes: 157 additions & 225 deletions notebooks/_build/html/_sources/analysis.ipynb

Large diffs are not rendered by default.

347 changes: 146 additions & 201 deletions notebooks/_build/html/analysis.html

Large diffs are not rendered by default.

Binary file modified notebooks/_build/html/objects.inv
Binary file not shown.
60 changes: 38 additions & 22 deletions notebooks/_build/html/reports/analysis.err.log
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
Traceback (most recent call last):
File "/Users/Sam/miniconda3/lib/python3.10/site-packages/nbclient/client.py", line 730, in _async_poll_for_reply
msg = await ensure_async(self.kc.shell_channel.get_msg(timeout=new_timeout))
File "/Users/Sam/miniconda3/lib/python3.10/site-packages/nbclient/util.py", line 96, in ensure_async
result = await obj
File "/Users/Sam/miniconda3/lib/python3.10/site-packages/jupyter_client/channels.py", line 230, in get_msg
raise Empty
_queue.Empty

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/Sam/miniconda3/lib/python3.10/site-packages/jupyter_cache/executors/utils.py", line 58, in single_nb_execution
executenb(
Expand All @@ -22,16 +11,43 @@ Traceback (most recent call last):
return future.result()
File "/Users/Sam/miniconda3/lib/python3.10/site-packages/nbclient/client.py", line 663, in async_execute
await self.async_execute_cell(
File "/Users/Sam/miniconda3/lib/python3.10/site-packages/nbclient/client.py", line 949, in async_execute_cell
exec_reply = await self.task_poll_for_reply
File "/Users/Sam/miniconda3/lib/python3.10/site-packages/nbclient/client.py", line 754, in _async_poll_for_reply
await self._async_handle_timeout(timeout, cell)
File "/Users/Sam/miniconda3/lib/python3.10/site-packages/nbclient/client.py", line 801, in _async_handle_timeout
raise CellTimeoutError.error_from_timeout_and_cell(
nbclient.exceptions.CellTimeoutError: A cell timed out while it was being executed, after 30 seconds.
The message was: Cell execution timed out.
Here is a preview of the cell contents:
-------------------
File "/Users/Sam/miniconda3/lib/python3.10/site-packages/nbclient/client.py", line 965, in async_execute_cell
await self._check_raise_for_error(cell, cell_index, exec_reply)
File "/Users/Sam/miniconda3/lib/python3.10/site-packages/nbclient/client.py", line 862, in _check_raise_for_error
raise CellExecutionError.from_cell_and_msg(cell, exec_reply_content)
nbclient.exceptions.CellExecutionError: An error occurred while executing the following cell:
------------------
source('../tests/tests.R')
-------------------
------------------

Error in `reporter$stop_if_needed()`:
! Test failed
Traceback:

1. source("../tests/tests.R")
2. withVisible(eval(ei, envir))
3. eval(ei, envir)
4. eval(ei, envir)
5. test_that("X-axis label is not the same!", {
. majority_classifier <- read_csv("../data/modelling/majority_classifier.csv")
. plot <- majority_classifier_vis_function(majority_classifier)
. expect_identical(plot$labels$x, "Heart disease degree of severity")
. })
6. (function (envir)
. {
. handlers <- get_handlers(envir)
. errors <- list()
. for (handler in handlers) {
. tryCatch(eval(handler$expr, handler$envir), error = function(e) {
. errors[[length(errors) + 1]] <<- e
. })
. }
. attr(envir, "withr_handlers") <- NULL
. for (error in errors) {
. stop(error)
. }
. })(<environment>)
ERROR: Error in `reporter$stop_if_needed()`:
! Test failed


2 changes: 1 addition & 1 deletion notebooks/_build/html/searchindex.js

Large diffs are not rendered by default.

464 changes: 176 additions & 288 deletions notebooks/_build/jupyter_execute/analysis.ipynb

Large diffs are not rendered by default.

466 changes: 157 additions & 309 deletions notebooks/analysis.ipynb

Large diffs are not rendered by default.

0 comments on commit 9f6b238

Please sign in to comment.