-
Enable PPA
sudo apt update sudo apt install software-properties-common
-
Install apt-fast
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
lf1 <- function (dataset2, valcol2, numfeats){ | |
# Computes the lag features for specific column specified by valcol2 within dataset2 | |
# This creates total numfeats new features and it assumes dataset is already sorted by time | |
# Args: | |
# dataset2: dataset to be used for adding new features. | |
# valcol2: index of the column for which we need to create new features. | |
# numfeats: number of features to create. For example, if this is 3, then it will create 3 new lag features | |
# | |
# Returns: | |
# New dataset with additional features |
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
# Is this WIP or a minor change? | |
# [skip ci] | |
# Are you ready to indicate a related Jira issue? | |
# [#OSF- ] | |
# Style guidelines | |
# ---------------- | |
# Capitalized, short (50 chars or less) summary | |
# |