DATA MUNGING
DATA CLEANING PYTHON
MACHINE LEARNING RECIPES
PANDAS CHEATSHEET
ALL TAGS
# How to Calculate Determinant of a Matrix or ndArray?

# How to Calculate Determinant of a Matrix or ndArray?

This recipe helps you Calculate Determinant of a Matrix or ndArray

Do you find calculating determinant of a matrix is easy? Have to tried to find it using python.

So this is the recipe on how we can Calculate Determinant of a Matrix or ndArray.

```
import numpy as np
```

We have only imported numpy which is needed.

We have created two matrix of which we will find determinant.
```
matrixA = np.array([[1, 2, 3, 23],
[4, 5, 6, 25],
[7, 8, 9, 28],
[10, 11, 12, 41]])
matrixB = np.array([[2, 3, 4],
[5, 6, 9],
[7, 8, 1]])
```

We will finding determinant by using the function np.linalg.det to find the determinant of both the matrix
```
print(np.linalg.det(matrixA))
print(np.linalg.det(matrixB))
```

So the output comes as

-4.862776847858206e-15 33.99999999999999

Data Science Project in R -Build a machine learning algorithm to predict the future sale prices of homes.

In this machine learning and IoT project, we are going to test out the experimental data using various predictive models and train the models and break the energy usage.

In this data science project, we will predict the credit card fraud in the transactional dataset using some of the predictive models.

In this project, we are going to work on Sequence to Sequence Prediction using IMDB Movie Review Dataset using Keras in Python.

In this data science project in R, we are going to talk about subjective segmentation which is a clustering technique to find out product bundles in sales data.

Machine Learning Project in R-Detect fraudulent click traffic for mobile app ads using R data science programming language.

The goal of this data science project is to build a predictive model and find out the sales of each product at a given Big Mart store.

In this project, we are going to talk about H2O and functionality in terms of building Machine Learning models.

In this machine learning project, we will use binary leaf images and extracted features, including shape, margin, and texture to accurately identify plant species using different benchmark classification techniques.

In this machine learning resume parser example we use the popular Spacy NLP python library for OCR and text classification.