Tutorials

Blog, page 12

Page 12 of 16: every tutorial, newest first.

Tutorials

Newest first · 331 to 360 of 461

  1. Statistics and MathGranger Causality Test in PythonGranger Causality test is a statistical test that is used to determine if a given time series and it's lags is helpful in explaining the value of another series. You can implement this in Python using the statsmodels package.2 min read2 runnable examples
  2. Statistics and MathGranger Causality TestGranger causality test is a statistical test that is used to determine of a particular time series is helpful in forecasting another series2 min read
  3. Machine LearningMain Pitfalls in Machine Learning ProjectsNot all Data Science projects that get kicked-off see the light of day. Let's understand the common reasons why machine learning projects may fail.8 min read
  4. Machine LearningPopulation Stability Index (PSI)Learn what Population Stability Index (PSI) is and how to use it for model monitoring. Understand the formula, interpretation, and Python implementation.2 min read
  5. List ComprehensionUnderstand Python list comprehensions, a concise way to create lists using for loops in a single line. Includes examples, nested comprehensions, and conditionals.3 min read
  6. Machine LearningRegression Coefficient FormulaUnderstand the formula behind linear regression coefficients (alpha and beta). Step-by-step derivation with examples for simple linear regression.3 min read
  7. Machine LearningLinear Regression in Machine Learning – Clearly ExplainedLet's understand what linear regression is all about from a non-technical perspective, before we get into the details, we will first understand from a layman's terms what linear regression is.5 min read
  8. Machine LearningFeature selection using FRUFS and VevestaXFRUFS is model agnostic and is unsupervised, which means that Y does not have a role to play in identifying the features importance.4 min read
  9. Machine LearningDeploy ML model in AWS Ec2 – Complete no-step-missed guideunderstand the steps to deploy your ML model app in Amazon EC2 service. This guide is meant to serve as a walk through with full explanation of how to host an already running ML model (as flask app) in AWS EC2 instance from scratch.7 min readCode to run on your machine
  10. Machine LearningNebullvm – Tutorials and benchmarks on Nebullvm, the open-source deep learning inference acceleratorExplore Nebullvm, an open-source library that optimizes deep learning models to run 5-20x faster. Includes installation, benchmarks, and supported frameworks.2 min read
  11. PythonPython Module – What are modules and packages in python?Any Python files is a Module in Python. A python package is a collection of such modules along with a `__init__.py` file. Let's understand how to work with modules and packages with clear examples.4 min readCode to run on your machine
  12. PythonIterators in Python – What are Iterators and Iterables?Iterable in Python is any object that can be looped over. In order for an iterable to be looped over, an iterable needs to be converted to an iterator using the `__iter__()` method. Once created, it is actually the iterator that gets iterated over. This is also what happens internally when you run a for-loop.2 min read7 runnable examples
  13. PythonGenerators in Python – How to lazily return values only when needed and save memory?Generators in python provide an efficient way of generating numbers or objects as and when needed, without having to store all the values in memory beforehand.3 min read15 runnable examples
  14. PythonDecorators in Python – How to enhance functions without changing the code?Decorators in python allow you to dynamically change the functionality of another function, without altering it's code.2 min read10 runnable examples
  15. PythonObject Oriented Programming (OOPS) in PythonObject oriented programming is an effective way of writing code. Classes represent meaningful entities which defines its own behaviour (via methods) and attributes. Let's understand what a class is and the concepts behind Object Oriented Programming in Python6 min read1 runnable example
  16. Machine LearningConda create environment and everything you need to know to manage conda virtual environmentLearn how to create, manage, and delete conda virtual environments. Covers conda create, activate, deactivate, list, clone, and best practices for Python projects.3 min readCode to run on your machine
  17. PythonHow to use Numpy Random Function in PythonThe numpy.random.rand() function is used to generate random float values from a uniform distribution over [0,1). These values can be extracted as a single value or in arrays of any dimension.3 min read6 runnable examples
  18. Machine LearningSimulated Annealing Algorithm Explained from Scratch (Python)Simulated annealing algorithm is a global search optimization algorithm that is inspired by the annealing technique in metallurgy. Understand the algorithm behind and implement it in Python from scratch.8 min read5 runnable examples
  19. Statistics and MathPartial CorrelationPartial correlation is used to find the correlation between two variables with the effect of other influencing variables being controlled.3 min read3 runnable examples
  20. Statistics and MathChi-Square test – How to test statistical significance for categorical data?Chi-square test is used to determine whether there is a statistically significant difference between the observed frequency and the expected frequency in one or more categories of the contingency table6 min read5 runnable examples
  21. PythonNumpy Reshape – How to reshape arrays and what does -1 mean?The numpy.reshape() is used to reshape a numpy array without changing the data in the array. Read on to know all about reshaping numpy arrays.8 min read22 runnable examples
  22. PythonPandas Sample – Randomly Sample Rows From DataframeUse the pandas.DataFrame.sample() method from pandas library to randomly select rows from a Dataframe4 min read8 runnable examples
  23. PythonPandas Iterate Over RowsHow to iterate over rows in a pandas dataframe using diffferent methods like loc(),iloc(),iterrows(), iteritems etc, with practical examples4 min read8 runnable examples
  24. PythonPandas Head – How to get the first few rows?pandas.head() function is used to access the first n rows of a dataframe or series. It returns a smaller version of the caller object with the first few entries.2 min read8 runnable examples
  25. PythonPandas Dataframe.duplicated()The pandas.DataFrame.duplicated() method is used to find duplicate rows in a DataFrame. It returns a boolean which tells whether a row is duplicate or unique.7 min read14 runnable examples
  26. PythonPandas DescribeThe pandas describe function is used to get a descriptive statistics like mean, median, min-max values of different data columns.4 min read8 runnable examples
  27. PythonCreating pandas series from dictionaryPandas Series is a 1-dimensional array like object which can hold data of any type. You can create a pandas series from a dictionary by passing the dictionary to the command: pandas.Series().2 min read8 runnable examples
  28. PythonRegEx Replace values using PandasYou can manipulate the data using regular expressions (Regex). This article explains different ways of using pandas replace function with regex2 min read5 runnable examples
  29. PythonPandas HistogramThis article guides you on different methods to plot a histogram in a pandas dataframe along with various features available.3 min read2 runnable examples
  30. PythonPandas Select ColumnsYou can select columns in a pandas dataframe using multiple methods including loc, iloc, filter functions, etc. Read on to know more3 min read10 runnable examples