Skip to content

Instantly share code, notes, and snippets.

View klainfo's full-sized avatar

Chakkrit (Kla) Tantithamthavorn klainfo

View GitHub Profile
@klainfo
klainfo / R-package-updates.R
Created May 8, 2018 05:31
re-install all R packages when update R version (e.g., 3.4 -> 3.5)
package_df <- as.data.frame(installed.packages("/Library/Frameworks/R.framework/Versions/3.4/Resources/library"))
package_list <- as.character(package_df$Package)
install.packages(package_list)
@klainfo
klainfo / ms.tex
Last active January 29, 2024 17:01
Upload LaTeX-generated pdf paper to arXiv without LaTeX sources
\documentclass[letter]{article}
\pdfoutput=1
\usepackage{hyperref}
\hypersetup{
pdfinfo={
Title={title},
Author={author},
}
}
\usepackage{pdfpages}
Université de Montréal
Faculty of Arts and Sciences
Department of Computer Science and Operations Research (DIRO)
The DIRO is seeking candidates for a full-time tenure-track faculty position at the rank of Assistant Professor starting on June 1, 2017. We are seeking candidates of exceptional scientific talent who have demonstrated research success and shown evidence of high potential in software engineering aspects of one or more of the following fields: mobile computing, cloud computing, parallel computing, and swarm intelligence (e.g. cyber-physical systems or swarm robotics).
The position requires a Ph.D. in Computer Science or a related area and a proven publication record, illustrating the candidate's ability to publish influential work at top-tier venues. The appointed candidate will be expected to teach at the bachelor, masters, and Ph.D. level, supervise graduate students, engage in state-of-the-art research, publish at the highest international level, and contribute to the academic life and reputati
Department of Computer Science and Software Engineering
Concordia University’s Faculty of Engineering and Computer Science hosts over 7500 undergraduate/graduate students and prepares the next generation of technical leaders and entrepreneurs to address complex real-world problems. We offer a multi-disciplinary and research-engaged environment dedicated to incubating innovation, excellence and success. Our teaching and research is daring and transformative and contributes significantly to the sustainable intellectual and economic development of our community. We connect ideas with people and we are redefining the university experience.
The Department of Computer Science and Software Engineering has a faculty complement of 40 researchers active in the various areas of computer science and software engineering and its strength has rapidly been growing in recent years. The department offers popular bachelor’s and master’s degrees in both Computer Science and Software Engineering and a PhD program in Computer S
The Department of Systems and Computer Engineering at Carleton University, Ottawa, Canada, invites applications from qualified candidates for two tenure track faculty appointments at the rank of Assistant Professor, one in Software Engineering and one in Real-time Data Analytics.
We wish to hire outstanding faculty members with a passion for teaching, and with expertise and dynamic research in the general area of software engineering, including but not limited to real-time data analytics, model-driven software development, formal methods in software engineering, software evolution, distributed and concurrent systems, databases, and cloud computing.
Candidates with a demonstrated commitment to excellence in teaching at both undergraduate and graduate levels are invited to apply. In addition to supervising students at the Masters and Doctoral levels, the successful candidate will contribute to delivering early-year and advanced software engineering and computer engineering courses, mentoring undergraduate stude
Open positions: Assistant Professors in Computer Science
Department of Computer Science, Faculty of Engineering
University of Victoria
The Department of Computer Science in the Faculty of Engineering at
the University of Victoria is seeking applications for up to four
tenure track faculty positions at the assistant professor level with
an expected start date of July 1, 2017.
We seek individuals with demonstrated potential to build an
The Department of Computer Science in the Faculty of Science at Ryerson University (http://www.scs.ryerson.ca) invites applications for a full-time tenure-track position in Software Engineering at the Assistant Professor level. The applicant is expected to contribute to research and teaching in the area of Software Engineering. Exceptional candidates in other areas of Computer Science may also be considered. This position commences July 1, 2017, subject to final budgetary approval.
Candidates will hold a PhD in Computer Science or a related field. Candidates shall hold a strong research profile (e.g., evidence of an emerging scholarly record), and show evidence of high-quality teaching and student training. The successful candidate will be expected to establish and maintain an independent, externally funded research program, supervise graduate students, teach Computer Science courses at all levels, and engage in collegial service.
The Department of Computer Science, consisting of 20 tenure-stream faculty me
ASSISTANT PROFESSOR IN SOFTWARE ENGINEERING AT McGILL UNIVERSITY
================================================================
The School of Computer Science at McGill University invites applications
for a tenure-track appointment in software engineering at the rank of
assistant professor, to begin on August 1st, 2017.
Candidates should have or soon expect a Ph.D. in Computer Science or
related field, have a strong publication record in software engineering,
and have experience with the development and/or analysis of large-scale
@klainfo
klainfo / out-of-sample-bootstrap.R
Created June 25, 2016 23:40
An Example Code for the Out-of-sample Bootstrap
library(DefectData)
library(pROC)
Data <- loadData("eclipse-2.0")
data <- Data$data
dep <- Data$dep
indep <- Data$indep
# Normality Correction
transformLog <- function(y){ y <- log1p(y)}
data[,indep] <- data.frame(apply(data[,indep], 2, transformLog))
td <- expand.grid(
hjust=c(0, 0.5, 1),
vjust=c(0, 0.5, 1),
angle=c(0, 45, 90),
text="text"
)
ggplot(td, aes(x=hjust, y=vjust)) +
geom_point() +
geom_text(aes(label=text, angle=angle, hjust=hjust, vjust=vjust)) +