Am I right here? If so, more fixes are needed:
```
lib.cloog/customize.py:       return {'return':1, 'error':'can\'t find root dir of the OpenCL installation'}
lib.cublas/customize.py:       return {'return':1, 'error':'can\'t find root dir of the OpenCL installation'}
lib.cudnn/customize.py:       return {'return':1, 'error':'can\'t find root dir of the OpenCL installation'}
lib.cufft/customize.py:       return {'return':1, 'error':'can\'t find root dir of the OpenCL installation'}
lib.gflags/customize.py:       return {'return':1, 'error':'can\'t find root dir of the OpenCL installation'}
lib.glog/customize.py:       return {'return':1, 'error':'can\'t find root dir of the OpenCL installation'}
lib.gmp/customize.py:       return {'return':1, 'error':'can\'t find root dir of the OpenCL installation'}
lib.isl/customize.py:       return {'return':1, 'error':'can\'t find root dir of the OpenCL installation'}
lib.lmdb/customize.py:       return {'return':1, 'error':'can\'t find root dir of the OpenCL installation'}
lib.mpc/customize.py:       return {'return':1, 'error':'can\'t find root dir of the OpenCL installation'}
lib.mpfr/customize.py:       return {'return':1, 'error':'can\'t find root dir of the OpenCL installation'}
lib.ncurses/customize.py:       return {'return':1, 'error':'can\'t find root dir of the OpenCL installation'}
lib.opencl/customize.py:       return {'return':1, 'error':'can\'t find root dir of the OpenCL installation'}
lib.opencv/customize.py:       return {'return':1, 'error':'can\'t find root dir of the OpenCL installation'}
lib.opencv/customize.py.old1:       return {'return':1, 'error':'can\'t find root dir of the OpenCL installation'}
lib.ppl/customize.py:       return {'return':1, 'error':'can\'t find root dir of the OpenCL installation'}
```


6 crashers fixed, nice! If you want to keep looking at related issues there are still a few that fail with lvalue related asserts, like the last remaining IDE crasher, hint hint :-)


![](https://github.trello.services/images/mini-trello-icon.png) [Implementar storyboard para RNF-ConsulLog](https://trello.com/c/9nVw9OTk/277-implementar-storyboard-para-rnf-consullog)


Fair enough! Pretty much: JSHint will tell you when you've done something that's wrong, JSCS will tell you when your code doesn't match up with the code conventions (airbnb seems a fairly decent base). My current job is very particular over this, so I got used to running all the linters in Atom :)

![image](https://cloud.githubusercontent.com/assets/633262/21298113/1bd194d6-c5e0-11e6-9bac-94867947bb31.png)


You still need to write bunch of options like `optionalJSON` path and `sscAlgoPath`. I think that common subset of CLI options can be extracted. And either it can be moved into separate datatype which contains every common option and then every argument list should have this data type as field. Or! Some function can be created that just simply adds all this options to existing arguments. So two approaches:

1. Adding common args to every specific options
```
data CommonArgs = CommonArgs { ... }
data NodeArgs = NodeArgs { cArgs :: CommonArgs, ... }
parseNodeArgs :: Parser NodeArgs
parseNodeArgs = NodeArgs <$> parseCommonArgs <*> <parse every specific arg>
```

2. Wrapping specific into common
```
data WithCommonArgs a = WithCArgs { exec :: a, ... }
data NodeArgs = NodeArgs { <only specific args here> }
parseNodeArgs :: Parser NodeArgs
parseAllArgs :: Parser (WithCommonArgs NodeArgs)
parseAllArgs = parseWithCommon parseNodeArgs
```

I can't decide now which approach is better. So it's up to you. But I hope you get what I want :)


![](https://github.trello.services/images/mini-trello-icon.png) [Implementar storyboard para RF-DivulgEventComun](https://trello.com/c/KLEJmyqb/226-implementar-storyboard-para-rf-divulgeventcomun)


Where is this output coming from? Is this from an OSX terminal?


idk about the style. you mix it up so ya know..


consider splitting `symbols` string into 3 distinct substrings, so that you can generalize code that checks inclusion. This will allow: a) avoid almost identical code, b) avoid using magic numbers (47, 58, 64, 91, ...), which meaning isn't obvious.


9 here and 8 below are clearly connected. Consider creating constant and use it throughout the function.


