This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% | |
% author Huber Flores | |
% | |
%minted | |
-download minted or install it | |
-located the file minted.sty in the working folder | |
-add the arguments -shell-scape to the pdflatex command | |
In Kile(Settings -> Configure Kile -> Tools + Build -> PdfLatex -> "write the command into the box" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# author Huber Flores | |
# | |
GLPK Tutorial | |
Requires Eclipse 3.7 (Indigo). At the moment, there is no official plugin for Juno | |
#Install dependecies | |
> sudo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# author Huber Flores | |
# | |
$ mvn install | |
#Build jar with dependencies | |
$ mvn assembly:assembly -DdescriptorId=jar-with-dependencies | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# author Huber Flores | |
# | |
1- java bugs - http://bugs.java.com/ | |
2- Ubuntu packages - https://packages.debian.org/wheezy/amd64/sysstat/download | |
3- Icon design apps - http://www.iconarchive.com/show/flatastic-8-icons-by-custom-icon-design.2.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# author Huber Flores | |
# Normalizing data to a target range (a, b) | |
#original dataset | |
mydata <- c(26,33,45,77,15,100,66,21,89,55) | |
A = min(mydata) | |
B = max(mydata) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# author Huber Flores | |
# | |
# Example of fuzzy logic in R | |
# The main idea is to have fuzzy sets for each of the dimensions | |
# each attribute in the dimension can be defined as a fuzzy set with their respective linguistic variables, terms and membership functions | |
library(sets) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# calling the functions | |
# this is the file where we will call the functions in fun.R and times.R | |
times <- dget("times.R") | |
times(-4:4, 2) | |
source("fun.R") | |
mult(-4:4, 2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# author Huber Flores | |
# | |
# The input of the engine is a dataset. For each tuple of the dataset a decision is expected | |
# Each attribute in the tuple is normalized in a 0-1 interval | |
library(iterators) | |
library(foreach) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
digraph Bluetooth { | |
graph [ dpi = 300 ]; | |
p0-> p9; | |
p0-> p10; | |
p0-> p11; | |
p0-> p12; | |
p0-> p13; | |
p0-> p14; | |
p0-> p15; | |
p0-> p16; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
#author Huber Flores | |
# | |
library(lpSolveAPI) | |
library(ggplot2) | |
library(reshape) | |
library(gridExtra) |