Author's posts
Dec 08
Power Shell: Archive/Un Archive
•powershell Compress-Archive –LiteralPath lab8 –DestinationPath lab8.zip •powershell Expand-Archive –LiteralPath lab8.zip –DestinationPath “C:\mypath” -Force
Dec 08
Linux: Regular Expression: grep
Signed Integers egrep ‘^[+-]?[0-9]+$’ data.txt Floating Point Numbers egrep ‘^[+-]?[0-9]+[.]?[0-9]*$’ data.txt Canadian Postal Code egrep -q ‘^[A-Z][0-9][A-Z] *[0-9][A-Z][0-9]$’ info.txt
Dec 08
Linux: Disk Space, Memory Space, Running Processes
df command – Shows the amount of disk space used and available on Linux file systems. du command – Display the amount of disk space used by the specified files and for each subdirectory. free command top or htop command vmstat command dmidecode command /proc/meminfo file Linux commands show all running processes Apart from ps …
Dec 08
Linux sed, cat, cut examples
Dec 08
Linux: sed: search, replace, delete, print
Word Replace sed ‘s/root/amrood/’ sed ‘s/root/amrood/g’ sed ‘s/root/amrood/’ | grep root sed ‘s/root/amrood/g’ | grep root cat /etc/passwd | sed ‘s/root//g’ Delete Lines in the Output cat /etc/passwd | sed ‘1, 5d’ |more cat /etc/passwd | head cat /etc/passwd | sed ‘1d’ | head cat /etc/passwd | grep ‘sh$’ cat /etc/passwd | sed ‘/sh$/d’ Print: …
Dec 04
1. Libraries used for the project: Predict Future Stock Price using Graph Theory, Machine Learning and Deep Learning)
#import libraries import osimport pandas as pdimport math #Import Libraries for Graph, GNN, and GCN import stellargraph as sgfrom stellargraph import StellarGraphfrom stellargraph.layer import DeepGraphCNNfrom stellargraph.mapper import FullBatchNodeGeneratorfrom stellargraph.mapper import PaddedGraphGeneratorfrom stellargraph.layer import GCN #Machine Learnig related library Imports from tensorflow.keras import layers, optimizers, losses, metrics, Modelfrom sklearn import preprocessing, model_selectionfrom IPython.display import display, HTMLimport …