0% found this document useful (0 votes)
4 views

10 PP Presentation

The document provides an overview of the SciPy library in Python, detailing its various subpackages and functions. It includes examples demonstrating how to perform tasks such as calculating square roots, factorials, and plotting distributions, as well as matrix operations and statistical analyses. The authors, Priya Solanki and Pranshul Patil, aim to illustrate the practical applications of SciPy in applied and pure statistics.

Uploaded by

vaishnavpawar57
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

10 PP Presentation

The document provides an overview of the SciPy library in Python, detailing its various subpackages and functions. It includes examples demonstrating how to perform tasks such as calculating square roots, factorials, and plotting distributions, as well as matrix operations and statistical analyses. The authors, Priya Solanki and Pranshul Patil, aim to illustrate the practical applications of SciPy in applied and pure statistics.

Uploaded by

vaishnavpawar57
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 28

SARDAR PATEL

UNIVERSITY

Python
Scipy
With examples

By,
Priya Solanki - Applied statistics
Pranshul Patil – Pure statistics
SciPy has a wide range of subpackages, each providing specialized functionality.
Here's a list of some of the key subpackages:
Basic functions

(1) Help
To get information about any function, you can make use of the help() function. There are two ways in
which this function can be used:
• without any parameters
• using parameters
(2) Info
This function returns information about the desired functions, modules, etc.

(3) Source
The source code is returned only for objects written in python This function does not
return useful information in case the methods or objects are written in any other
language such as C. However in case you want to make use of this function, you can
do it as follows:
Example : 1
Find the square root and Power of
number .
Example : 2
Calculate factorial of number using SciPy.
Example : 3
Solve Binomial distribution using
SciPy.
Example : 4
Plotting Binomial distribution using
SciPy.
Example : 5
Plotting Normal distribution using
SciPy.
Example : 6
Finding solution of given equation , 3x + y = 9 and x +
2y = 8
Example :7
SciPy provides a function named tmean to calculate the mean of a
given data.
Example :8
Images processing
example
Output :
Example :9
Finding probability of Normal Distribution using SciPy
Example : 10
Example :11
Finding probability of Poisson Distribution using SciPy​
Example : 12
Finding Probability of Poisson Distribution
Example : 13
Example : 14
Finding Inverse of given matrix
Example : 15
OUTPUT :
Example : 16
Finding Determinant of matrix
Example : 17
Finding Rank of given matrix
Example : 18
Finding Correlation between Height & weight
Example : 19
Fitting of Linear Regression on giving data
Example : 20
By using Regression model. Predicting weight from height
Example : 21
Finding G inverse of given Matrix.
Thank
You

You might also like