[random_forest_reg.R:8:9:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/random_forest_reg.R#L8) *style:* **Variable and function names should be all lowercase.**
```r
library(randomForest)
        ^~~~~~~~~~~~
```
[random_forest_reg.R:14:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/random_forest_reg.R#L14) *style:* **lines should not be more than 80 characters.**
```r
fit_rf2 <- randomForest(x_train, y_train, xtest = x_test, ytest = y_test, ntree = 500)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_reg.R:14:12:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/random_forest_reg.R#L14) *style:* **Variable and function names should be all lowercase.**
```r
fit_rf2 <- randomForest(x_train, y_train, xtest = x_test, ytest = y_test, ntree = 500)
           ^~~~~~~~~~~~
```
[random_forest_reg.R:17:23:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/random_forest_reg.R#L17) *style:* **Place a space before left parenthesis, except in a function call.**
```r
(MSE_train_rf <- mean((fit_rf2$predicted - y_train) ^ 2))
                      ^
```
[random_forest_reg.R:21:2:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/random_forest_reg.R#L21) *style:* **Place a space before left parenthesis, except in a function call.**
```r
((abs(MSE_train_rf - MSE_train)) / MSE_train) * 100
 ^
```
[random_forest_reg.R:24:17:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/random_forest_reg.R#L24) *style:* **Place a space before left parenthesis, except in a function call.**
```r
(MSE_rf <- mean((fit_rf2$test$predicted - y_test) ^ 2))
                ^
```
[random_forest_reg.R:30:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/random_forest_reg.R#L30) *style:* **Trailing blank lines are superfluous.**
```r

^
```


[lda_cat1.R:18:66:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/lda_cat1.R#L18) *style:* **Trailing whitespace is superfluous.**
```r
test_low <- test_high - test_size # Lower row number for test set
                                                                 ^
```
[lda_cat1.R:19:63:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/lda_cat1.R#L19) *style:* **Trailing whitespace is superfluous.**
```r
train_high <- test_low - 1 # Upper row number for training set
                                                              ^
```
[lda_cat1.R:20:73:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/lda_cat1.R#L20) *style:* **Trailing whitespace is superfluous.**
```r
train_low <- train_high - train_size # Lower row number for training set
                                                                        ^~
```
[lda_cat1.R:33:35:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/lda_cat1.R#L33) *style:* **Commas should always have a space after.**
```r
x_test <- data[test_low:test_high,]
                                  ^
```
[lda_cat1.R:41:41:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/lda_cat1.R#L41) *style:* **Put spaces around all infix operators.**
```r
(high_low_ratio <- sum(y_train_cat == 1)/length(y_train_cat))
                                       ~^~
```
[lda_cat1.R:46:40:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/0d8bf6df3c7983334f309c1f335255f5a040a5f8/lda_cat1.R#L46) *style:* **Put spaces around all infix operators.**
```r
(high_low_ratio <- sum(y_test_cat == 1)/length(y_test_cat))
                                      ~^~
```


@giladna we should point to a document with errors/events/states no?


[lda_cat1.R:18:66:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/lda_cat1.R#L18) *style:* **Trailing whitespace is superfluous.**
```r
test_low <- test_high - test_size # Lower row number for test set
                                                                 ^
```
[lda_cat1.R:19:63:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/lda_cat1.R#L19) *style:* **Trailing whitespace is superfluous.**
```r
train_high <- test_low - 1 # Upper row number for training set
                                                              ^
```
[lda_cat1.R:20:73:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/lda_cat1.R#L20) *style:* **Trailing whitespace is superfluous.**
```r
train_low <- train_high - train_size # Lower row number for training set
                                                                        ^~
```
[lda_cat1.R:33:35:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/lda_cat1.R#L33) *style:* **Commas should always have a space after.**
```r
x_test <- data[test_low:test_high,]
                                  ^
```
[lda_cat1.R:41:41:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/lda_cat1.R#L41) *style:* **Put spaces around all infix operators.**
```r
(high_low_ratio <- sum(y_train_cat == 1)/length(y_train_cat))
                                       ~^~
```
[lda_cat1.R:46:40:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/6957deb969bfebb76433d7038571908e79c127f4/lda_cat1.R#L46) *style:* **Put spaces around all infix operators.**
```r
(high_low_ratio <- sum(y_test_cat == 1)/length(y_test_cat))
                                      ~^~
```


To nie miała być reguła- sprawdzanie isRequired jest już  sprawdzane w BasicFieldRule. Ta klasa miała służyc jedynie do wypisania ktore pola sa required a ktore nie


@giladna we should add a special page for ads/analytics - lets try to give a super basic demo so developers can start without any issues


W porzadku, choc chcialem tez zeby to obslugiwalo nawiasy typu (, {, [


@giladna why do they need playkitdemo?


YES


if(!supportedFields.containsAll(config.keySet())))


лол, круто


" even thou it clearly not the tool to _sell_ your idea " -> misses a verb?


@mp911de

Thank you for the timely reply. I have opened an issue on jira. Hopefully, I didn't just make an amateur mistake.


inside -> in

inside sounds pedantic


@pchmielowski , I agree - this code is not clear. I intended to get working indentation parser, so I took it here: https://github.com/antlr/grammars-v4/blob/master/python3/Python3.g4#L114


Ja bym to obslugiwal jako false, niepoprawne wyrazene. Pusty string ok, ale nullowe nie bardzo


moze lepsze nazwa ```move```?


A nested case? (())


What's the standard codestyle for elseif? ```else if``` or ```elseif```?


Do @Before


> What's the standard codestyle for elseif? else if or elseif?

The former.


they do throw.
if you do not get the parameters right and the callback is not a function (it can be done even with coreQ, you just have to miss the number of arguments)


ta dluga linijke lepiej wydzielic do metody ```performMove``` i wydzielic zmienne zeby nie byla taka dluga


it does throw. if you try to del the registry of a library member...


@maxtroy some more criss cross binding. will clean up later, but have a look if you'd like


My addon should be wall only placeable since it would lost the efficient purpose it was maded for. People will still be able to change it manually, but personally i just would use Valve´s pedestal if i wanted it on the ceilling - floor.


Хех)
А какие свойства, если не секрет?


Cos za szybko. W tym tescie niczego nie przetestowalas.
nameIsRequired nie zostal wsadzony do fieldRulea, dla mocka nie zdefiniowalas zadnej akcji. Ustawilas nameIsRequired  i sprawdzilas czy pozostalo bez zmian, ale ta hashmapa nie jest powiazana z niczym, nie bylo na niej zadnej interakcji


Oups wrong commit! Please ignore it


do @Before


"far away to be done" sounds incorrect. Far can support "from" or "away", not both.
"to be done" then becomes simply "done".

If I read it correctly "lungi dall'essere completi" simply becomes "far from done" as an idiom.


do @Before inicjalizacja


crash(


not so correct, as dark & white squares, but can begin to work


Thanks! I incorporated most of these changes but left some things the same. We use the Airbnb JS styleguide and wrote some terse code to shave off bytes so there are some differences.


This won't work on Windows, as the dig command is not available


Po co ten konstruktor? Lista ma byc wypoelniana za pomoca metody visit() tylko


IMO Set should not support `chunk()` method.
Unless it is a SortedSet this test would not be very stable in time. Also it is strange that Set#chunk() returns a List of Lists.

Just my 2c.


Your fix for DD+ seems to be working. I've been testing these days this one:

`mpd = re.sub(r'/d.?/[1-9][$].*?/', '/', mpd)`

it removes /d(m)/1$...../ and, so far, it worked, but yours is better because is less intrusive in case Amazon monitors the .mpd urls to avoid these hacks :)


##This is also a markdown file


Enhancement Issue #5 about 80% complete.


Thanks, Tom!
Sure enough, this commit gets everything working just right.


@krader1961 This commit has made backspace stop working in insert mode.


typo here?


System Vision of the plugin


This would appear to be a breaking change, but I don't see it documented as such. See [this forum thread](https://forum.ionicframework.com/t/ionic-2-rc4-events-updated/73477).


Related to: backdrop/backdrop-issues#2329


The test would get skipped then, wouldn't it?


It might be better to rename this function to `clone_taxonomy_treenode`, since it copies some fields used for taxonomies which are not part of the `TreeNode` class as defined in this module.


Grrrrrrrreat!


It can do both, see the try/except there.


@DTrejo I cleaned up the code a bit and while I was at it I switched the entire codebase to [StandardJS code style](http://standardjs.com/rules.html).

I don't feel exactly comfortable to push this to npm without any automated tests any further, though... :stuck_out_tongue_winking_eye: ... maybe you can at least have a look and check if it's still working for you?

Also added a `.travis.yml` which now would just check for code style compliance, as there are no tests yet. Feel free to add a Travis-CI build for the project anyhow. I cannot do this even with contributor-rights on the repo as it needs to be done under your personal Travis-CI account.


this will only work for the hand (:) no other item name start with :. : in registered_items is the override character, and is not part of the name


@slavapestov Don't you need to special case opened existentials here? They do not need the env being available. One should probably simply return the type if type->isOpenedExistential() is true. WDYT?


It should yes, but it seems really odd to skip Windows just for that when the function and its arguments is implemented on Windows.

After all, its a bug fix test


I think changing `\x7f` to `delete-char` was a mistake.


@NearDeath @Pacn91,  os que ainda não têm Vagrant pelo menos que façam Vagrant box add jadesystems/rails5 para sacar isso em casa.


Explanatory note


Mas eu tenho tudo a funcionar xD. Eu logo a noite ajudo o Pedro nessa parte


a - nazwij jakos ze to najwyzszy dysk z wiezy itd, pozmieniaj zeby te nazwy mialy sens


tutaj by sie przydala metoda ```isMoveAllowed: Boolean```


Certo, mas quem não tenha que pelo menos corra esse comando para ter a vm sacada e fazer isso rápido na aula.


I don't think it is a good idea to use `try`/`except` for handling a common case in the exception handler. According to https://docs.python.org/3/faq/design.html#how-fast-are-exceptions, "Actually catching an exception is expensive".


I’ll do `hasattr()` then.


```getDiscs```?


te zmienne ```indexHeadFromTower``` to zawsze bedzie 0?


I think this commit has saved our project! 😮 🎉 😉


Thanks.


```getEmptySpace```?


Nie tak. Nie zdefiniowalas nick mockowi. Sprawdzilas tylko czy wowolalo sie fieldRule.getFieldName(), ale nie zdefiniowalas zadnego zwracania!
Test powinien wygladac tak:
`
FieldRule fieldRule= mock(FieldRule.class);
when(fieldRule.getFieldNAme).thenReturn("testNAme") //definiujesz co ma zwracac mock
supportedFieldsRule.visit(fieldRule); //odpalasz test
@SuppressWarnings("unchecked") //w testach takie gole mapowania na sile sa dopuszczalne
List<String> supportedFields = (List<String>) Whitebox.getInternalState(rule, "supportedFields"); //wyciagasz wartosc z supportedfieldrule- bo chcesz sprawdzic rzeczywsta wartosc listy ktora ma supportedFieldsRule  teraz
assertEquals(1, fields.size());
assertThat(fields, containsInAnyOrder("testNAme")); //sprawdzasz czy jest to co ma byc - containsInAnyOrder jest z             //biblioteki hamcrest- trzeba w pomie dodac jeszcze hamcrest-all, zeby ci to znalazlo - duzo pomocniczysz takich //funkcji ma
verify(fieldRule).getFieldName();
verifyNoMoreInteractions(fieldRule);
`


Related to: backdrop/backdrop-issues#2329


But is there a way (on windows) to ensure the resolver returns the sections we're looking for (`authority` and `additional`)?


![](https://github.trello.services/images/mini-trello-icon.png) [Help text for commands and a general help command](https://trello.com/c/TOU21txy/21-help-text-for-commands-and-a-general-help-command)


Isn't the latest version of forge 21**8**5?


For everyone you can now download pre build extractors in release section -> https://github.com/cmangos/mangos-classic/releases

For those who want to avoid extraction process you can download latest version of dbc/map/vmap/mmap
here: http://ovh.to/hKVwRh
or: https://mega.nz/#!hlEz0TiJ!Nwq9ASHqk5tO0VjMRUSk5OsVyBa5J8DJfrlk8bFhqgg


I was trying this on Windows already, but seems even 5.6 that is supposed to work, never delivers. That on two different machines. It's likely to have different issues in DNS setup anyway, so a separate investigation would make sense.

Thanks.


No doubt there are lots of cases where the staff type change is not handled right now. My test cases work past a line break. Can you be more specific?


Okj - teraz rozumiem po co ci byl ten konstruktor - Zamiast go pisac  (czasem jest niezbedny, owszem, gdyby parametr supportedFields byl final w SupportedFieldsRule), ale tutaj wystarczy zrobic tak:
List<String> supportedFields = Arrays.asList("A", "B", "C");
 supportedFieldsRule = new SupportedFieldsRule();
Whitebox.setInternalState(supportedFieldsRule ,"supportedFields", supportedFields );


ten ```var wynik``` jest niepotrzebny


New Food Recipes please get in contact with me at facebook.com/dezzy.sorin


Do the training tools compile in your system?


Sprawdzilbym tutaj visit od razu na dwoch mockach w tescie (czy przypadkiem drugie wywolanie nie zasloni pierwszego np)


takie wielkie stringi mozesz wydzielic do zmiennej w ```object game2048```


Tesn konstruktor nie jest konieczny - napisalem w tescie jak to zrobic za pomoca Whitebox.setInternalState


Brakuje prypadku testEmailInvalid


This should be enabled again.


I love to see support for ft232h chip. Can you implement it in next generation of hyperion - so everybody can use it :-)

https://github.com/hyperion-project/hyperion.ng


to chyba jedyna publiczna metoda w ```Board```, reszta powinna byc ```private```


This is just a tiny performance improvement, the energy check is usually a lot faster than the ingredients check


The only thing that changes the output is the typeof change and the use
strict statement. Everything else is taken care by uglify.

On Dec 18, 2016 21:09, "Andres Morey" <notifications@github.com> wrote:

> Thanks! I incorporated most of these changes but left some things the
> same. We use the Airbnb JS styleguide and wrote some terse code to shave
> off bytes so there are some differences.
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <https://github.com/XhmikosR/loadjs/commit/890657f52d8f78c6c090c5e361e5121a6ca9ef20#commitcomment-20227108>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AAVVtVYt3g5vzY2sJ1AoJA-XwPoNUKnuks5rJYTdgaJpZM4LNhEn>
> .
>


Merci @Diogo-Ferreira, très bien :-).


![](https://github.trello.services/images/mini-trello-icon.png) [Sepetim Sayfasının Yapılması](https://trello.com/c/ImHa8eoh/2-sepetim-sayfasinin-yapilmasi)


how install resource of hazm 0.4??


Так как обнуление массива происходит вне функции, при использовании decToHex больше одного раза будет не тот результат


Тут та же грубая ошибка


Merci axel je l'avais changé mais ont a eu un merge vendredi

Le 17 décembre 2016 à 19:30, Axel Wargnier <notifications@github.com> a
écrit :

> On évite les accents et autres caractères spéciaux dans les attributs
> name="". En fonction des navigateurs, il peut y avoir d'éventuels problème
> d'encodage et donc ne pas transmettre les données correctement
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/JcDecour/projet_final/commit/3af1d3f9715a43482edd929ce843bcea00cd7c14#commitcomment-20224259>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AWYrk3g_hBCAQxjQU9t0-y_HuCoxYwe5ks5rJCpCgaJpZM4LP8yF>
> .
>


Typeof and strict aren't necessary. Also, I don't think uglify replaces "===" with "==".


So it sounds that removing the test was actually a good idea. Thoughts? @KalleZ , would you prefer a no test to a test that gets skipped when external tool (`dig`) is not available?


Es el primer commit


Yeah if you compare my brach you will see that those 2 are the only
changes. Oh the explicit window assignment which you didn't pick anyway.

On Dec 18, 2016 21:41, "Andres Morey" <notifications@github.com> wrote:

> Typeof and strict aren't necessary. Also, I don't think uglify replaces
> "===" with "==".
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <https://github.com/XhmikosR/loadjs/commit/890657f52d8f78c6c090c5e361e5121a6ca9ef20#commitcomment-20227228>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AAVVtQsdrHg3BblPyIyP_DH_01sfwWUEks5rJYxwgaJpZM4LNhEn>
> .
>


Bad copy pasta.


А зачем здесь нужен try-except блок? Ведь функции register и unregister должны всегда быть импортированы. Если это будет не так, то пользователь не догадается, почему плагин не работает, а ошибок в логе нет.


*Headings*


Jennifer S. HERE Oh, i find this intriguing, so yeah! Trying to learn coding!!


Esto solo funciona para sesión en curso, cuando cierras la caja y luego abres una nueva este vuelve a iniciar con el número 1.


Project Structure
Tecnologies:
Backend: Java(Servlet and JSP)
Frontend: Bootstrap
Database: Postgresql


Heyho,

musste hier leider an vielen Stellen etwas ändern um einen Fehler zu beheben:
Eigentlich wollte ich den AdminController implementieren und habe mit der Funktionalität, sich alle Devices des Users anzeigen zu lassen begonnen. Als ich es Testen wollte, habe ich zunächst versucht ein Device anzulegen was in einer Exception mündete. Wir haben vergessen nach der Änderung der Models (hinzufügen von Medium & TypeOfDevice) den DeviceController anzupassen, denn das Device benötigt nun zusätzlich einen Fremdschlüssel MediumId und TypeOfDeviceId.

Im Zuge dessen mussten entsprechende Repositories erstellt und die UnitOfWork-Klasse angepasst werden. Ich habe direkt der Configuration.cs Seedmethoden hinzugefügt um Testmedien und Testtypen zu erstellen. Wird uns sicherlich nützlich sein.

Ein ganz anderes Problem: Da wir Entity-Framework-Navigation Properties benutzen (z.B. eine Referenz auf ein User-Objekt im DeviceModel) lassen sich unsere Objekte nicht so einfach in JSON serialisieren. Nun können wir die Models wieder umbauen, wobei ich nicht weiß ob das EF dann noch mit den Relations klarkommt ODER wie ich es bereits exemplarisch mal implementiert habe, durch DTO-Models. In den DTO-Models sind dann quasi nur die properties drin, die wir im Response auch tatsächlich senden wollen. Da kann man denn für jeden Fall eigene DTOs konzipieren. Ist relativ easy, Meinung hierzu gern gesehen! ;)


Створення сканера краще перенести в main метод, а тут його передати параметром методу. Нагадай, на занятті це обговоримо


Well, it goes on other platform at least. I'm not a DNS guy, i guess it likely to require some non standard tools  on Windows, not talking about the system setup. The function itself delivers, but i couldn't get it working with this particular case with extra sections, that's what i meant to say.

Thanks.


My First Score has line breaks every four measures; insert a staff type change in the middle of any system, change number of lines or line spacing in Inspector.


I think that saving a message is so important, that in case it can't be done automatically (i.e. an error occurs), we definitely shall provide the user with the email, which should have been saved, to allow the user saving it manually (e.g. by downloading the email in an `mbox` or similar format or in worst case presenting the user with a read-only text field with the email in `mbox` or similar raw format to allow the user to select it including headers and save it on his/her own).


What about the Kor Sestri?


They had jump drives!


Old commented-out code. You may have left this here as a backup in case the other line of code failed―in which case, I agree with you keeping it―but looking at the code above I believe it'll work, so it would be best to remove the comment to avoid confusion.


Switch-case is definitely right here 👍


This `case` (and the other one) should be intended some more, I think. Try running auto-format in Eclipse.


We usually name this class `Teleop` :)


"joinign"


Small nitpick: extra line break here, should only be one.


Read me file.


![](https://github.trello.services/images/mini-trello-icon.png) [New Donation](https://trello.com/c/mbbL58eC/15-new-donation)


That is so great ! servo can run smooth movement now


`SetValDrive` sounds a bit too much like a function. Maybe `DriveMode` or `DriveType` would suit better.


+5214777296073 xmppchat


why?


Shouldn't this use the same `get_request_method` as defined in `endpoint.php`?


Le fichier n'as pas été mis encore dans ce 'push'.
Faute humaine.
[Lien vers le commit où j'ai effectivement 'pushé' les changements](https://github.com/zenAndroid/binary_dict/commit/2f00ec6bf66e8a3fabfb8896a4de74a1b0f41d8a)


I alone produced 8 comments (9 including this one) :|


@marvinroger, how do I create a new menu item in readthedocs documentation? I just can edit existing entries. Is there a way I could create new items? Thanks!


As per the assignment in BlackBoard , this readme file should have the answer to following question:

Why is version control/source control important?


To decouple .gitignore from .npmignore, the default npm publish behavior.  The Spritesheet wasn't getting published because it was an ignored folder called dist.


It works w/out SPLASH now though, at least in the sim.  No error, no splash, just quicker startup.  Is there a reason splash is required now?  I've always preferred no-splash on the radio, personally.  That and the welcome message are the first to go on my setups...  :)


Oh, one more thing: these variables can all be private.


ah right ok.

we might want to ignore a couple things like screenshot to not ship unnecessary weight to consumers.


seems like it should be


Thanks!


Checked.


checked.


prueba on line


Even if you use that, it doesnt make any new meaning, pointed is the same according to me


How do you like to proceed? Thoughts on adding it as a public static method to the Uploader class? Then have both call Uploader::getRequestMethod?


"Sestri" was just supposed to be the plural of "Sestor," but I haven't been too consistent in using it that way.


that seems like a good approach - i'm all for avoiding code duplication, especially when it's fairly easy to do so


Can't you just change the kernel so that when it writes to the enable file, it actually does enable/disable/enable?


This mixer was actually for a SK450 Deadcat frame. These changes will degrade performance on that frame.


Do you want me to submit a patch or open an issue? I'm AFK right now so I can open an issue but can't patch it.


is this solve the large js file after merged?


human languages*


[test.R:2:57:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/test.R#L2) *style:* **Commas should always have a space after.**
```r
  packagestoinstall_split <- strsplit(packagestoinstall,", ")[[1]]
                                                        ^
```
[test.R:4:7:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/test.R#L4) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(!packagename %in% rownames(installed.packages())){
      ^
```
[test.R:8:31:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/test.R#L8) *style:* **Commas should always have a space after.**
```r
      print(paste(packagename,"already installed"))
                              ^
```
[test.R:10:40:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/test.R#L10) *style:* **Put spaces around all infix operators.**
```r
    library(packagename, character.only=TRUE)
                                      ~^~
```
[test.R:14:2:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/test.R#L14) *style:* **Commented code should be removed.**
```r
#update.packages(ask = FALSE)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[test.R:20:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/test.R#L20) *style:* **Variable and function names should be all lowercase.**
```r
lagStockData <- function(stockdata) {
^~~~~~~~~~~~
```
[test.R:22:4:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/test.R#L22) *style:* **Commented code should be removed.**
```r
#  companylist <- vector("list", NROW(companies))
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[test.R:25:6:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/test.R#L25) *style:* **Place a space before left parenthesis, except in a function call.**
```r
  for(company in companies)
     ^
```
[test.R:26:3:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/test.R#L26) *style:* **Opening curly braces should never go on their own line and should always be followed by a new line.**
```r
  {
  ^
```
[test.R:28:51:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/test.R#L28) *style:* **Commas should always have a space after.**
```r
    futurereturns <- c(returns[2:length(returns)],NA)
                                                  ^
```
[test.R:29:29:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/test.R#L29) *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)}
                            ^
```
[test.R:29:52:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/test.R#L29) *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)}
                                                   ^
```
[test.R:30:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/test.R#L30) *style:* **Trailing whitespace is superfluous.**
```r

^~~~
```
[test.R:32:16:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/test.R#L32) *style:* **Use <-, not =, for assignment.**
```r
    newdataset = rbind(newdataset, company)
               ^
```
[test.R:34:6:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/test.R#L34) *style:* **Commented code should be removed.**
```r
#    companylist[[i]] <- company
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[test.R:35:7:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/test.R#L35) *style:* **Place a space before left parenthesis, except in a function call.**
```r
    if(i %% 1000 == 0) print(i)
      ^
```
[test.R:38:4:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/test.R#L38) *style:* **Commented code should be removed.**
```r
#  companymatrix <- rbind(companylist)
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[test.R:39:4:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/test.R#L39) *style:* **Commented code should be removed.**
```r
#  return(companymatrix)
   ^~~~~~~~~~~~~~~~~~~~~
```
[test.R:40:4:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/test.R#L40) *style:* **Commented code should be removed.**
```r
#  newdataset <- as.data.frame(as.table(companymatrix))
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[test.R:45:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/test.R#L45) *style:* **Variable and function names should be all lowercase.**
```r
laggedDataSet <- lagStockData(stockdata)
^~~~~~~~~~~~~
```
[test.R:45:18:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/test.R#L45) *style:* **Variable and function names should be all lowercase.**
```r
laggedDataSet <- lagStockData(stockdata)
                 ^~~~~~~~~~~~
```
[test.R:47:9:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/test.R#L47) *style:* **Variable and function names should be all lowercase.**
```r
saveRDS(laggedDataSet, file = "laggeddata.rds")
        ^~~~~~~~~~~~~
```


[data_exploration-12-5.R:9:23:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/data_exploration-12-5.R#L9) *style:* **Put spaces around all infix operators.**
```r
hist(RETMONTH, breaks =60)
                      ^~
```
[data_exploration-12-5.R:11:35:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/data_exploration-12-5.R#L11) *style:* **Put spaces around all infix operators.**
```r
(re_up <- length(RETMONTH[RETMONTH<0]))
                                 ~^~
```
[data_exploration-12-5.R:12:37:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/data_exploration-12-5.R#L12) *style:* **Put spaces around all infix operators.**
```r
(re_down <- length(RETMONTH[RETMONTH>0]))
                                   ~^~
```
[data_exploration-12-5.R:12:42:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/data_exploration-12-5.R#L12) *style:* **Trailing whitespace is superfluous.**
```r
(re_down <- length(RETMONTH[RETMONTH>0]))
                                         ^
```
[data_exploration-12-5.R:14:6:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/data_exploration-12-5.R#L14) *style:* **Put spaces around all infix operators.**
```r
re_up/(re_up+re_down)
    ~^~
```
[data_exploration-12-5.R:14:7:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/data_exploration-12-5.R#L14) *style:* **Place a space before left parenthesis, except in a function call.**
```r
re_up/(re_up+re_down)
      ^
```
[data_exploration-12-5.R:14:13:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/data_exploration-12-5.R#L14) *style:* **Put spaces around all infix operators.**
```r
re_up/(re_up+re_down)
           ~^~
```
[data_exploration-12-5.R:16:28:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/data_exploration-12-5.R#L16) *style:* **Put spaces around all infix operators.**
```r
up_down <- ifelse(RETMONTH >0, 1, 0)
                           ^~
```
[data_exploration-12-5.R:27:26:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/data_exploration-12-5.R#L27) *style:* **Commas should always have a space after.**
```r
uniqueness <- apply(data,2,numb_unique)
                         ^
```
[data_exploration-12-5.R:27:28:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/data_exploration-12-5.R#L27) *style:* **Commas should always have a space after.**
```r
uniqueness <- apply(data,2,numb_unique)
                           ^
```
[data_exploration-12-5.R:29:29:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/data_exploration-12-5.R#L29) *style:* **Put spaces around all infix operators.**
```r
length(uniqueness[uniqueness<50])
                           ~^~
```
[data_exploration-12-5.R:31:18:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/data_exploration-12-5.R#L31) *style:* **Put spaces around all infix operators.**
```r
which(uniqueness <50)
                 ^~
```
[data_exploration-12-5.R:35:32:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/data_exploration-12-5.R#L35) *style:* **Only use double-quotes.**
```r
plot(RETMONTH[n_low:n], type = 'l', col= 'red', lwd = 2)
                               ^~~
```
[data_exploration-12-5.R:35:40:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/data_exploration-12-5.R#L35) *style:* **Put spaces around all infix operators.**
```r
plot(RETMONTH[n_low:n], type = 'l', col= 'red', lwd = 2)
                                      ~^
```
[data_exploration-12-5.R:35:42:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/data_exploration-12-5.R#L35) *style:* **Only use double-quotes.**
```r
plot(RETMONTH[n_low:n], type = 'l', col= 'red', lwd = 2)
                                         ^~~~~
```
[data_exploration-12-5.R:36:9:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/data_exploration-12-5.R#L36) *style:* **Put spaces around all infix operators.**
```r
abline(h= mean(RETMONTH[n_low:n]), col = "blue", lwd = 2)
       ~^
```
[data_exploration-12-5.R:38:28:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/data_exploration-12-5.R#L38) *style:* **Put spaces around all infix operators.**
```r
MSE_i <- (RETMONTH[n_low:n]-mean(RETMONTH[n_low:n]))^2
                          ~^~
```
[data_exploration-12-5.R:38:53:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/data_exploration-12-5.R#L38) *style:* **Put spaces around all infix operators.**
```r
MSE_i <- (RETMONTH[n_low:n]-mean(RETMONTH[n_low:n]))^2
                                                   ~^~
```
[data_exploration-12-5.R:44:11:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/data_exploration-12-5.R#L44) *style:* **Put spaces around all infix operators.**
```r
n_low <- n-1000
         ~^~
```
[data_exploration-12-5.R:44:16:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/data_exploration-12-5.R#L44) *style:* **Trailing whitespace is superfluous.**
```r
n_low <- n-1000
               ^
```
[data_exploration-12-5.R:65:21:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/data_exploration-12-5.R#L65) *style:* **Commas should always have a space after.**
```r
xs <- pca$x[n:n_low,1:9]
                    ^
```
[data_exploration-12-5.R:71:30:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/data_exploration-12-5.R#L71) *style:* **Commas should always have a space after.**
```r
data2 <- data_no_ind[n_low:n,]
                             ^
```
[data_exploration-12-5.R:79:26:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/data_exploration-12-5.R#L79) *style:* **Put spaces around all infix operators.**
```r
fit <- glm(updown~., data= data3, family = "binomial")
                        ~^
```
[data_exploration-12-5.R:83:31:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/data_exploration-12-5.R#L83) *style:* **Put spaces around all infix operators.**
```r
cv_est <- cv.glm(data3, fit, K= 10)$delta[1]
                             ~^
```
[data_exploration-12-5.R:85:2:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/data_exploration-12-5.R#L85) *style:* **Put spaces around all infix operators.**
```r
1-cv_est
~^~
```
[data_exploration-12-5.R:86:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/data_exploration-12-5.R#L86) *style:* **Trailing blank lines are superfluous.**
```r

^
```


[cm_v1.R:1:15:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/cm_v1.R#L1) *style:* **Use two spaces to indent, never tabs.**
```r
require(rpart)
              ^
```
[cm_v1.R:1:43:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/cm_v1.R#L1) *style:* **Use two spaces to indent, never tabs.**
```r
mydata$Industry=as.factor(mydata$Industry)
                                          ^
```
[cm_v1.R:2:7:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
     ~^~~
```
[cm_v1.R:2:22:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
                    ~^~
```
[cm_v1.R:2:60:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
                                                          ~^~
```
[cm_v1.R:2:70:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
                                                                    ~^~
```
[cm_v1.R:5:15:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/cm_v1.R#L5) *style:* **Trailing whitespace is superfluous.**
```r
require(rpart)
              ^
```
[cm_v1.R:6:16:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/cm_v1.R#L6) *style:* **Use <-, not =, for assignment.**
```r
mydata$Industry=as.factor(mydata$Industry)
               ^
```
[cm_v1.R:6:16:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/cm_v1.R#L6) *style:* **Put spaces around all infix operators.**
```r
mydata$Industry=as.factor(mydata$Industry)
              ~^~
```
[cm_v1.R:6:43:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/cm_v1.R#L6) *style:* **Trailing whitespace is superfluous.**
```r
mydata$Industry=as.factor(mydata$Industry)
                                          ^
```
[cm_v1.R:7:28:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/cm_v1.R#L7) *style:* **Use <-, not =, for assignment.**
```r
contrasts(mydata$Industry) = contr.treatment(213)
                           ^
```


Yay I can be useful


[GPUAcceleratedClustering.R:4:18:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/GPUAcceleratedClustering.R#L4) *style:* **Only use double-quotes.**
```r
install.packages('rpud')
                 ^~~~~~
```
[GPUAcceleratedClustering.R:11:17:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/GPUAcceleratedClustering.R#L11) *style:* **Trailing whitespace is superfluous.**
```r
  set.seed(seed)
                ^
```
[GPUAcceleratedClustering.R:12:32:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/GPUAcceleratedClustering.R#L12) *style:* **Put spaces around all infix operators.**
```r
  matrix(rnorm(dim * num), nrow=num)
                              ~^~
```
[GPUAcceleratedClustering.R:21:11:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/GPUAcceleratedClustering.R#L21) *style:* **Variable and function names should be all lowercase.**
```r
  dgpu <- rpuDist(matrix)
          ^~~~~~~
```
[GPUAcceleratedClustering.R:21:11:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/GPUAcceleratedClustering.R#L21) *warning:* **no visible global function definition for ‘rpuDist’**
```r
  dgpu <- rpuDist(matrix)
          ^~~~~~~
```
[GPUAcceleratedClustering.R:22:3:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/GPUAcceleratedClustering.R#L22) *style:* **Variable and function names should be all lowercase.**
```r
  rpuHclust(dgpu)
  ^~~~~~~~~
```
[GPUAcceleratedClustering.R:22:3:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/GPUAcceleratedClustering.R#L22) *warning:* **no visible global function definition for ‘rpuHclust’**
```r
  rpuHclust(dgpu)
  ^~~~~~~~~
```
[GPUAcceleratedClustering.R:35:29:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/GPUAcceleratedClustering.R#L35) *style:* **Put spaces around all infix operators.**
```r
print(system.time(cpuhclust <-run_cpu(m)))
                            ^~~
```
[GPUAcceleratedClustering.R:43:16:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/GPUAcceleratedClustering.R#L43) *style:* **Commas should always have a space after.**
```r
plot(gpuhclust,hang = -1)
               ^
```


[NeuralNet.R:6:18:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/NeuralNet.R#L6) *style:* **Only use double-quotes.**
```r
install.packages('neuralnet')
                 ^~~~~~~~~~~
```
[NeuralNet.R:12:11:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/NeuralNet.R#L12) *style:* **Use <-, not =, for assignment.**
```r
stockdata = read.csv("mf850-finalproject-data.csv")
          ^
```
[NeuralNet.R:13:16:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/NeuralNet.R#L13) *style:* **Use <-, not =, for assignment.**
```r
stockdata$Date = NULL
               ^
```
[NeuralNet.R:14:20:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/NeuralNet.R#L14) *style:* **Use <-, not =, for assignment.**
```r
stockdata$Industry = NULL
                   ^
```
[NeuralNet.R:15:14:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/NeuralNet.R#L15) *style:* **Use <-, not =, for assignment.**
```r
scaled_Stock = scale(stockdata)
             ^
```
[NeuralNet.R:16:3:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/NeuralNet.R#L16) *style:* **Use <-, not =, for assignment.**
```r
y = stockdata$RETMONTH_SPX
  ^
```
[NeuralNet.R:17:3:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/NeuralNet.R#L17) *style:* **Use <-, not =, for assignment.**
```r
x = stockdata
  ^
```
[NeuralNet.R:18:16:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/NeuralNet.R#L18) *style:* **Use <-, not =, for assignment.**
```r
x$RETMONTH_SPX = NULL
               ^
```
[NeuralNet.R:24:37:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/NeuralNet.R#L24) *style:* **Commas should always have a space after.**
```r
trainingdata <- cbind(traininginput,trainingoutput)
                                    ^
```
[NeuralNet.R:25:37:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/NeuralNet.R#L25) *style:* **Commas should always have a space after.**
```r
colnames(trainingdata) <- c("Input","Output")
                                    ^
```
[NeuralNet.R:31:36:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/NeuralNet.R#L31) *style:* **Commas should always have a space after.**
```r
net.sqrt <- neuralnet(Output~Input,trainingdata, hidden=100, threshold=0.01)
                                   ^
```
[NeuralNet.R:31:56:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/NeuralNet.R#L31) *style:* **Put spaces around all infix operators.**
```r
net.sqrt <- neuralnet(Output~Input,trainingdata, hidden=100, threshold=0.01)
                                                      ~^~
```
[NeuralNet.R:31:71:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/NeuralNet.R#L31) *style:* **Put spaces around all infix operators.**
```r
net.sqrt <- neuralnet(Output~Input,trainingdata, hidden=100, threshold=0.01)
                                                                     ~^~
```
[NeuralNet.R:38:27:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/NeuralNet.R#L38) *style:* **Place a space before left parenthesis, except in a function call.**
```r
testdata <- as.data.frame((1:10)^2) #Generate some squared numbers
                          ^
```
[NeuralNet.R:38:33:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/NeuralNet.R#L38) *style:* **Put spaces around all infix operators.**
```r
testdata <- as.data.frame((1:10)^2) #Generate some squared numbers
                               ~^~
```
[NeuralNet.R:48:31:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/NeuralNet.R#L48) *style:* **Commas should always have a space after.**
```r
cleanoutput <- cbind(testdata,sqrt(testdata),
                              ^
```
[NeuralNet.R:50:36:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/NeuralNet.R#L50) *style:* **Commas should always have a space after.**
```r
colnames(cleanoutput) <- c("Input","Expected Output","Neural Net Output")
                                   ^
```
[NeuralNet.R:50:54:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/986bbd9b5fdb8e116c6e4470647a469840885e2d/NeuralNet.R#L50) *style:* **Commas should always have a space after.**
```r
colnames(cleanoutput) <- c("Input","Expected Output","Neural Net Output")
                                                     ^
```


*bows*


Hello,

After druid, we moved toward apache flink and elasticsearch pretty heavily. We found that flink has significantly less operational overhead (it only has 2 types of nodes) than druid.

Here are some great readings:

 - https://www.oreilly.com/ideas/the-world-beyond-batch-streaming-101
 - https://www.oreilly.com/ideas/the-world-beyond-batch-streaming-102


Lost my changes to 3.6.


Very thanks, I'll test right away.


checked.


World boss quests only happen once.


Should this be in 1.3 notes? #3140


Catastrophe!  How can I revert this?


I think was focusing too much on the case where I don't want the password stored in the database, and have rather  it generate one.  In the no store password use case, it seems like an out of the way step since the password is irrelevant.  And then it breaks because of the logic in the getTokenAuth
`public function getTokenAuth($userLogin, $md5Password)
    {
        UsersManager::checkPasswordHash($md5Password, Piwik::translate('UsersManager_ExceptionPasswordMD5HashExpected'));

        $user = $this->model->getUser($userLogin);

        if (!$this->password->verify($md5Password, $user['password'])) {
            return md5($userLogin . microtime(true) . Common::generateUniqId());
        }

        if ($this->password->needsRehash($user['password'])) {
            $this->updateUser($userLogin, $this->password->hash($md5Password));
        }

        return $user['token_auth'];
    }`
By the time the plugin calls that method here
`$tokenAuth = $this->usersManagerAPI->getTokenAuth($userInfo['login'], $this->getTokenAuthSecret());`
in the use case of a uuid() generated password, what have in passwordHash is the version that has been through the additional Password->hash() method as well, and not the original md5() has that was stored.

I think I fully understand now what this was trying to do, I'll get your fork and see what I can do.


Sorry!!!  I tried really hard to merge properly, and I thought I had.  I must have merged in the wrong direction :-(.


Глупый вопрос)


I am guessing that you are in a better position to recover the lost changes.  I had just fixed a couple of formatting errors.  So go ahead and revert my changes, I can re-fix easily if it is still needed.


Pourquoi on l'a delete ? :cry:
Le but c'était de mettre `Config.py` dans le gitignore et de laisser `Config.py.init` comme exemple de config qu'il suffit de copier :smile:
@RobinPetit


[data_exploration-12-5.R:13:69:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/data_exploration-12-5.R#L13) *style:* **Trailing whitespace is superfluous.**
```r
hist(y_train, breaks = 60, col = rgb(1, 0, 0, 0.5), probability = T,
                                                                    ^
```
[data_exploration-12-5.R:16:18:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/data_exploration-12-5.R#L16) *style:* **Commas should always have a space after.**
```r
legend("topleft",c("Train Set", "Test Set"),
                 ^
```
[data_exploration-12-5.R:16:45:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/data_exploration-12-5.R#L16) *style:* **Trailing whitespace is superfluous.**
```r
legend("topleft",c("Train Set", "Test Set"),
                                            ^
```
[data_exploration-12-5.R:73:3:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/data_exploration-12-5.R#L73) *style:* **Commented code should be removed.**
```r
# pairs(xs_df)
  ^~~~~~~~~~~~
```
[data_exploration-12-5.R:92:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/data_exploration-12-5.R#L92) *style:* **Trailing blank lines are superfluous.**
```r

^
```


https://www.youtube.com/watch?v=nsbDotwW5hg
https://www.youtube.com/watch?v=0xzJgKsZn0A
https://www.youtube.com/watch?v=8OuU-O-FWK8
https://www.youtube.com/watch?v=EkRMQzW6wN4
https://www.youtube.com/watch?v=FDBQJkJbapM
https://www.youtube.com/watch?v=BRAkQFBU95E
https://www.youtube.com/watch?v=uARILF2TIXU
https://www.youtube.com/watch?v=msrjb0kwY-M
https://www.youtube.com/watch?v=rlR_fgX1Mdo
https://www.youtube.com/watch?v=pd4Fu2H04Y4

Or you can just search it up: https://www.youtube.com/results?search_query=how+to+make+an+agar.io+private+server


[cm_v1.R:1:15:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/cm_v1.R#L1) *style:* **Use two spaces to indent, never tabs.**
```r
require(rpart)
              ^
```
[cm_v1.R:1:43:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/cm_v1.R#L1) *style:* **Use two spaces to indent, never tabs.**
```r
mydata$Industry=as.factor(mydata$Industry)
                                          ^
```
[cm_v1.R:2:7:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
     ~^~~
```
[cm_v1.R:2:22:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
                    ~^~
```
[cm_v1.R:2:60:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
                                                          ~^~
```
[cm_v1.R:2:70:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
                                                                    ~^~
```
[cm_v1.R:5:15:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/cm_v1.R#L5) *style:* **Trailing whitespace is superfluous.**
```r
require(rpart)
              ^
```
[cm_v1.R:6:16:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/cm_v1.R#L6) *style:* **Use <-, not =, for assignment.**
```r
mydata$Industry=as.factor(mydata$Industry)
               ^
```
[cm_v1.R:6:16:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/cm_v1.R#L6) *style:* **Put spaces around all infix operators.**
```r
mydata$Industry=as.factor(mydata$Industry)
              ~^~
```
[cm_v1.R:6:43:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/cm_v1.R#L6) *style:* **Trailing whitespace is superfluous.**
```r
mydata$Industry=as.factor(mydata$Industry)
                                          ^
```
[cm_v1.R:7:28:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/cm_v1.R#L7) *style:* **Use <-, not =, for assignment.**
```r
contrasts(mydata$Industry) = contr.treatment(213)
                           ^
```


[test_train_split.R:44:19:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/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/54b780a94844f823e482606f9ce4cc33b215da8e/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/54b780a94844f823e482606f9ce4cc33b215da8e/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/54b780a94844f823e482606f9ce4cc33b215da8e/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/54b780a94844f823e482606f9ce4cc33b215da8e/random_forest_cat.R#L29) *style:* **Put spaces around all infix operators.**
```r
  numb_trees_rf <- 300*tree_numb
                     ~^~
```
[random_forest_cat.R:30:22:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/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/54b780a94844f823e482606f9ce4cc33b215da8e/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 = 500)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:31:15:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/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 = 500)
              ^~~~~~~~~~~~
```
[random_forest_cat.R:32:45:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/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/54b780a94844f823e482606f9ce4cc33b215da8e/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/54b780a94844f823e482606f9ce4cc33b215da8e/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/54b780a94844f823e482606f9ce4cc33b215da8e/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/54b780a94844f823e482606f9ce4cc33b215da8e/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/54b780a94844f823e482606f9ce4cc33b215da8e/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/54b780a94844f823e482606f9ce4cc33b215da8e/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/54b780a94844f823e482606f9ce4cc33b215da8e/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/54b780a94844f823e482606f9ce4cc33b215da8e/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/54b780a94844f823e482606f9ce4cc33b215da8e/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:58:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/random_forest_cat.R#L58) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[random_forest_cat.R:59:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/random_forest_cat.R#L59) *style:* **Trailing blank lines are superfluous.**
```r

^
```


Thanks for merging in the patch. One thought came to my mind here.  As the case is now protected by a system property, what happens if it is not set. It will behave as up until now and therefore block the whole communication the next 255 received telegrams up until the counters are in sync again.
Shouldn't it somehow resynchronize in this case. The same question applies if the difference is more than 1 ...


@tkelman Is there a good way of telling which version of Compat is needed? I'm assuming most people will not have trouble updating to the latest version of Compat.


<title>Article One | Lipsa Das</title>

 Home

Demonetisation: Not a tragedy, but the remedy

 Date: December 2, 2016

Narendra Modi is correcting the monumental mismanagement of the economy by the economist Dr. Manmohan Singh In his article (“Making of a mammoth tragedy”, The Hindu, December 9), Dr. Manmohan Singh attacked the demonetisation of high denomination notes (HDNs) by the National Democratic Alliance (NDA) government as the “making of a mammoth tragedy”. In his prose, Dr. Singh speaks less as an economist in which capacity he is respected more than as the former Prime Minister, the role which has actually dented his image. Yet it is best to respond to him on economic issues which he has kept away from, not to his political verses. Undisputed facts, not alluring rhetoric, should decide whether demonetisation is a tragedy or a remedy. Is it a monumental mismanagement of the economy as Dr. Singh charges? Or is it a remedy for the accumulated filth as Prime Minister Narendra Modi claims? To know the answer, the story of the Indian economy from 1999 to 2004 under the NDA and from 2004 to 2014 under the United Progressive Alliance (UPA) needs to be recalled.

Real versus statistic

During the NDA rule (1999-2004), real GDP grew by 27.8 per cent, annually 5.5 percentage points. Annual money supply, that fuels inflation, by 15.3 per cent. Prices by 23 per cent, annually 4.6 per cent. Asset prices rose only moderately in those five years. Stocks rose by 32 per cent; gold by 38 per cent. Taking Chennai as an illustration, land prices by 32 per cent. Jobs rose phenomenally, by almost 60 million. The NDA also turned in a surplus of $20 billion in 2002-04 in the external sector, after decades of unending deficits, save in two years in the late 1970s. Now come to the UPA rule under Dr. Singh, the economist Prime Minister. In the first and best six years of the UPA (2004-05 to 2009-10), before it was hit by scams, real GDP grew by 50.8 per cent, annually 8.4 percentage points — one-and-a-half times NDA’s. The world celebrated Dr. Singh. The UPA was intoxicated by the “high growth” story. But how many jobs did UPA’s high growth produce? Believe it or not, just 27 lakhs against 600 lakhs during NDA’s five years, according to NSSO data. UPA achieved one-and-a-half times NDA’s GDP growth, but just 5 per cent of its job growth. Dr. Singh now bemoans that Mr. Modi’s demonetisation will stifle jobs! Move on. In the six years, prices rose by 6.5 per cent (4.6 per cent under NDA). The external sector deficit was $100 billion (against NDA’s $20 billion surplus). Did high petroleum prices force it? No. Zero-rated customs duty-led capital goods imports which topped petroleum imports was the culprit.

Asset inflation

Why was the UPA’s high growth jobless? The well-kept secret is that huge asset price inflation, not production, passed off as high growth. In the first six years of the UPA, stock and gold prices jumped by three times — annually by 60 per cent. Property prices doubled every two-three years. In Gurgaon, not on the property map in 1999, land prices rose by 10-20 times. Asset inflation in six years was three times the annual nominal GDP growth. The asset inflation not the result but the cause of the UPA’s “high growth”! How? Modern economics deducts the non-asset price inflation from nominal growth to know the real growth. But it sees asset price rise as wealth and prosperity and adds it to GDP. See how this economics worked for the UPA.

Unmonitored Rs.500/1,000 notes

Economics says money, growth, prices and jobs are inter-related. Apply this rule to the NDA and UPA periods. During 2004-10, average money supply grew annually 18 per cent (15.3 per cent under the NDA). But asset prices rose by several multiples of it. The moderate rise in money supply over the NDA’s number does not explain the huge asset inflation. The clue hides in the rising unmonitored HDN cash stock with the public which made black money deals easy. In 1999, the cash with the public was 9.4 per cent of nominal GDP. By 2007-08, instead of falling due to rising bank and digital payments, it jumped to 13 per cent of nominal GDP. Later it began hovering around 12 per cent. More critically, the HDNs with the public more than doubled from 34 per cent in 2004 to 79 per cent in 2010. On November 8, 2016, it was 87 per cent. The average annual rise in HDNs was 51 per cent between 2004 and 2010 and the annual rise was 63 per cent by 2013-14. The Reserve Bank of India noted that two-thirds of the Rs.1,000 notes and one-third of the Rs.500 notes — that is over Rs. 6 lakh crore now — never returned to banks after they were issued. The unmonitored HDNs roaming outside banks began driving up the gold and land prices by black cash and the stock prices through Participatory Notes (PNs) — which are largely hawala transfers out of India — that came back pretending as foreign investment in stocks. The PNs rose from Rs.68,000 crore in 2004 to Rs.3.81 lakh crore in 2007. How did the asset inflation lead to the UPA’s “high growth”? Inflated asset prices to the extent realised by sale got accounted as part of income and included in GDP. Large part of the gains on stock sale got added to GDP with very little tax under Securities Transaction Tax. The spurious wealth effect also led to high-end consumption. The annual private consumption growth averaged 18 per cent till six years to 2009-10 — 80 per cent over the NDA average. The fake wealth effect, powered by HDN cash, scripted the UPA’s “high growth” story. HDNs outside banks took refuge in stocks, gold and land, produced capital gains-led growth and consumption. Had the HDNs circulated through the banking system, it would have multiplied through the fractional reserve model, reduced the inflation and interest, and funded the small-and-medium enterprises starved of organised funding.


Examples?


Comments*


[random_forest_reg.R:8:9:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/random_forest_reg.R#L8) *style:* **Variable and function names should be all lowercase.**
```r
library(randomForest)
        ^~~~~~~~~~~~
```
[random_forest_reg.R:14:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/random_forest_reg.R#L14) *style:* **lines should not be more than 80 characters.**
```r
fit_rf2 <- randomForest(x_train, y_train, xtest = x_test, ytest = y_test, ntree = 500)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_reg.R:14:12:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/random_forest_reg.R#L14) *style:* **Variable and function names should be all lowercase.**
```r
fit_rf2 <- randomForest(x_train, y_train, xtest = x_test, ytest = y_test, ntree = 500)
           ^~~~~~~~~~~~
```
[random_forest_reg.R:17:23:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/random_forest_reg.R#L17) *style:* **Place a space before left parenthesis, except in a function call.**
```r
(MSE_train_rf <- mean((fit_rf2$predicted - y_train) ^ 2))
                      ^
```
[random_forest_reg.R:21:2:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/random_forest_reg.R#L21) *style:* **Place a space before left parenthesis, except in a function call.**
```r
((abs(MSE_train_rf - MSE_train)) / MSE_train) * 100
 ^
```
[random_forest_reg.R:24:17:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/random_forest_reg.R#L24) *style:* **Place a space before left parenthesis, except in a function call.**
```r
(MSE_rf <- mean((fit_rf2$test$predicted - y_test) ^ 2))
                ^
```
[random_forest_reg.R:30:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/random_forest_reg.R#L30) *style:* **Trailing blank lines are superfluous.**
```r

^
```


Use scaled epsilon.


These also seem like large deviations. Why?


- Ne rewrite pas les URLs, c'est pas très utile. On va garder /recipes/new
- Utile un container plutôt qu'une grid, pas besoins de mettre un max-width comme ça
- Regarde si y a pas des classe pour tes table dans semantic-ui pour faire ce que tu veux
- Fait tes traductions directement, sinon c'est chiant de passer des heures à retrouver tout ce qu'il y a à traduire


[lda_cat1.R:18:66:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/lda_cat1.R#L18) *style:* **Trailing whitespace is superfluous.**
```r
test_low <- test_high - test_size # Lower row number for test set
                                                                 ^
```
[lda_cat1.R:19:63:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/lda_cat1.R#L19) *style:* **Trailing whitespace is superfluous.**
```r
train_high <- test_low - 1 # Upper row number for training set
                                                              ^
```
[lda_cat1.R:20:73:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/lda_cat1.R#L20) *style:* **Trailing whitespace is superfluous.**
```r
train_low <- train_high - train_size # Lower row number for training set
                                                                        ^~
```
[lda_cat1.R:33:35:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/lda_cat1.R#L33) *style:* **Commas should always have a space after.**
```r
x_test <- data[test_low:test_high,]
                                  ^
```
[lda_cat1.R:41:41:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/lda_cat1.R#L41) *style:* **Put spaces around all infix operators.**
```r
(high_low_ratio <- sum(y_train_cat == 1)/length(y_train_cat))
                                       ~^~
```
[lda_cat1.R:46:40:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/54b780a94844f823e482606f9ce4cc33b215da8e/lda_cat1.R#L46) *style:* **Put spaces around all infix operators.**
```r
(high_low_ratio <- sum(y_test_cat == 1)/length(y_test_cat))
                                      ~^~
```


There is a typo in "RBAC_PERM_COMMAND_BNET_ACCOUNT_LIST_GAME_ACCOU**TN**S". It should be "RBAC_PERM_COMMAND_BNET_ACCOUNT_LIST_GAME_ACCOU**NT**S"


repositório e organização pessoal de músicas.


不使用 MediatorPlug 看起來更靈活，謝啦！


this looks good


s/normal/Poisson/


The only difference in implementation is that Julia has parametrized the function differently. We do `1.0 / ( 1.0 - t/lambda )` whereas Julia returns `1.0 / 1.0 - t * lambda. I was surprised how big the effect was as well.


looks good


good


Jarane svaka cast 💃


@niteshthali08 Hey Nitesh, what were you trying to do here? Regardless, please never commit to either master or development. NWB build has been broken ever since and although you reverted this it's still broken. Do you have any insight?


Interesting. I made some tests for the pMusic 5 branch, and then the -m1 switch delayed the result. Now it seems somewhat equal:
```
# time for I in $(seq 1 1000); do grep -q -F 'kbits' /root/.pmusic/tmp/ffmpeg_output; done

real	0m1.741s
user	0m0.173s
sys	0m0.237s
# time for I in $(seq 1 1000); do grep -q -m1 -F 'kbits' /root/.pmusic/tmp/ffmpeg_output; done

real	0m1.750s
user	0m0.157s
sys	0m0.280s
```

The -q switch has some effect... Thank you!
```
# time for I in $(seq 1 1000); do grep -F 'kbits' /root/.pmusic/tmp/ffmpeg_output; done
size=   10497kB time=00:02:00.60 bitrate= 713.0kbits/s
[...]
size=   10634kB time=00:02:02.17 bitrate= 713.0kbits/s

real	0m2.064s
user	0m0.217s
sys	0m0.290s
```


please also add what functions they are replaced by
eg.
icaltime_start_doy_of_week (use icaltime_start_doy_week instead)


Hey @sloria, I'm already in AUTHORS at line 50


adding it for test


e4xe5 makes no sense, but you know what I meant. Things like R2xf4.


In 2.1 this was "link", but this was changed by @poohsen in commit: https://github.com/ocpi/ocpi/commit/d4f4c0f28a6150444bb18936a3ee348b39cb3817

I tend to agree with him: https://productforums.google.com/forum/#!msg/webmasters/YbXqwoyooGM/0XTh-gIxS7YJ


Boa tarde.
Eu ja tenho tudo a funcionar, ou pelo menos acho :p

Cumps

Em 18/12/2016 7:22 da tarde, "renatopanda" <notifications@github.com>
escreveu:

Certo, mas quem não tenha que pelo menos corra esse comando para ter a vm
sacada e fazer isso rápido na aula.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/nelsonmpg/IPTomar-MEI-IoT-ES/commit/3c9b5d58d1d3e63439d27b92b550e6493a1143fb#commitcomment-20227152>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AQ9tvARfQl5eM2613Zin5e9JWitRGiPOks5rJYfsgaJpZM4LQKUx>
.


I thought the idea of the -m1 switch was to save time... Now, I guess not


b is a bitboard, made of 0 and 1
You cannot write `if (b>=3)`
Please stop this test.

Maybe you want something like this (at least 3 squares are attacked by bishop)

`if (popcount(b)>3)`
   `score -= BishopPairAttack; `


Apparently you lost `with-wallet` flag.


There's probably a way of using regex or just a single setting for shulker boxes because setting them each individually is tedious.


formatting


FLEXBOX 💃


This should have been in its own repo!  Oops!


Why did choose this particular form?

```
lambda / ( lambda - t )
```
The above has `1` fewer divisions.


Just getting rid of some BS on the master


> ...with parameter `lambda` (mean).


@barisusakli it's not published


poisson


+description "SmileCoin Core Daemon"


Example?


[data_exploration-12-5.R:13:69:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/data_exploration-12-5.R#L13) *style:* **Trailing whitespace is superfluous.**
```r
hist(y_train, breaks = 60, col = rgb(1, 0, 0, 0.5), probability = T,
                                                                    ^
```
[data_exploration-12-5.R:16:18:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/data_exploration-12-5.R#L16) *style:* **Commas should always have a space after.**
```r
legend("topleft",c("Train Set", "Test Set"),
                 ^
```
[data_exploration-12-5.R:16:45:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/data_exploration-12-5.R#L16) *style:* **Trailing whitespace is superfluous.**
```r
legend("topleft",c("Train Set", "Test Set"),
                                            ^
```
[data_exploration-12-5.R:73:3:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/data_exploration-12-5.R#L73) *style:* **Commented code should be removed.**
```r
# pairs(xs_df)
  ^~~~~~~~~~~~
```
[data_exploration-12-5.R:92:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/data_exploration-12-5.R#L92) *style:* **Trailing blank lines are superfluous.**
```r

^
```


Semicolons.


[cm_v1.R:1:15:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/cm_v1.R#L1) *style:* **Use two spaces to indent, never tabs.**
```r
require(rpart)
              ^
```
[cm_v1.R:1:43:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/cm_v1.R#L1) *style:* **Use two spaces to indent, never tabs.**
```r
mydata$Industry=as.factor(mydata$Industry)
                                          ^
```
[cm_v1.R:2:7:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
     ~^~~
```
[cm_v1.R:2:22:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
                    ~^~
```
[cm_v1.R:2:60:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
                                                          ~^~
```
[cm_v1.R:2:70:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
                                                                    ~^~
```
[cm_v1.R:5:15:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/cm_v1.R#L5) *style:* **Trailing whitespace is superfluous.**
```r
require(rpart)
              ^
```
[cm_v1.R:6:16:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/cm_v1.R#L6) *style:* **Use <-, not =, for assignment.**
```r
mydata$Industry=as.factor(mydata$Industry)
               ^
```
[cm_v1.R:6:16:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/cm_v1.R#L6) *style:* **Put spaces around all infix operators.**
```r
mydata$Industry=as.factor(mydata$Industry)
              ~^~
```
[cm_v1.R:6:43:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/cm_v1.R#L6) *style:* **Trailing whitespace is superfluous.**
```r
mydata$Industry=as.factor(mydata$Industry)
                                          ^
```
[cm_v1.R:7:28:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/cm_v1.R#L7) *style:* **Use <-, not =, for assignment.**
```r
contrasts(mydata$Industry) = contr.treatment(213)
                           ^
```


[test_train_split.R:44:19:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/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/cc25dffad66e4e97747d2ea3124ed139cd2c194c/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/cc25dffad66e4e97747d2ea3124ed139cd2c194c/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/cc25dffad66e4e97747d2ea3124ed139cd2c194c/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/cc25dffad66e4e97747d2ea3124ed139cd2c194c/random_forest_cat.R#L29) *style:* **Put spaces around all infix operators.**
```r
  numb_trees_rf <- 300*tree_numb
                     ~^~
```
[random_forest_cat.R:30:22:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/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/cc25dffad66e4e97747d2ea3124ed139cd2c194c/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 = 500)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_cat.R:31:15:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/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 = 500)
              ^~~~~~~~~~~~
```
[random_forest_cat.R:32:45:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/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/cc25dffad66e4e97747d2ea3124ed139cd2c194c/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/cc25dffad66e4e97747d2ea3124ed139cd2c194c/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/cc25dffad66e4e97747d2ea3124ed139cd2c194c/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/cc25dffad66e4e97747d2ea3124ed139cd2c194c/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/cc25dffad66e4e97747d2ea3124ed139cd2c194c/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/cc25dffad66e4e97747d2ea3124ed139cd2c194c/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/cc25dffad66e4e97747d2ea3124ed139cd2c194c/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/cc25dffad66e4e97747d2ea3124ed139cd2c194c/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/cc25dffad66e4e97747d2ea3124ed139cd2c194c/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:58:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/random_forest_cat.R#L58) *style:* **Trailing blank lines are superfluous.**
```r

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

^
```


Yes. With autotools and gcc on openSUSE 42.1.
According failed.txt: linker is missing leptonica for creating unicharset_extractor. But leptonica is [defined for it ](https://github.com/tesseract-ocr/tesseract/blob/master/training/Makefile.am#L377), so `./autogen.sh && ./configure` should set it up...


Using `import` rather than `using` to avoid "magic" functions.


Маппер для согласования сущностей из БД и приложения


This particular hunk is not needed on the current nixpkgs master because we are setting `stdenv.cross` for the vanilla stdenv that does not support cross-compilation, although the comment there says it is a hack.


yet another case where it wiped be really nice if we had a `Node::Nil` variant @cjm00


Delta.


So happy these work in chrome extensions!


[random_forest_reg.R:8:9:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/random_forest_reg.R#L8) *style:* **Variable and function names should be all lowercase.**
```r
library(randomForest)
        ^~~~~~~~~~~~
```
[random_forest_reg.R:14:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/random_forest_reg.R#L14) *style:* **lines should not be more than 80 characters.**
```r
fit_rf2 <- randomForest(x_train, y_train, xtest = x_test, ytest = y_test, ntree = 500)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[random_forest_reg.R:14:12:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/random_forest_reg.R#L14) *style:* **Variable and function names should be all lowercase.**
```r
fit_rf2 <- randomForest(x_train, y_train, xtest = x_test, ytest = y_test, ntree = 500)
           ^~~~~~~~~~~~
```
[random_forest_reg.R:17:23:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/random_forest_reg.R#L17) *style:* **Place a space before left parenthesis, except in a function call.**
```r
(MSE_train_rf <- mean((fit_rf2$predicted - y_train) ^ 2))
                      ^
```
[random_forest_reg.R:21:2:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/random_forest_reg.R#L21) *style:* **Place a space before left parenthesis, except in a function call.**
```r
((abs(MSE_train_rf - MSE_train)) / MSE_train) * 100
 ^
```
[random_forest_reg.R:24:17:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/random_forest_reg.R#L24) *style:* **Place a space before left parenthesis, except in a function call.**
```r
(MSE_rf <- mean((fit_rf2$test$predicted - y_test) ^ 2))
                ^
```
[random_forest_reg.R:30:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/random_forest_reg.R#L30) *style:* **Trailing blank lines are superfluous.**
```r

^
```


Use `import` rather than `using` to avoid "magic" functions.


small typo, u moved flatMod two times


Can we do a quick sanity check against, say, Wolfram for a couple of the most egregious differences?


[lda_cat1.R:18:66:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/lda_cat1.R#L18) *style:* **Trailing whitespace is superfluous.**
```r
test_low <- test_high - test_size # Lower row number for test set
                                                                 ^
```
[lda_cat1.R:19:63:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/lda_cat1.R#L19) *style:* **Trailing whitespace is superfluous.**
```r
train_high <- test_low - 1 # Upper row number for training set
                                                              ^
```
[lda_cat1.R:20:73:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/lda_cat1.R#L20) *style:* **Trailing whitespace is superfluous.**
```r
train_low <- train_high - train_size # Lower row number for training set
                                                                        ^~
```
[lda_cat1.R:33:35:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/lda_cat1.R#L33) *style:* **Commas should always have a space after.**
```r
x_test <- data[test_low:test_high,]
                                  ^
```
[lda_cat1.R:41:41:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/lda_cat1.R#L41) *style:* **Put spaces around all infix operators.**
```r
(high_low_ratio <- sum(y_train_cat == 1)/length(y_train_cat))
                                       ~^~
```
[lda_cat1.R:46:40:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/cc25dffad66e4e97747d2ea3124ed139cd2c194c/lda_cat1.R#L46) *style:* **Put spaces around all infix operators.**
```r
(high_low_ratio <- sum(y_test_cat == 1)/length(y_test_cat))
                                      ~^~
```


I believe picker.js is not meant to be edited. It is an output file generated by a gulp task (pickerJs). That code validation might be better suited in the picker/js/calender-date.js file. And after that you can generate the updated picker.js file with gulp build.


Fixes #1


@ikesyo Please push to pod trunk. 😸


Ok let's keep it commented out for now and I'll fix or remove it before
next release.

On Sun, Dec 18, 2016 at 12:47 PM bgoodri <notifications@github.com> wrote:

> test_loo.R: comment out k_threshold test
>
>
>
> @jgabry We need to figure out a way to make this test behave consistently
> across operating systems or get rid of it
>
>
>
> --
>
> You are receiving this because you were mentioned.
>
> Reply to this email directly or view it on GitHub:
>
>
> https://github.com/stan-dev/rstanarm/commit/48fc4ff00f0feefad690cfed932d508b38546404
>
>


P.S. Также, перед началом работы необходимо СОБРАТЬ РЕШЕНИЕ


You need a new commit description :-)


Should have been marked for #1028


then better remove first one and leave mopDB then agree?


there's a note about this on the Compat readme. if anyone applies upper bounds that's not a safe assumption


Documentatio


I suspected. I try contribute to this library, but I can't. Can you help me? --> #92


[data_exploration-12-5.R:13:69:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/67eafcd0ee172c8bc17473c3faa394be2aa1ddcd/data_exploration-12-5.R#L13) *style:* **Trailing whitespace is superfluous.**
```r
hist(y_train, breaks = 60, col = rgb(1, 0, 0, 0.5), probability = T,
                                                                    ^
```
[data_exploration-12-5.R:16:18:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/67eafcd0ee172c8bc17473c3faa394be2aa1ddcd/data_exploration-12-5.R#L16) *style:* **Commas should always have a space after.**
```r
legend("topleft",c("Train Set", "Test Set"),
                 ^
```
[data_exploration-12-5.R:16:45:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/67eafcd0ee172c8bc17473c3faa394be2aa1ddcd/data_exploration-12-5.R#L16) *style:* **Trailing whitespace is superfluous.**
```r
legend("topleft",c("Train Set", "Test Set"),
                                            ^
```
[data_exploration-12-5.R:73:3:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/67eafcd0ee172c8bc17473c3faa394be2aa1ddcd/data_exploration-12-5.R#L73) *style:* **Commented code should be removed.**
```r
# pairs(xs_df)
  ^~~~~~~~~~~~
```
[data_exploration-12-5.R:92:1:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/67eafcd0ee172c8bc17473c3faa394be2aa1ddcd/data_exploration-12-5.R#L92) *style:* **Trailing blank lines are superfluous.**
```r

^
```


[cm_v1.R:1:15:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/67eafcd0ee172c8bc17473c3faa394be2aa1ddcd/cm_v1.R#L1) *style:* **Use two spaces to indent, never tabs.**
```r
require(rpart)
              ^
```
[cm_v1.R:1:43:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/67eafcd0ee172c8bc17473c3faa394be2aa1ddcd/cm_v1.R#L1) *style:* **Use two spaces to indent, never tabs.**
```r
mydata$Industry=as.factor(mydata$Industry)
                                          ^
```
[cm_v1.R:2:7:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/67eafcd0ee172c8bc17473c3faa394be2aa1ddcd/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
     ~^~~
```
[cm_v1.R:2:22:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/67eafcd0ee172c8bc17473c3faa394be2aa1ddcd/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
                    ~^~
```
[cm_v1.R:2:60:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/67eafcd0ee172c8bc17473c3faa394be2aa1ddcd/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
                                                          ~^~
```
[cm_v1.R:2:70:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/67eafcd0ee172c8bc17473c3faa394be2aa1ddcd/cm_v1.R#L2) *style:* **Put spaces around all infix operators.**
```r
mydata<-read.csv(file="mf850-finalproject-data.csv", header=TRUE, sep=",")
                                                                    ~^~
```
[cm_v1.R:5:15:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/67eafcd0ee172c8bc17473c3faa394be2aa1ddcd/cm_v1.R#L5) *style:* **Trailing whitespace is superfluous.**
```r
require(rpart)
              ^
```
[cm_v1.R:6:16:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/67eafcd0ee172c8bc17473c3faa394be2aa1ddcd/cm_v1.R#L6) *style:* **Use <-, not =, for assignment.**
```r
mydata$Industry=as.factor(mydata$Industry)
               ^
```
[cm_v1.R:6:16:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/67eafcd0ee172c8bc17473c3faa394be2aa1ddcd/cm_v1.R#L6) *style:* **Put spaces around all infix operators.**
```r
mydata$Industry=as.factor(mydata$Industry)
              ~^~
```
[cm_v1.R:6:43:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/67eafcd0ee172c8bc17473c3faa394be2aa1ddcd/cm_v1.R#L6) *style:* **Trailing whitespace is superfluous.**
```r
mydata$Industry=as.factor(mydata$Industry)
                                          ^
```
[cm_v1.R:7:28:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/67eafcd0ee172c8bc17473c3faa394be2aa1ddcd/cm_v1.R#L7) *style:* **Use <-, not =, for assignment.**
```r
contrasts(mydata$Industry) = contr.treatment(213)
                           ^
```


Thank you @dualspiral for the SoundExpansion help!


[test_train_split.R:44:19:](https://github.com/myellen/MF850_Computational_Finance_Final/blob/67eafcd0ee172c8bc17473c3faa394be2aa1ddcd/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)
                  ^
```