![](https://github.trello.services/images/mini-trello-icon.png) [Edit Campaign](https://trello.com/c/8sRAS3IO/24-edit-campaign)


I could not get to install for me  after clicking the installer it would just sit there and do nothing
also would love to see way that set the paths for recording in the install


I don't think so!

On Dec 17, 2016 19:29, "Michael Burton" <notifications@github.com> wrote:

> @whoburg <https://github.com/whoburg>, @bqpd <https://github.com/bqpd> if
> you ran the installation as pip -e install would you need to add this?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/hoburg/gpkit-models/commit/9bacbfeab5a0d55b37a02ac3d51ee6d67327a8b1#commitcomment-20225235>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ABagGDMx4MKq4514slxj5rYwProVjZsIks5rJKiygaJpZM4LQCjr>
> .
>


[test_train_split.R:44:19:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/test_train_split.R#L44) *style:* **Place a space before left parenthesis, except in a function call.**
```r
MSE_test1 <- mean((y_test - mean(y_train)) ^ 2)
                  ^
```


[random_forest_cat.R:9:2:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_cat.R#L9) *style:* **Commented code should be removed.**
```r
#install.packages("randomForest")
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:10:9:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_cat.R#L10) *style:* **Variable and function names should be all lowercase.**
```r
library(randomForest)
        ^~~~~~~~~~~~
```
[random_forest_cat.R:28:40:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_cat.R#L28) *style:* **Trailing whitespace is superfluous.**
```r
  # Number of trees to use in algorithm
                                       ^
```
[random_forest_cat.R:29:23:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_cat.R#L29) *style:* **Put spaces around all infix operators.**
```r
  numb_trees_rf <- 200*tree_numb
                     ~^~
```
[random_forest_cat.R:30:22:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_cat.R#L30) *style:* **Trailing whitespace is superfluous.**
```r
  # Fit random forest
                     ^
```
[random_forest_cat.R:31:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_cat.R#L31) *style:* **lines should not be more than 80 characters.**
```r
  fit_temp <- randomForest(x_train, y_train_cat, xtest = x_test, ytest = y_test_cat, ntree = numb_trees_rf)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:31:15:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_cat.R#L31) *style:* **Variable and function names should be all lowercase.**
```r
  fit_temp <- randomForest(x_train, y_train_cat, xtest = x_test, ytest = y_test_cat, ntree = numb_trees_rf)
              ^~~~~~~~~~~~
```
[random_forest_cat.R:32:45:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_cat.R#L32) *style:* **Trailing whitespace is superfluous.**
```r
  # Temporary confusion matrix for in sample
                                            ^
```
[random_forest_cat.R:34:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_cat.R#L34) *style:* **lines should not be more than 80 characters.**
```r
  # # In sample accuracy - sum the 1st and 4th element of matrix (6 elements total)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:34:5:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_cat.R#L34) *style:* **Commented code should be removed.**
```r
  # # In sample accuracy - sum the 1st and 4th element of matrix (6 elements total)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:34:84:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_cat.R#L34) *style:* **Trailing whitespace is superfluous.**
```r
  # # In sample accuracy - sum the 1st and 4th element of matrix (6 elements total)
                                                                                ^
```
[random_forest_cat.R:39:27:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_cat.R#L39) *style:* **Trailing whitespace is superfluous.**
```r
  # Out of sample accuracy
                          ^
```
[random_forest_cat.R:41:24:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_cat.R#L41) *style:* **Trailing whitespace is superfluous.**
```r
  # Store in data frame
                       ^
```
[random_forest_cat.R:42:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_cat.R#L42) *style:* **lines should not be more than 80 characters.**
```r
  rf_tree_err[tree_numb, 1:3] <- c(train_accuracy_temp, numb_trees_rf, test_accuracy_temp)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:42:91:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_cat.R#L42) *style:* **Trailing whitespace is superfluous.**
```r
  rf_tree_err[tree_numb, 1:3] <- c(train_accuracy_temp, numb_trees_rf, test_accuracy_temp)
                                                                                ^
```
[random_forest_cat.R:43:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_cat.R#L43) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[random_forest_cat.R:49:37:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_cat.R#L49) *style:* **Put spaces around all infix operators.**
```r
abline(rf_err_fit, col = "blue", lwd= 4)
                                   ~^
```
[random_forest_cat.R:50:13:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_cat.R#L50) *style:* **Put spaces around all infix operators.**
```r
abline(h = 1-high_low_ratio_train, col = "red", lwd = 4) # at 0.65
           ~^~
```
[random_forest_cat.R:51:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_cat.R#L51) *style:* **lines should not be more than 80 characters.**
```r
legend("topright",  c("Regression error fit", "Error Rate Training set"), col = c("blue", "red"), lwd = 4)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:59:3:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_cat.R#L59) *style:* **Commented code should be removed.**
```r
# rf_tree_err[which(rf_tree_err$Out_Error_Rate == min_out_err), ]
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:60:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_cat.R#L60) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[random_forest_cat.R:61:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_cat.R#L61) *style:* **Trailing blank lines are superfluous.**
```r

^
```


Matrix multiplication requires 3 nested loops. Check if this algo is correct.


No, this is my text editor - Atom.

I have these packages installed and it flips those errors at the bottom of my editor:
* linter
* linter-htmlhint
* linter-jscs
* linter-jshint
* linter-sass-lint

I haven't used Brackets but I would guess there would be similar packages for that.


should be const


Thanks! I have linter and jshint but not the other packages. I haven't used it for a while because reasons but I might switch over and see if anything's different. :)


It still breaks Dropwizard's way of configuring Logback. This is the third time in my career that patch-level changes on SLF4J or Logback have caused pain like this. I don't recall a single instance with any other library.

Generally any change to a public method **has to** be considered breaking. No exceptions, please.


[random_forest_reg.R:7:2:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_reg.R#L7) *style:* **Commented code should be removed.**
```r
#install.packages("randomForest")
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_reg.R:8:9:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_reg.R#L8) *style:* **Variable and function names should be all lowercase.**
```r
library(randomForest)
        ^~~~~~~~~~~~
```
[random_forest_reg.R:19:78:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_reg.R#L19) *style:* **Trailing whitespace is superfluous.**
```r
names(rf_tree_mse)[1:3] <- c("MSE_in_sample", "Numb Trees", "MSE_out_sample")
                                                                             ^
```
[random_forest_reg.R:23:40:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_reg.R#L23) *style:* **Trailing whitespace is superfluous.**
```r
  # Number of trees to use in algorithm
                                       ^
```
[random_forest_reg.R:24:23:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_reg.R#L24) *style:* **Put spaces around all infix operators.**
```r
  numb_trees_rf <- 200*tree_numb
                     ~^~
```
[random_forest_reg.R:25:22:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_reg.R#L25) *style:* **Trailing whitespace is superfluous.**
```r
  # Fit random forest
                     ^
```
[random_forest_reg.R:26:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_reg.R#L26) *style:* **lines should not be more than 80 characters.**
```r
  fit_temp <- randomForest(x_train, y_train, xtest = x_test, ytest = y_test, ntree = numb_trees_rf)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_reg.R:26:15:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_reg.R#L26) *style:* **Variable and function names should be all lowercase.**
```r
  fit_temp <- randomForest(x_train, y_train, xtest = x_test, ytest = y_test, ntree = numb_trees_rf)
              ^~~~~~~~~~~~
```
[random_forest_reg.R:27:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_reg.R#L27) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[random_forest_reg.R:29:25:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_reg.R#L29) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  MSE_in_sample <- mean((fit_temp$predicted - y_train) ^ 2)
                        ^
```
[random_forest_reg.R:30:29:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_reg.R#L30) *style:* **Trailing whitespace is superfluous.**
```r
  # Calculate out sample MSE
                            ^
```
[random_forest_reg.R:31:26:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_reg.R#L31) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  MSE_out_sample <- mean((fit_temp$test$predicted - y_test) ^ 2)
                         ^
```
[random_forest_reg.R:32:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_reg.R#L32) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[random_forest_reg.R:33:24:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_reg.R#L33) *style:* **Trailing whitespace is superfluous.**
```r
  # Store in data frame
                       ^
```
[random_forest_reg.R:35:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_reg.R#L35) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[random_forest_reg.R:41:37:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_reg.R#L41) *style:* **Put spaces around all infix operators.**
```r
abline(rf_err_fit, col = "blue", lwd= 4)
                                   ~^
```
[random_forest_reg.R:43:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_reg.R#L43) *style:* **lines should not be more than 80 characters.**
```r
legend("topright",  c("Regression error fit", "MSE Training set"), col = c("blue", "red"), lwd = 4)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_reg.R:52:3:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_reg.R#L52) *style:* **Commented code should be removed.**
```r
# rf_tree_mse[which(rf_tree_mse$MSE_out_sample == min_out_err), ]
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_reg.R:53:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_reg.R#L53) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[random_forest_reg.R:54:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/2ed34a9381027bee87e5d4e86908103cfcbcb3aa/random_forest_reg.R#L54) *style:* **Trailing blank lines are superfluous.**
```r

^
```


The error was at line 96 of the patch, a '--' that didn't belong. Now fixed, thanks for flagging it.


You don't need to delete arrays created on stack. Moreover, this is UB and can lead to crash.


great .. i will try if there is a difference ...
or is that not related to the issues reported on: https://github.com/openwrt/mt76/issues/63
?


This is transposing, not rotating.


struct device *dev = bdi->dev;
struct device_node *np = dev->of_node;


@rogerwang It's still in master branch, Do we need port it to 20 branch?


1) `graphInterface` is a pointer, so it needs `->`. See #15.
2) All other code uses spaces for indentation. This line indents with a tab.


test


can reduce this line and the following checks to:

if (!of_property_read_u32(np, "ti,minimum-sys-voltage", &input))


Well this is rather exciting! 🎅 🎁


can be reduced to the following with the above fixes:

dev_err(dev, "invalid value for ti,minimum-sys-voltage: %u\n", input);


[test_train_split.R:44:19:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/test_train_split.R#L44) *style:* **Place a space before left parenthesis, except in a function call.**
```r
MSE_test1 <- mean((y_test - mean(y_train)) ^ 2)
                  ^
```


[random_forest_cat.R:9:2:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_cat.R#L9) *style:* **Commented code should be removed.**
```r
#install.packages("randomForest")
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:10:9:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_cat.R#L10) *style:* **Variable and function names should be all lowercase.**
```r
library(randomForest)
        ^~~~~~~~~~~~
```
[random_forest_cat.R:28:40:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_cat.R#L28) *style:* **Trailing whitespace is superfluous.**
```r
  # Number of trees to use in algorithm
                                       ^
```
[random_forest_cat.R:29:23:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_cat.R#L29) *style:* **Put spaces around all infix operators.**
```r
  numb_trees_rf <- 200*tree_numb
                     ~^~
```
[random_forest_cat.R:30:22:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_cat.R#L30) *style:* **Trailing whitespace is superfluous.**
```r
  # Fit random forest
                     ^
```
[random_forest_cat.R:31:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_cat.R#L31) *style:* **lines should not be more than 80 characters.**
```r
  fit_temp <- randomForest(x_train, y_train_cat, xtest = x_test, ytest = y_test_cat, ntree = numb_trees_rf)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:31:15:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_cat.R#L31) *style:* **Variable and function names should be all lowercase.**
```r
  fit_temp <- randomForest(x_train, y_train_cat, xtest = x_test, ytest = y_test_cat, ntree = numb_trees_rf)
              ^~~~~~~~~~~~
```
[random_forest_cat.R:32:45:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_cat.R#L32) *style:* **Trailing whitespace is superfluous.**
```r
  # Temporary confusion matrix for in sample
                                            ^
```
[random_forest_cat.R:34:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_cat.R#L34) *style:* **lines should not be more than 80 characters.**
```r
  # # In sample accuracy - sum the 1st and 4th element of matrix (6 elements total)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:34:5:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_cat.R#L34) *style:* **Commented code should be removed.**
```r
  # # In sample accuracy - sum the 1st and 4th element of matrix (6 elements total)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:34:84:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_cat.R#L34) *style:* **Trailing whitespace is superfluous.**
```r
  # # In sample accuracy - sum the 1st and 4th element of matrix (6 elements total)
                                                                                ^
```
[random_forest_cat.R:39:27:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_cat.R#L39) *style:* **Trailing whitespace is superfluous.**
```r
  # Out of sample accuracy
                          ^
```
[random_forest_cat.R:41:24:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_cat.R#L41) *style:* **Trailing whitespace is superfluous.**
```r
  # Store in data frame
                       ^
```
[random_forest_cat.R:42:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_cat.R#L42) *style:* **lines should not be more than 80 characters.**
```r
  rf_tree_err[tree_numb, 1:3] <- c(train_accuracy_temp, numb_trees_rf, test_accuracy_temp)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:42:91:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_cat.R#L42) *style:* **Trailing whitespace is superfluous.**
```r
  rf_tree_err[tree_numb, 1:3] <- c(train_accuracy_temp, numb_trees_rf, test_accuracy_temp)
                                                                                ^
```
[random_forest_cat.R:43:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_cat.R#L43) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[random_forest_cat.R:49:37:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_cat.R#L49) *style:* **Put spaces around all infix operators.**
```r
abline(rf_err_fit, col = "blue", lwd= 4)
                                   ~^
```
[random_forest_cat.R:50:13:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_cat.R#L50) *style:* **Put spaces around all infix operators.**
```r
abline(h = 1-high_low_ratio_train, col = "red", lwd = 4) # at 0.65
           ~^~
```
[random_forest_cat.R:51:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_cat.R#L51) *style:* **lines should not be more than 80 characters.**
```r
legend("topright",  c("Regression error fit", "Error Rate Training set"), col = c("blue", "red"), lwd = 4)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:59:3:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_cat.R#L59) *style:* **Commented code should be removed.**
```r
# rf_tree_err[which(rf_tree_err$Out_Error_Rate == min_out_err), ]
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:60:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_cat.R#L60) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[random_forest_cat.R:61:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_cat.R#L61) *style:* **Trailing blank lines are superfluous.**
```r

^
```


[test_train_split.R:44:19:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/test_train_split.R#L44) *style:* **Place a space before left parenthesis, except in a function call.**
```r
MSE_test1 <- mean((y_test - mean(y_train)) ^ 2)
                  ^
```


[random_forest_cat.R:9:2:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_cat.R#L9) *style:* **Commented code should be removed.**
```r
#install.packages("randomForest")
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:10:9:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_cat.R#L10) *style:* **Variable and function names should be all lowercase.**
```r
library(randomForest)
        ^~~~~~~~~~~~
```
[random_forest_cat.R:28:40:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_cat.R#L28) *style:* **Trailing whitespace is superfluous.**
```r
  # Number of trees to use in algorithm
                                       ^
```
[random_forest_cat.R:29:23:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_cat.R#L29) *style:* **Put spaces around all infix operators.**
```r
  numb_trees_rf <- 200*tree_numb
                     ~^~
```
[random_forest_cat.R:30:22:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_cat.R#L30) *style:* **Trailing whitespace is superfluous.**
```r
  # Fit random forest
                     ^
```
[random_forest_cat.R:31:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_cat.R#L31) *style:* **lines should not be more than 80 characters.**
```r
  fit_temp <- randomForest(x_train, y_train_cat, xtest = x_test, ytest = y_test_cat, ntree = numb_trees_rf)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:31:15:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_cat.R#L31) *style:* **Variable and function names should be all lowercase.**
```r
  fit_temp <- randomForest(x_train, y_train_cat, xtest = x_test, ytest = y_test_cat, ntree = numb_trees_rf)
              ^~~~~~~~~~~~
```
[random_forest_cat.R:32:45:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_cat.R#L32) *style:* **Trailing whitespace is superfluous.**
```r
  # Temporary confusion matrix for in sample
                                            ^
```
[random_forest_cat.R:34:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_cat.R#L34) *style:* **lines should not be more than 80 characters.**
```r
  # # In sample accuracy - sum the 1st and 4th element of matrix (6 elements total)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:34:5:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_cat.R#L34) *style:* **Commented code should be removed.**
```r
  # # In sample accuracy - sum the 1st and 4th element of matrix (6 elements total)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:34:84:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_cat.R#L34) *style:* **Trailing whitespace is superfluous.**
```r
  # # In sample accuracy - sum the 1st and 4th element of matrix (6 elements total)
                                                                                ^
```
[random_forest_cat.R:39:27:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_cat.R#L39) *style:* **Trailing whitespace is superfluous.**
```r
  # Out of sample accuracy
                          ^
```
[random_forest_cat.R:41:24:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_cat.R#L41) *style:* **Trailing whitespace is superfluous.**
```r
  # Store in data frame
                       ^
```
[random_forest_cat.R:42:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_cat.R#L42) *style:* **lines should not be more than 80 characters.**
```r
  rf_tree_err[tree_numb, 1:3] <- c(train_accuracy_temp, numb_trees_rf, test_accuracy_temp)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:42:91:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_cat.R#L42) *style:* **Trailing whitespace is superfluous.**
```r
  rf_tree_err[tree_numb, 1:3] <- c(train_accuracy_temp, numb_trees_rf, test_accuracy_temp)
                                                                                ^
```
[random_forest_cat.R:43:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_cat.R#L43) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[random_forest_cat.R:49:37:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_cat.R#L49) *style:* **Put spaces around all infix operators.**
```r
abline(rf_err_fit, col = "blue", lwd= 4)
                                   ~^
```
[random_forest_cat.R:50:13:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_cat.R#L50) *style:* **Put spaces around all infix operators.**
```r
abline(h = 1-high_low_ratio_train, col = "red", lwd = 4) # at 0.65
           ~^~
```
[random_forest_cat.R:51:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_cat.R#L51) *style:* **lines should not be more than 80 characters.**
```r
legend("topright",  c("Regression error fit", "Error Rate Training set"), col = c("blue", "red"), lwd = 4)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:59:3:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_cat.R#L59) *style:* **Commented code should be removed.**
```r
# rf_tree_err[which(rf_tree_err$Out_Error_Rate == min_out_err), ]
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:60:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_cat.R#L60) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[random_forest_cat.R:61:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_cat.R#L61) *style:* **Trailing blank lines are superfluous.**
```r

^
```


How can add Ascension Valley Server?
I only see this:
{ "4009":
  { "name": "Celestial Chills"
  , "port": 9247
  }
, "4012":
  { "name": "Mount Tiltrannas"
  , "port": 9248
  }
}

btw im newbie :) and like you work


ghh


Hi, Shouldn't [ZCamera.cpp#L284](https://github.com/Asunaya/RefinedGunz/blob/master/Gunz/ZCamera.cpp#L284) also be fixed?


不需要吧


[random_forest_reg.R:7:2:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_reg.R#L7) *style:* **Commented code should be removed.**
```r
#install.packages("randomForest")
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_reg.R:8:9:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_reg.R#L8) *style:* **Variable and function names should be all lowercase.**
```r
library(randomForest)
        ^~~~~~~~~~~~
```
[random_forest_reg.R:19:78:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_reg.R#L19) *style:* **Trailing whitespace is superfluous.**
```r
names(rf_tree_mse)[1:3] <- c("MSE_in_sample", "Numb Trees", "MSE_out_sample")
                                                                             ^
```
[random_forest_reg.R:23:40:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_reg.R#L23) *style:* **Trailing whitespace is superfluous.**
```r
  # Number of trees to use in algorithm
                                       ^
```
[random_forest_reg.R:24:23:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_reg.R#L24) *style:* **Put spaces around all infix operators.**
```r
  numb_trees_rf <- 200*tree_numb
                     ~^~
```
[random_forest_reg.R:25:22:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_reg.R#L25) *style:* **Trailing whitespace is superfluous.**
```r
  # Fit random forest
                     ^
```
[random_forest_reg.R:26:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_reg.R#L26) *style:* **lines should not be more than 80 characters.**
```r
  fit_temp <- randomForest(x_train, y_train, xtest = x_test, ytest = y_test, ntree = numb_trees_rf)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_reg.R:26:15:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_reg.R#L26) *style:* **Variable and function names should be all lowercase.**
```r
  fit_temp <- randomForest(x_train, y_train, xtest = x_test, ytest = y_test, ntree = numb_trees_rf)
              ^~~~~~~~~~~~
```
[random_forest_reg.R:27:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_reg.R#L27) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[random_forest_reg.R:29:25:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_reg.R#L29) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  MSE_in_sample <- mean((fit_temp$predicted - y_train) ^ 2)
                        ^
```
[random_forest_reg.R:30:29:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_reg.R#L30) *style:* **Trailing whitespace is superfluous.**
```r
  # Calculate out sample MSE
                            ^
```
[random_forest_reg.R:31:26:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_reg.R#L31) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  MSE_out_sample <- mean((fit_temp$test$predicted - y_test) ^ 2)
                         ^
```
[random_forest_reg.R:32:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_reg.R#L32) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[random_forest_reg.R:33:24:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_reg.R#L33) *style:* **Trailing whitespace is superfluous.**
```r
  # Store in data frame
                       ^
```
[random_forest_reg.R:35:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_reg.R#L35) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[random_forest_reg.R:41:37:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_reg.R#L41) *style:* **Put spaces around all infix operators.**
```r
abline(rf_err_fit, col = "blue", lwd= 4)
                                   ~^
```
[random_forest_reg.R:43:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_reg.R#L43) *style:* **lines should not be more than 80 characters.**
```r
legend("topright",  c("Regression error fit", "MSE Training set"), col = c("blue", "red"), lwd = 4)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_reg.R:52:3:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_reg.R#L52) *style:* **Commented code should be removed.**
```r
# rf_tree_mse[which(rf_tree_mse$MSE_out_sample == min_out_err), ]
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_reg.R:53:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_reg.R#L53) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[random_forest_reg.R:54:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/ef192a107000cd9b7c338a85906b7cfb02b4c38f/random_forest_reg.R#L54) *style:* **Trailing blank lines are superfluous.**
```r

^
```


[random_forest_reg.R:7:2:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_reg.R#L7) *style:* **Commented code should be removed.**
```r
#install.packages("randomForest")
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_reg.R:8:9:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_reg.R#L8) *style:* **Variable and function names should be all lowercase.**
```r
library(randomForest)
        ^~~~~~~~~~~~
```
[random_forest_reg.R:19:78:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_reg.R#L19) *style:* **Trailing whitespace is superfluous.**
```r
names(rf_tree_mse)[1:3] <- c("MSE_in_sample", "Numb Trees", "MSE_out_sample")
                                                                             ^
```
[random_forest_reg.R:23:40:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_reg.R#L23) *style:* **Trailing whitespace is superfluous.**
```r
  # Number of trees to use in algorithm
                                       ^
```
[random_forest_reg.R:24:23:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_reg.R#L24) *style:* **Put spaces around all infix operators.**
```r
  numb_trees_rf <- 200*tree_numb
                     ~^~
```
[random_forest_reg.R:25:22:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_reg.R#L25) *style:* **Trailing whitespace is superfluous.**
```r
  # Fit random forest
                     ^
```
[random_forest_reg.R:26:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_reg.R#L26) *style:* **lines should not be more than 80 characters.**
```r
  fit_temp <- randomForest(x_train, y_train, xtest = x_test, ytest = y_test, ntree = numb_trees_rf)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_reg.R:26:15:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_reg.R#L26) *style:* **Variable and function names should be all lowercase.**
```r
  fit_temp <- randomForest(x_train, y_train, xtest = x_test, ytest = y_test, ntree = numb_trees_rf)
              ^~~~~~~~~~~~
```
[random_forest_reg.R:27:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_reg.R#L27) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[random_forest_reg.R:29:25:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_reg.R#L29) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  MSE_in_sample <- mean((fit_temp$predicted - y_train) ^ 2)
                        ^
```
[random_forest_reg.R:30:29:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_reg.R#L30) *style:* **Trailing whitespace is superfluous.**
```r
  # Calculate out sample MSE
                            ^
```
[random_forest_reg.R:31:26:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_reg.R#L31) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  MSE_out_sample <- mean((fit_temp$test$predicted - y_test) ^ 2)
                         ^
```
[random_forest_reg.R:32:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_reg.R#L32) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[random_forest_reg.R:33:24:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_reg.R#L33) *style:* **Trailing whitespace is superfluous.**
```r
  # Store in data frame
                       ^
```
[random_forest_reg.R:35:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_reg.R#L35) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[random_forest_reg.R:41:37:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_reg.R#L41) *style:* **Put spaces around all infix operators.**
```r
abline(rf_err_fit, col = "blue", lwd= 4)
                                   ~^
```
[random_forest_reg.R:43:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_reg.R#L43) *style:* **lines should not be more than 80 characters.**
```r
legend("topright",  c("Regression error fit", "MSE Training set"), col = c("blue", "red"), lwd = 4)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_reg.R:52:3:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_reg.R#L52) *style:* **Commented code should be removed.**
```r
# rf_tree_mse[which(rf_tree_mse$MSE_out_sample == min_out_err), ]
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_reg.R:56:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_reg.R#L56) *style:* **lines should not be more than 80 characters.**
```r
fit_temp <- randomForest(x_train, y_train, xtest = x_test, ytest = y_test, ntree = 700)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_reg.R:56:13:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/fa1756fd69de7b9108cb17ff23a94e7d08b6f784/random_forest_reg.R#L56) *style:* **Variable and function names should be all lowercase.**
```r
fit_temp <- randomForest(x_train, y_train, xtest = x_test, ytest = y_test, ntree = 700)
            ^~~~~~~~~~~~
```


![](https://github.trello.services/images/mini-trello-icon.png) [Change Password](https://trello.com/c/Y0NYyiEh/28-change-password)


Cool! I'm writing a keras implement for the RefineNet


@fujunwei we don't use the master branch any more. So please port it to nw19 and nw20.


Not that it matters that much but you could consider using TransitName instead of suggestName as in chisel3.util.Queue.apply


Dear asdfjkl,

  Very excited about your project.  I just installed a clone and ran your command with the example sample file, but it traced back to some error.  The text is below.  Any thoughts?
--------
MacBook-Pro-7:pgn2anki cb211$ ./pgn2anki -pgn sample.pgn -depth 7 -player White
Traceback (most recent call last):
  File "./pgn2anki", line 5, in <module>
    import fen
  File "/Users/cb211/pgn2anki/fen/__init__.py", line 3, in <module>
    from fen import *
  File "/Users/cb211/pgn2anki/fen/fen.py", line 9, in <module>
    import Image
ImportError: No module named Image
---------
Many Thanks,
Loeksnokes (Collin)


哈哈哈哈哼哼哈嘿


Hola!
- Por favor el reporte de bugs en donde corresponda.

- Tienes que proporcionar más información de lo que haces, y las configuraciones que tienes, porque en las pruebas que hice, sí aumentaba el next_number de la secuencia, por ende la nueva sesión comienza con un nuevo start_number.

- Posiblemente por alguna razón no se está consumiendo el folio, cuando la orden llega al backoffice, Porque el start_number depende de la secuencia configurada, toma el siguiente número que odoo le indique por la secuencia.

Entonces, si la anterior sesión no genero movimientos, o por ejemplo  generaste una orden, dió problema de firma y la borraste; y luego cerraste sesión, en esos 2 casos no te genera consumo de folios,

- otra razón de que te reinicie la secuencia , es que tengas configurado no gap en la secuencio, y si por ejemplo tienes 2 cajas , y una tiene folios adelantados a otra, con la mimsma secuencia, o si genereste un orden entremedio de un conjunto de ordenes y la borraste, el no gap de odoo te reiniciará la secuencia hasta el hueco en donde quedó.

y así hay más opcione.....


msm8996 has two clusters, if the driver only boosts two cpus, the 2nd cpu is little cluster cpu, we boost big cluster never,so what boost meaning with big cluster?


You're right, I missed that. Should be fixed with commit c96e07b. Thanks!


@SCP-173-cool that would be awesome, what about some Tensorflow?


Thank you


Jos ja gledam odkud toliko additions, taman pomislio da radis, kad ono Bootstrap :dagger:


Cool, i will take a look at that, thanks for the hint!


Ah, sure enough. Thanks!


Ack,
 OK, it seems I did not have python-pil, which I now have.  However, now there is a new problem, which is that Python 3 does not support rsvg.  Not sure how to get around this, since my system is at Python 3 and not Python 2.7 as you requested...  Here is the transcript for the new error.
-------
MacBook-Pro-7:pgn2anki cb211$ ./pgn2anki -pgn sample.pgn -depth 7 -player White
Traceback (most recent call last):
  File "./pgn2anki", line 5, in <module>
    import fen
  File "/Users/cb211/pgn2anki/fen/__init__.py", line 3, in <module>
    from fen import *
  File "/Users/cb211/pgn2anki/fen/fen.py", line 12, in <module>
    import rsvg
ImportError: No module named rsvg
-----
Sorry to spam with problems!
  -Loeksnokes


Line 789 is missing a close paren.

This will cause the main cacti page not to load since it's a parse error.

Should read:

 if (empty($hosts[$host_id]["status_fail_date"])){


Every clusters of the cpu freq will be synced, should we think of one cpu as a clutser?


Good stuff! Any way to make it update the sort without reinstalling a package in require & require-dev?


you need to call with(true) to enable the assertion


what's the advantage of hosting own angular library than using CDN ?


you can't use routeprovider without using views. I've already added views in my commit.


You were grabbing directive-template instead of partial for the view. I've already fixed this one as well.


add headers in dep


Nice Job Separating all the modules, services and directives!


[test_train_split.R:44:19:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/test_train_split.R#L44) *style:* **Place a space before left parenthesis, except in a function call.**
```r
MSE_test1 <- mean((y_test - mean(y_train)) ^ 2)
                  ^
```


[random_forest_cat.R:9:2:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_cat.R#L9) *style:* **Commented code should be removed.**
```r
#install.packages("randomForest")
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:10:9:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_cat.R#L10) *style:* **Variable and function names should be all lowercase.**
```r
library(randomForest)
        ^~~~~~~~~~~~
```
[random_forest_cat.R:28:40:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_cat.R#L28) *style:* **Trailing whitespace is superfluous.**
```r
  # Number of trees to use in algorithm
                                       ^
```
[random_forest_cat.R:29:23:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_cat.R#L29) *style:* **Put spaces around all infix operators.**
```r
  numb_trees_rf <- 200*tree_numb
                     ~^~
```
[random_forest_cat.R:30:22:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_cat.R#L30) *style:* **Trailing whitespace is superfluous.**
```r
  # Fit random forest
                     ^
```
[random_forest_cat.R:31:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_cat.R#L31) *style:* **lines should not be more than 80 characters.**
```r
  fit_temp <- randomForest(x_train, y_train_cat, xtest = x_test, ytest = y_test_cat, ntree = numb_trees_rf)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:31:15:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_cat.R#L31) *style:* **Variable and function names should be all lowercase.**
```r
  fit_temp <- randomForest(x_train, y_train_cat, xtest = x_test, ytest = y_test_cat, ntree = numb_trees_rf)
              ^~~~~~~~~~~~
```
[random_forest_cat.R:32:45:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_cat.R#L32) *style:* **Trailing whitespace is superfluous.**
```r
  # Temporary confusion matrix for in sample
                                            ^
```
[random_forest_cat.R:34:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_cat.R#L34) *style:* **lines should not be more than 80 characters.**
```r
  # # In sample accuracy - sum the 1st and 4th element of matrix (6 elements total)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:34:5:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_cat.R#L34) *style:* **Commented code should be removed.**
```r
  # # In sample accuracy - sum the 1st and 4th element of matrix (6 elements total)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:34:84:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_cat.R#L34) *style:* **Trailing whitespace is superfluous.**
```r
  # # In sample accuracy - sum the 1st and 4th element of matrix (6 elements total)
                                                                                ^
```
[random_forest_cat.R:39:27:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_cat.R#L39) *style:* **Trailing whitespace is superfluous.**
```r
  # Out of sample accuracy
                          ^
```
[random_forest_cat.R:41:24:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_cat.R#L41) *style:* **Trailing whitespace is superfluous.**
```r
  # Store in data frame
                       ^
```
[random_forest_cat.R:42:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_cat.R#L42) *style:* **lines should not be more than 80 characters.**
```r
  rf_tree_err[tree_numb, 1:3] <- c(train_accuracy_temp, numb_trees_rf, test_accuracy_temp)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:42:91:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_cat.R#L42) *style:* **Trailing whitespace is superfluous.**
```r
  rf_tree_err[tree_numb, 1:3] <- c(train_accuracy_temp, numb_trees_rf, test_accuracy_temp)
                                                                                ^
```
[random_forest_cat.R:43:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_cat.R#L43) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[random_forest_cat.R:49:37:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_cat.R#L49) *style:* **Put spaces around all infix operators.**
```r
abline(rf_err_fit, col = "blue", lwd= 4)
                                   ~^
```
[random_forest_cat.R:50:13:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_cat.R#L50) *style:* **Put spaces around all infix operators.**
```r
abline(h = 1-high_low_ratio_train, col = "red", lwd = 4) # at 0.65
           ~^~
```
[random_forest_cat.R:51:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_cat.R#L51) *style:* **lines should not be more than 80 characters.**
```r
legend("topright",  c("Regression error fit", "Error Rate Training set"), col = c("blue", "red"), lwd = 4)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:59:3:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_cat.R#L59) *style:* **Commented code should be removed.**
```r
# rf_tree_err[which(rf_tree_err$Out_Error_Rate == min_out_err), ]
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:60:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_cat.R#L60) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[random_forest_cat.R:61:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_cat.R#L61) *style:* **Trailing blank lines are superfluous.**
```r

^
```


don't know what's the meaning of "fsaduif sahu" ;) . I guess this was a typo, but try to go through all your changes before committing [Use STS synchronize view to check if the changes you are committing are actually the changes that you want to commit.]


Sorry, auth[name] may not contain bools, i was replying to your statement 'Checking against nil in Lua is superfluous' as if it were a general statement.


@SupportExTraGoZ might also fix LB new E


Starting with a rusty javascript knowledge, user tsankar and I coded this random maze generator and solver in about 6 hours time.


@Grillz Maybe Keras(Tensorflow Backend) is easy to make the copy of the model, and I will have a try.

BTW, MXNet is also a smart DL tool.


[random_forest_reg.R:7:2:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_reg.R#L7) *style:* **Commented code should be removed.**
```r
#install.packages("randomForest")
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_reg.R:8:9:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_reg.R#L8) *style:* **Variable and function names should be all lowercase.**
```r
library(randomForest)
        ^~~~~~~~~~~~
```
[random_forest_reg.R:19:78:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_reg.R#L19) *style:* **Trailing whitespace is superfluous.**
```r
names(rf_tree_mse)[1:3] <- c("MSE_in_sample", "Numb Trees", "MSE_out_sample")
                                                                             ^
```
[random_forest_reg.R:23:40:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_reg.R#L23) *style:* **Trailing whitespace is superfluous.**
```r
  # Number of trees to use in algorithm
                                       ^
```
[random_forest_reg.R:24:23:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_reg.R#L24) *style:* **Put spaces around all infix operators.**
```r
  numb_trees_rf <- 200*tree_numb
                     ~^~
```
[random_forest_reg.R:25:22:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_reg.R#L25) *style:* **Trailing whitespace is superfluous.**
```r
  # Fit random forest
                     ^
```
[random_forest_reg.R:26:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_reg.R#L26) *style:* **lines should not be more than 80 characters.**
```r
  fit_temp <- randomForest(x_train, y_train, xtest = x_test, ytest = y_test, ntree = numb_trees_rf)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_reg.R:26:15:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_reg.R#L26) *style:* **Variable and function names should be all lowercase.**
```r
  fit_temp <- randomForest(x_train, y_train, xtest = x_test, ytest = y_test, ntree = numb_trees_rf)
              ^~~~~~~~~~~~
```
[random_forest_reg.R:27:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_reg.R#L27) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[random_forest_reg.R:29:25:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_reg.R#L29) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  MSE_in_sample <- mean((fit_temp$predicted - y_train) ^ 2)
                        ^
```
[random_forest_reg.R:30:29:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_reg.R#L30) *style:* **Trailing whitespace is superfluous.**
```r
  # Calculate out sample MSE
                            ^
```
[random_forest_reg.R:31:26:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_reg.R#L31) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  MSE_out_sample <- mean((fit_temp$test$predicted - y_test) ^ 2)
                         ^
```
[random_forest_reg.R:32:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_reg.R#L32) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[random_forest_reg.R:33:24:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_reg.R#L33) *style:* **Trailing whitespace is superfluous.**
```r
  # Store in data frame
                       ^
```
[random_forest_reg.R:35:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_reg.R#L35) *style:* **Trailing whitespace is superfluous.**
```r

^~
```
[random_forest_reg.R:41:37:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_reg.R#L41) *style:* **Put spaces around all infix operators.**
```r
abline(rf_err_fit, col = "blue", lwd= 4)
                                   ~^
```
[random_forest_reg.R:43:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_reg.R#L43) *style:* **lines should not be more than 80 characters.**
```r
legend("topright",  c("Regression error fit", "MSE Training set"), col = c("blue", "red"), lwd = 4)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_reg.R:52:3:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_reg.R#L52) *style:* **Commented code should be removed.**
```r
# rf_tree_mse[which(rf_tree_mse$MSE_out_sample == min_out_err), ]
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_reg.R:56:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_reg.R#L56) *style:* **lines should not be more than 80 characters.**
```r
fit_temp <- randomForest(x_train, y_train, xtest = x_test, ytest = y_test, ntree = 700)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_reg.R:56:13:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/d3addff1432a49fa043d4b6cc297effdbac3318f/random_forest_reg.R#L56) *style:* **Variable and function names should be all lowercase.**
```r
fit_temp <- randomForest(x_train, y_train, xtest = x_test, ytest = y_test, ntree = 700)
            ^~~~~~~~~~~~
```


array initialization is missing


What is `json log file` exactly ? (I am currently working on `csl-218`) which might be related to this


![December 19. - Hétfő](http://ujlipot.vakvarju.com/data/napimenu/20.jpg?v=1482135978)
Tejszínes hagymaleves
Bolognai Lasagne
Napközis piskóta


that is normally done by adding a regular "add" button, and linking the event. but oh well.


Looks like a very good example when `ViewPatterns` are suitable.


object-assign 是为了解决服务端渲染才引进来的吧，没记错的话。


But why outside the first `if {...}`?


Umm, long time since this change :) I think that fleet is not started by default, or at least it wasn't. But in any case you're right, this is probably not needed in this scenario.


Note that currently the GPU/CUDA build does not yet work with C++11, nvcc needs extra flags (`-std c++11`, note that there is no `=` in there as you would do in the similar option for `g++`). I did not yet file a pull request for this because on my linux box with cuda 8.0 I am getting a weird error about the 2.1 compute capability not being recognized by nvcc, resulting in a build error. But when we make C++11 obligatory, it is important to fix this soon.

And maybe this is discussed elsewhere (checked the github issues list, couldn't find it, sorry if I overlooked it), but I wonder if we should really hardcode this list of compute capabilities. For instance, 6.1 is only supported by cuda SDK 8.0 and later, so a user who sits on a machine with older cuda toolkit and no admin privileges, so GATE cannot be built on that system without hacking the cmakelists file. Conversely I read on wikipedia that compute capabilities 2.0 and 2.1 will actually be discontinued in the next cuda release. It would be nice if there were a flag "all compute capabilities that are supported by the currently installed CUDA SDK version" or "only the compute capability that would be sufficient for the machine that I am currently compiling GATE on".

Hmmmm.... Thinking about this one more minute: I think the CUDA library does not actually need to be installed with admin privileges. A user can make a private install and build GATE with that. Just like with Geant4, where we do require a specific version. So we can do the same with CUDA, require 8.0, and then this hardcoded list of compute capabilities would be fine. But we'd need to specify in the build documentation that CUDA 8.0 is necessary, and which steps a user should take to ensure that she uses her private 8.0 install instead of an outdated system install version.


134041643-Fault-Fouling-Chiller (rongpengzhang) - i386-Windows-7-VisualStudio-12: OK (2355 of 2355 tests passed, 573 test warnings)

 * 573 tests had: AUD diffs.
 * 1 test had: ERR diffs.
 * 1 test had: ESO small diffs.
 * 1 test had: MTR small diffs.

![Build Badge](http://img.shields.io/badge/build%20status-passing-green.png) ![Test Badge](http://img.shields.io/badge/tests%20passed-100.0%25-green.png)


In the current open PR I made the signing of the controller configurable:
https://github.com/TooAngel/screeps/pull/23/commits/15b23bece232d053a9eefa5fe0b29416a8a55dd5#diff-9d9a6cd82f41984872a66a3ab0d440c4R20

Just FYI


you checkout the code as user, you have permission to change chmod, no need to use sudo
anyway to add execute perm, use this: chmod +x leveldb/build_detect_platform


same as above


Cám ơn, mình đã cherry-pick thay đổi này vào cành master: f88f75a210db19ddf55abc35775411ad394469eb.


That should fix the problem. However, it may create an additional one. If I've read the code right, then it will assume that when the limit is specified without a percentage that it is in fact a percentage. This would change the behaviour of existing code which may assume a default of it being a number of records. I would have thought you'd need to have an explicit `if` along the lines of:

```
if (length(limit) == 0L) {
  limit <- mssql_top(con, 100, TRUE)
} else {
  limit <- mssql_top(con, limit, is_percent %||% FALSE)
}
```


Related to #4


my tips: use upstart/systemd init system, and run the daemon with dedicated system user (eg "coin", or "spreadcoin"), and use "-datadir=/otherdir" parameter


I used substring to remove the brackets surrounding the address "[xCoord; yCoord]" so using -2 was a mistake


more flexible using `Integer.parseInt(coord[0].trim())`


:+1:  Tested with hreflang configuration. Thanks a lot!


The empty method implementation need to throw an **exception**. Like this:
```
@Override
public void deleteById(Long id) throws ServiceException {
    throw new ServiceException();
}
```


![](https://github.trello.services/images/mini-trello-icon.png) [Campaign Show](https://trello.com/c/t3YdvUdg/10-campaign-show)


Merge Erweiterung002


@nicknitewolf you forget add this commit for official


__Test__: As described in your test, you should send invalid data in the POST request to make sure this works.


TeamCity OTA+ :: rvi_sota_server :: ci [Build 1844](http://teamcity.prod01.internal.advancedtelematic.com:8111/viewLog.html?buildId=20542&buildTypeId=ota_plus_RviSotaServer_Ci) is now running


TeamCity OTA+ :: rvi_sota_server :: ci [Build 1844](http://teamcity.prod01.internal.advancedtelematic.com:8111/viewLog.html?buildId=20542&buildTypeId=ota_plus_RviSotaServer_Ci) outcome was **FAILURE**
Summary: Error while applying patch Build time: 00:00:05


Hi,

No need for help anymore. I have changed most of your code lines to fit in my projects.


My bad :P


The name of the method (**getGroupedOrders**) does not fully describe the essence of the implementation. Recommend using something like: **getOrdersGroupedByUserId**()


Looks like `'res/**'` is there twice?


removed condition


r+


Ex. 21 Where is the answer to the question? "Does DrRacket’s stepper reuse the results of computations?"

Ex. 25 An image is always a rectangle/square. You can draw circles(or anything really) inside that image. The last option also has an equal sign and that doesn't make sense. Should be: (< (image-height img) (image-width img)).

Ex. 28 Where is the answer to the question? "Which price should the owner of the movie theater choose to maximize his profits? Determine the best ticket price to a dime."


`NOT FOUND` is not an appropriate status for this test case where you are testing users access level. Status code for `PERMISSION DENIED` is suitable in this case.


Do we really need it in new code? 😉


Need to add **javadoc**.


No reason, just that nobody has done it yet!


saw approval from vogel
at https://github.com/vogel/stellar-core/commit/5e07a992fd45e3687e4068895ab13518c0fabc2d


merging vogel/stellar-core/test-path-payment-with-bogus-offer = 5e07a992 into auto


vogel/stellar-core/test-path-payment-with-bogus-offer = 5e07a992 merged ok, testing candidate = d8b28717


I have no idea how to check `Utxo`. We have only `TxId`. What do you want to check?

Remove this comment please if you don't have an answer.


`maybe pass (replyToNode . constr) $ NE.nonEmpty xs` avoids partial function 😉


F


Tgsffxv


不错，已经修改过了


__Test__ Your assertions do no adequately cover this test case. How are you testing that the document returned belongs to this user?
e.g
```javaScript
document.OwnerId === user.id
```


Is this a typo of localhost:4200 ?


looks good, but add a link to the stackoverflow question where we found this. Also do all tests pass?


cout << "Bonsorit Elliot!" <<endl;


Damn that @7oi can code.


See `Pos.Util.JsonLog`.
This json log is not part of main Pos actually, it's only used for benchmarks (IIRC).


Styx create at x:0 in model online


TeamCity libpalaso :: palaso-trusty64-lfmerge Continuous [Build 2.6.135.7d6c658426e80c1cd1c7da70515cf250ec976dda](http://build.palaso.org/viewLog.html?buildId=81823&buildTypeId=PalasoTrusty64lfmergeContinuous) outcome was **SUCCESS**
Summary: Tests passed: 3383, ignored: 124 Build time: 00:04:05


Can you push a new tag for the recent changes?


It for clean the code in fact we give always a alignment but with this I can call the same function for create generator for all generator and I add alignment after


The float regex won't accept 10.1.


storefront


Java API --> REST API


TeamCity OTA+ :: rvi_sota_server :: ci [Build 1845](http://teamcity.prod01.internal.advancedtelematic.com:8111/viewLog.html?buildId=20552&buildTypeId=ota_plus_RviSotaServer_Ci) is now running


@jwbowers is the code in this comment more clear for you on the balance check:
m1 <- lm(treatment ~ block,data = x)
summary(m1) # treatment should not be related to block at baseline
m2 <- lm(HOMELESS_COUNT_1516.x ~ treatment*block, x)
summary(m2) # treatment should not be related to count at baseline
m3 <- lm(FREE_LUNCH ~ treatment*block, x)
summary(m3) # treatment should not be related to number receiving free lunches at baseline


[test_train_split_by_date.R:6:9:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/test_train_split_by_date.R#L6) *style:* **Variable and function names should be all lowercase.**
```r
data <- loadLaggedDataSet()
        ^~~~~~~~~~~~~~~~~
```
[test_train_split_by_date.R:77:19:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/test_train_split_by_date.R#L77) *style:* **Place a space before left parenthesis, except in a function call.**
```r
MSE_train <- mean((y_train - mean(y_train)) ^ 2)
                  ^
```
[test_train_split_by_date.R:78:18:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/test_train_split_by_date.R#L78) *style:* **Place a space before left parenthesis, except in a function call.**
```r
MSE_test <- mean((y_test - mean(y_train)) ^ 2)
                 ^
```
[test_train_split_by_date.R:81:3:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/test_train_split_by_date.R#L81) *style:* **Commented code should be removed.**
```r
# write.csv(test_set, file = "Test_set.csv")
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[test_train_split_by_date.R:82:3:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/test_train_split_by_date.R#L82) *style:* **Commented code should be removed.**
```r
# write.csv(train_set, file = "Train_set.csv")
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[test_train_split_by_date.R:101:33:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/test_train_split_by_date.R#L101) *style:* **Trailing whitespace is superfluous.**
```r
train_set5$futurereturns <- NULL
                                ^
```
[test_train_split_by_date.R:103:2:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/test_train_split_by_date.R#L103) *style:* **Commented code should be removed.**
```r
#write.csv(train_set5, file = "TestDF_no_returns.csv")
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[test_train_split_by_date.R:104:2:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/test_train_split_by_date.R#L104) *style:* **Commented code should be removed.**
```r
#write.csv(train_set_results, file = "TestDF_returns.csv")
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[test_train_split_by_date.R:105:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/test_train_split_by_date.R#L105) *style:* **Trailing blank lines are superfluous.**
```r

^
```


back office


[MF850Utilities.R:1:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L1) *style:* **Variable and function names should be all lowercase.**
```r
laggedDataFile <- "laggeddata.rds"
^~~~~~~~~~~~~~
```
[MF850Utilities.R:5:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L5) *style:* **Variable and function names should be all lowercase.**
```r
LinearRegrssionFile <- "Linear_Ridge_Lasso.R"
^~~~~~~~~~~~~~~~~~~
```
[MF850Utilities.R:6:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L6) *style:* **Variable and function names should be all lowercase.**
```r
RandomForestRegressionFile <- "random_forest_reg.R"
^~~~~~~~~~~~~~~~~~~~~~~~~~
```
[MF850Utilities.R:7:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L7) *style:* **Variable and function names should be all lowercase.**
```r
LogisticRegressionFile <- "Logistic_Ridge_Lasso.R"
^~~~~~~~~~~~~~~~~~~~~~
```
[MF850Utilities.R:8:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L8) *style:* **Variable and function names should be all lowercase.**
```r
RandomForestCatFile <- "random_forest_cat.R"  # Random forest high/low
^~~~~~~~~~~~~~~~~~~
```
[MF850Utilities.R:9:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L9) *style:* **Variable and function names should be all lowercase.**
```r
LogisticRegressionModelLambdaFile <- "Logistic_Ridge_Lasso_model_lambda.rds"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[MF850Utilities.R:9:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L9) *style:* **Variable and function names should not be longer than 30 characters.**
```r
LogisticRegressionModelLambdaFile <- "Logistic_Ridge_Lasso_model_lambda.rds"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[MF850Utilities.R:12:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L12) *style:* **Variable and function names should be all lowercase.**
```r
LinearRegrssionModelFile <- "Linear_Ridge_Lasso_model.rds"
^~~~~~~~~~~~~~~~~~~~~~~~
```
[MF850Utilities.R:13:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L13) *style:* **Variable and function names should be all lowercase.**
```r
LinearRegrssionModelLambdaFile <- "Linear_Ridge_Lasso_model_lambda.rds"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[MF850Utilities.R:14:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L14) *style:* **Variable and function names should be all lowercase.**
```r
RandomForestRegressionModelFile <- "random_forest_model.rds"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[MF850Utilities.R:14:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L14) *style:* **Variable and function names should not be longer than 30 characters.**
```r
RandomForestRegressionModelFile <- "random_forest_model.rds"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[MF850Utilities.R:15:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L15) *style:* **Variable and function names should be all lowercase.**
```r
LogisticRegressionModelFile <- "Logistic_Ridge_Lasso_model.rds"
^~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[MF850Utilities.R:16:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L16) *style:* **Variable and function names should be all lowercase.**
```r
RandomForestCatModelFile <- "random_forest_cat_model.rds"
^~~~~~~~~~~~~~~~~~~~~~~~
```
[MF850Utilities.R:18:8:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L18) *style:* **Put spaces around all infix operators.**
```r
par(ask=FALSE)
      ~^~
```
[MF850Utilities.R:25:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L25) *style:* **Variable and function names should be all lowercase.**
```r
loadLaggedDataSet <- function() {
^~~~~~~~~~~~~~~~~
```
[MF850Utilities.R:26:36:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L26) *style:* **Variable and function names should be all lowercase.**
```r
  mynewdataframe <- readRDS(file = laggedDataFile)
                                   ^~~~~~~~~~~~~~
```
[MF850Utilities.R:26:36:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L26) *warning:* **no visible binding for global variable ‘laggedDataFile’**
```r
  mynewdataframe <- readRDS(file = laggedDataFile)
                                   ^~~~~~~~~~~~~~
```
[MF850Utilities.R:31:57:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L31) *style:* **Commas should always have a space after.**
```r
  packagestoinstall_split <- strsplit(packagestoinstall,", ")[[1]]
                                                        ^
```
[MF850Utilities.R:33:7:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L33) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(!packagename %in% rownames(installed.packages())){
      ^
```
[MF850Utilities.R:37:31:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L37) *style:* **Commas should always have a space after.**
```r
      print(paste(packagename,"already installed"))
                              ^
```
[MF850Utilities.R:39:40:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L39) *style:* **Put spaces around all infix operators.**
```r
    library(packagename, character.only=TRUE)
                                      ~^~
```
[MF850Utilities.R:43:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L43) *style:* **Variable and function names should be all lowercase.**
```r
lagStockData <- function(stockdata) {
^~~~~~~~~~~~
```
[MF850Utilities.R:47:6:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L47) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  for(company in companies)
     ^
```
[MF850Utilities.R:48:3:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L48) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
  {
  ^
```
[MF850Utilities.R:50:51:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L50) *style:* **Commas should always have a space after.**
```r
    futurereturns <- c(returns[2:length(returns)],NA)
                                                  ^
```
[MF850Utilities.R:51:29:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L51) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
    if (1 == NROW(returns)) {futurereturns <- c(NA)}
                            ^
```
[MF850Utilities.R:51:52:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L51) *style:* **Closing curly-braces should always be on their own line, unless it's followed by an else.**
```r
    if (1 == NROW(returns)) {futurereturns <- c(NA)}
                                                   ^
```
[MF850Utilities.R:52:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L52) *style:* **Trailing whitespace is superfluous.**
```r

^~~~
```
[MF850Utilities.R:54:16:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L54) *style:* **Use <-, not =, for assignment.**
```r
    newdataset = rbind(newdataset, company)
               ^
```
[MF850Utilities.R:56:7:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L56) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(i %% 500 == 0) print(i)
      ^
```
[MF850Utilities.R:58:30:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L58) *style:* **Variable and function names should be all lowercase.**
```r
  saveRDS(newdataset, file = laggedDataFile)
                             ^~~~~~~~~~~~~~
```
[MF850Utilities.R:58:30:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L58) *warning:* **no visible binding for global variable ‘laggedDataFile’**
```r
  saveRDS(newdataset, file = laggedDataFile)
                             ^~~~~~~~~~~~~~
```
[MF850Utilities.R:62:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L62) *style:* **Variable and function names should be all lowercase.**
```r
removeLastMonth <- function(stockdata) {
^~~~~~~~~~~~~~~
```
[MF850Utilities.R:66:6:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L66) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  for(company in companies)
     ^
```
[MF850Utilities.R:67:3:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L67) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
  {
  ^
```
[MF850Utilities.R:68:13:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L68) *style:* **Use <-, not =, for assignment.**
```r
    company = company[-1,]
            ^
```
[MF850Utilities.R:68:26:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L68) *style:* **Commas should always have a space after.**
```r
    company = company[-1,]
                         ^
```
[MF850Utilities.R:69:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L69) *style:* **Trailing whitespace is superfluous.**
```r

^~~~
```
[MF850Utilities.R:70:16:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L70) *style:* **Use <-, not =, for assignment.**
```r
    newdataset = rbind(newdataset, company)
               ^
```
[MF850Utilities.R:72:7:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L72) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(i %% 500 == 0) print(i)
      ^
```
[MF850Utilities.R:76:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/7410931178707089e286867f9af49d7aee7f6434/MF850Utilities.R#L76) *style:* **Trailing blank lines are superfluous.**
```r

^
```