Skip to content

Instantly share code, notes, and snippets.

View eddyrene's full-sized avatar
💭
working in data science

Eddy Caceres eddyrene

💭
working in data science
  • Universidad Nacional de San Agustin
  • Arequipa, Perú
  • 00:20 (UTC -12:00)
View GitHub Profile
source("../code.R", chdir = TRUE)
library(testthat)
#testthat::test_dir("tests")
d_usd = 1-0.25
d_eur = 1-0.2
d_day = 0.5
order <- readxl::read_xlsx("../data_test.xlsx", "columnas")
getDiscount <- function(currency.input, date.input)
{ # Computes the percentage of discount to apply based on date and currency
#
#Args:
# currency.input = character of the currency
# date.input = the current date
#
# Returns:
# The percentage of discount to apply on the sum of products
@eddyrene
eddyrene / imgs_test.npy
Last active June 21, 2018 13:35
test images of Femur
This file has been truncated, but you can view the full file.
@eddyrene
eddyrene / 0.png
Last active June 19, 2018 21:58
Bexiga datasetTreinamento
0.png
@eddyrene
eddyrene / 18_0_1028_label.png
Last active June 19, 2018 21:49
Gist for data augmentation of femurReto images
18_0_1028_label.png
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css"/>
<link href="https://fonts.googleapis.com/css?family=Roboto:400,500" rel="stylesheet">
<div class="box1 ">
<div class="row">
<div class = "col-xs-1 col-sm-4"> </div> <!--resize-->
<div class="col-xs-10 col-sm-4 container-fluid box2">
<!-- quote-->
<div class = "row text-center" id="quote">
<div class = "col-xs-12">
@eddyrene
eddyrene / quotes.json
Last active April 8, 2018 20:39
Quotes file use for freeCodeCamp web app
{
"quotes" :
[
{"quote" :"Passion comes after you put in the hard work to become excellent at something valuable, not before. In other words, what you do for a living is much less important than how you do it.",
"author" : "Cal Newport"
},
{"quote" : "Don't cry because it's over, smile because it happened.",
"author" : "Dr. Seuss"
},
{"quote" : "I'm selfish, impatient and a little insecure. I make mistakes, I am out of control and at times hard to handle. But if you can't handle me at my worst, then you sure as hell don't deserve me at my best.",