Probably Iris

  • Data Wrangling
  • Basic Python
  • Machine Learning
  • About
  • Contact Us


  • Tensorflow: training loop from scratch

    The deep learning model has model weights which start from a random state wen the model object is created. As we expose the model with the training data, the weights…

    Read more ...: Tensorflow: training loop from scratch
  • How to plot metabolite concentrations in R?

    The data source Let’s say we have the final concentrations of following metabolites from three strains of bacteria: Each strain was grown in triplicates, so we have three values of…

    Read more ...: How to plot metabolite concentrations in R?
  • How to save python objects using joblib

    Often times you would want to save python objects for later use. For example, a dataset you constructed which could be used for several projects, or a transformer object with…

    Read more ...: How to save python objects using joblib
  • Histograms are the best way to visualize distribution of data points

    Data distribution plots help visualize how quantitative data points are spread over the range of their values. Distribution of quantitative data can be shown in various ways such as box-plots,…

    Read more ...: Histograms are the best way to visualize distribution of data points
  • Change elements of an array based on a condition using np.where

    Let’s say we want to convert multiple categorical variables into binary variables by selecting one category as “0” and the rest as “1”. Or we want to change the values…

    Read more ...: Change elements of an array based on a condition using np.where
  • Convert class labels to categories using keras

    Class labels can be converted to OneHot encoded array using keras.utils.to_categorical.The resultant array has number of rows equal to the number of samples, and number of columns equal to the number…

    Read more ...: Convert class labels to categories using keras
  • Join two or more arrays using `numpy.concatenate`

    np.concatenate is used for concatenating numpy arrays.We will discuss here some of the functionalities of this method of numpy arrays.It takes a list of two or more arrays as input argument,…

    Read more ...: Join two or more arrays using `numpy.concatenate`
  • Python List

    Lists in python are collection of objects. They can include any python objects such as numerals, strings, other lists and dictionaries. The list is defined by square bracket as follows:…

    Read more ...: Python List
  • Loops in Python: For Loop

    Loops are used when one wants to repeat a set of statements several times (iterations). For example, when you want to apply a set of operations on elements of a…

    Read more ...: Loops in Python: For Loop
  • While loop

    Many a times we will encounter a situation where we have to iterate over a group of statements until a specific condition is met. The number iterations that the loop…

    Read more ...: While loop
  • Python functions: args and kwargs

    Earlier we saw how to write functions in python and how to call them in our program. For those functions, the number of inputs or arguments were defined. They took…

    Read more ...: Python functions: args and kwargs
  • Functions in python

    Functions are sets of statements that perform a specific task. They can be called by their names, more than once in a program. Inputs can be given to functions based…

    Read more ...: Functions in python
1 2
Next Page

Probably Iris

  • About
  • Contact Us
  • Privacy Policy
  • Terms and Conditions
  • Disclaimer

Twenty Twenty-Five

Designed with WordPress

Notifications