Category: Root

Misc. on Power Shell Script

Misc. on Power Shell Script How to read data from users? Read-Host How to write/print output data/text to the user: Write-Output How to Check if a file exists? Test-Path $filePath How to append data to a file? Add-Content -Path $filePath -Value “x: $x, y: $y” How to create a file? New-Item -Path $filePath -ItemType File …

Continue reading

Linux Script: Read Data from User and Show Some Columns

read -p “Give me some data: ” user_data echo $user_data echo $user_data | cut -d ‘ ‘ -f 1,3

Power Shell and Process

Get-Process Get-Process winword, explorer | Format-List * Get-Process | Where-Object {$_.WorkingSet -gt 20000000} $A = Get-Process $A | Get-Process | Format-Table -View priority Get-Process pwsh -FileVersionInfo (did not work) Get-Process SQL* -Module Stop-Process -Name “notepad” Stop-Process -Id 3952 -Confirm –PassThru calc $p = Get-Process -Name “calc” Stop-Process -InputObject $p Get-Process | Where-Object {$_.HasExited} Get-Process -Name …

Continue reading

What Is the Efficient Market Hypothesis (EMH)

What Is the Efficient Market Hypothesis (EMH)?The efficient market hypothesis (EMH), alternatively known as the efficient market theory, is a hypothesis that states that share prices reflect all available information and consistent alpha generation is impossible. According to the EMH, stocks always trade at their fair value on exchanges, making it impossible for investors to …

Continue reading

Solution that worked for the issue: Your current session has been expired. for Magento2

Solution that worked for the issue: Your current session has been expired. for Magento2 cat shell-scripts/temp.sh# fix misc issues, can be routine sudo php bin/magento maintenance:enable#sudo rm -rf var/cache/#sudo rm -rf generated/sudo chmod +x bin/magentosudo php bin/magento setup:upgrade#sudo php bin/magento setup:static-content:deploy -fsudo php bin/magento setup:di:compilesudo php bin/magento indexer:reindexsudo php bin/magento cache:cleansudo php bin/magento cache:flushsudo php …

Continue reading

AI and Machine Learning Algorithms: Part – 5 (Polynomial Regressions)

Misc. Models in Machine Learning

Factor Analysis:

Normal/Gaussian Distribution: Understanding data for Machine Learning and Data Science Projects.

Normal/Gaussian Distribution: Bell Curve https://mathworld.wolfram.com/NormalDistribution.html Univariate Normal Distribution: BiVariate Normal/Gaussian Distribution https://www.probabilitycourse.com/chapter5/5_3_2_bivariate_normal_dist.php Multi Variate Random variable https://en.wikipedia.org/wiki/Multivariate_normal_distribution

Misc. Plots for Data Science Projects

https://www.researchgate.net/figure/Doubledecker-plot-for-the-OvaryCancer-data-showing-the-conditional-distribution-of-X-ray_fig13_5142958 Titanic Dataset: Double Decker Plot https://www.researchgate.net/figure/Titanic-data-Class-Gender-Age-and-Survival-a-joint-independence-b-main-effects_fig3_2508823 Berkeley Admission Data: https://www.thoughtco.com/uc-berkeley-admissions-787148 Geyser Data: With Contours

What are Association rule and APriori Algorithm. How to calculate the related measures.

Apriori[1] is an algorithm for frequent item set mining and association rule learning over relational databases. It proceeds by identifying the frequent individual items in the database and extending them to larger and larger item sets as long as those item sets appear sufficiently often in the database. The frequent item sets determined by Apriori can be used to determine association rules which …

Continue reading