• Skip to secondary menu
  • Skip to main content
  • Skip to primary sidebar

Python and R Tips

Learn Data Science with Python and R

  • Home
  • Python
  • Pandas
    • Pandas 101
  • tidyverse
    • tidyverse 101
  • R
  • Linux
  • Conferences
  • Python Books
  • About
    • Privacy Policy
You are here: Home / Archives for Machine Learning

Machine Learning

Linear Regression Analysis with statsmodels in Python

January 28, 2021 by cmdlinetips

statsmodels Python

Linear Regression is one of the most useful statistical/machine learning techniques. And we have multiple ways to perform Linear Regression analysis in Python including scikit-learn’s linear regression functions and Python’s statmodels package. statsmodels is a Python module for all things related to statistical analysis and it provides classes and functions for the estimation of many […]

Filed Under: Linear Regression Statsmodels, Python Tagged With: Python

How To Compute Z-scores in Python

December 7, 2020 by cmdlinetips

Standardizing A Variable in Python

Computing standardized values of one or more columns is an important step for many machine learning analysis. For example, if we are using dimentionality reduction techniques like Principal Component Analysis (PCA), we will typically standardize all the variables. To standardize a variable we subtract each value of the variable by mean of the variable and […]

Filed Under: Machine Learning, Pandas 101, Python, Standardized Score, Z-score Python Tagged With: Pandas 101, Python

SVD: One Matrix Decomposition to Rule Them All

July 26, 2020 by cmdlinetips

One of the nice things about twitter, when you follow awesome people, is that you will come across tweets that will just blow your mind. Last week is just one such week with some fantastic and funniest tweetorials. One of the tweetorials was from Prof. Daniela Witten for @WomenInStat. And it starts like this and […]

Filed Under: R, SVD in R Tagged With: R, SVD

Principal Component Analysis with Penguins Data in Python

June 25, 2020 by cmdlinetips

PCA Plot with Penguin Scaled Data

Who does not love PCA with Penguins in Python. Sorry, could not resist saying this :). If you are tired of seeing Iris data for introducing all things Machine Learning, Data Science algorithms and Data Visualization examples, you are in for much needed treat in the form of Penguins. Thanks to Alison Horst, who has […]

Filed Under: PCA example in Python, PCA in Python, Principal Component Analysis, Python, Scikit-learn Tagged With: PCA, Penguins Data, Python

PCA with tidymodels in R

June 17, 2020 by cmdlinetips

Introduction to tidymodels with PCA

tidymodels, is one of the new suite of packages for doing machine learning analysis in R with tidy principles from RStudio. Tidymodels, the metapackage, has a core set of packages for statistical/machine learning models like infer, parsnip, recipes, rsample, and dials in addition to the core tidyverse packages dplyr, ggplot2, purr, and broom. In addition […]

Filed Under: PCA tidymodels, tidymodels Tagged With: PCA tidymodels, R, tidymodels

  • Page 1
  • Page 2
  • Page 3
  • Go to Next Page »

Primary Sidebar

Subscribe to Python and R Tips and Learn Data Science

Learn Pandas in Python and Tidyverse in R

Tags

Altair Basic NumPy Book Review Data Science Data Science Books Data Science Resources Data Science Roundup Data Visualization Dimensionality Reduction Dropbox Dropbox Free Space Dropbox Tips Emacs Emacs Tips ggplot2 Linux Commands Linux Tips Mac Os X Tips Maximum Likelihood Estimation in R MLE in R NumPy Pandas Pandas 101 Pandas Dataframe Pandas Data Frame pandas groupby() Pandas select columns Pandas select_dtypes Python Python 3 Python Boxplot Python Tips R rstats R Tips Seaborn Seaborn Boxplot Seaborn Catplot Shell Scripting Sparse Matrix in Python tidy evaluation tidyverse tidyverse 101 Vim Vim Tips

RSS RSS

  • How to convert row names to a column in Pandas
  • How to resize an image with PyTorch
  • Fashion-MNIST data from PyTorch
  • Pandas case_when() with multiple examples
  • An Introduction to Statistical Learning: with Applications in Python Is Here
  • 10 Tips to customize ggplot2 title text
  • 8 Plot types with Matplotlib in Python
  • PCA on S&P 500 Stock Return Data
  • Linear Regression with Matrix Decomposition Methods
  • Numpy’s random choice() function

Copyright © 2025 · Lifestyle Pro on Genesis Framework · WordPress · Log in

Go to mobile version