Posts

Showing posts from February, 2022

Trading psychology

 by Maria Jane Poncardas, 2/28/2022      Countless of advises have I learned about the importance of psychology in trading. Estimates show that trading is 95% psychology, 5% execution. The factors may include emotions, decision making and among others. Emotions may be the huge contributor especially the fear and greed. It is typical to hear these from traders in YouTube as they themselves experienced such. I also recognized these emotions on my trading journeys, as I already blew quite a number of trading accounts, from penny stocks, local stocks, options trading, and cryptocurrencies. But that did not stop me from learning to trade. I persevere, regardless the number of failures, since this is a lifetime skill, once refined would be worth the effort.     My priority in learning to trade nowadays is the psychology. One of the favorite lines I have learned this week is: " Euphoria is the most dangerous mindset in your trading ". I thought this may be categor...

Setting up for Metagenome functions

Image
by Maria Jane Poncardas written: September 4, 2019 SETTING UP FOR DETERMINING METAGENOME FUNCTIONS Download Oracle virtual box from https://www.virtualbox.org/wiki/Downloads > VirtualBox 6.0.8 platform packages > Windows hosts. Install the Virtual Box (which was downloaded from step 1). You would receive a warning, but do skip ahead. Download the 64-bit QIIME Virtual Box, which is linked from http://qiime.org/home_static/dataFiles.html . Grab the latest QIIME Virtual Box image, in our case, QIIME 1.9.1 64-bit. Its file size is around 4GB. This is downloaded as a compressed file, hence you need to unzip it. You should see a red cube icon for this file and is a VDI file extension (Virtual disk image). Launch the installed Virtual box (from step 2) and create a new machine by pressing the “New” button. A new window will show up and then click ‘Next’ Select the Linux as operating system and Ubuntu (64 bit) as its version, then proceed. Select the amount of RAM (memory), in our case,...

LSTM pseudocode

Image
by Maria Jane Poncardas, July 19, 2019 Forecasting models are generated based on the training of historical data of six (6) <confidential hydroelectric company> plants, which is from January 1, 2011 to May 4, 2014. The author used Python Jupyter notebook to construct training codes for RNN-LSTM forecasting method. To perform such training, missing values need to be treated hence imputation methods were employed such as Kalman filtering, per plant’s maximum rated capacity and the triple exponential smoothing. The following are the steps resembling information of the code for the forecasting: PREPROCESSING : Import necessary packages and modules for the training: pandas - is used to extract power generated out from the consolidated dataset of excel file Tensorflow’s keras is utilized to build the architecture of RNN and is also used to initiate the model sklearn is for transforming features of data by scaling to a given range, in this case, between zero and one. The dataset being r...

Using QGIS to convert .shp file to .geojson (GADM)

Image
by Maria Jane S. Poncardas, May 16, 2019      At the moment of writing, there is no direct method on how to utilize raw file from Database of Global Administrative Areas (GADM) into Python script to create charts in Bokeh package. GADM provides maps and spatial data for all countries and their sub-divisions. The goal here is to extract administrative areas in Mindanao (Southern Philippines) as it will be used for spatial and temporal analyses on terrorism (with which utilizes Bokeh for visualization). Sure, there are plenty of workarounds (such as using Plotly or simply Seaborn), but this article focuses on such as it deals with maps. I hope a few portion of this article may help you. CONVERT .SHP TO .GEOJSON USING QGIS Download shapefile from Database of Global Administrative Areas https://gadm.org/download_country_v3.html Extract downloaded file by right-clicking on the file then from the dropdown menu, select “Extract files to <filename>\ ” In the case of Ph...