Python | Numpy np.logseries() method Last Updated : 13 Oct, 2019 Comments Improve Suggest changes Like Article Like Report With the help of np.logseries() method, we can get the log series in the form of an array by using np.logseries() method. Syntax : np.logseries(p, size) Return : Return an array of log series. Example #1 : In this example we can see that by using np.logseries() method, we are able to get an array of log series by using this method. Python3 1=1 # import numpy import numpy as np # using np.logseries() method gfg = np.random.logseries(0.4, 25) print(gfg) Output : [1 1 1 3 1 2 1 1 2 1 1 1 1 1 1 1 1 1 2 3 1 3 1 1 1] Example #2 : Python3 1=1 # import numpy import numpy as np # using np.logseries() method gfg = np.random.logseries(0.8, 25) print(gfg) Output : [ 1 1 1 2 3 1 6 3 3 3 1 2 1 1 1 5 2 1 18 1 1 1 2 2 1] Comment More infoAdvertise with us Next Article numpy.geomspace() in Python J jitender_1998 Follow Improve Article Tags : Technical Scripter Python Python-numpy Python numpy-arrayManipulation Practice Tags : python Similar Reads Python | Numpy np.lognormal() method With the help of np.lognormal() method, we can get the log normal distribution values using np.lognormal() method. Syntax : np.lognormal(mean, sigma, size) Return : Return the array of log normal distribution. Example #1 : In this example we can see that by using np.lognormal() method, we are able t 1 min read Python | Numpy np.lognormal() method With the help of np.lognormal() method, we can get the log normal distribution values using np.lognormal() method. Syntax : np.lognormal(mean, sigma, size) Return : Return the array of log normal distribution. Example #1 : In this example we can see that by using np.lognormal() method, we are able t 1 min read numpy.geomspace() in Python numpy.geomspace() is used to return numbers spaced evenly on a log scale (a geometric progression). This is similar to numpy.logspace() but with endpoints specified directly. Each output sample is a constant multiple of the previous.  Syntax : numpy.geomspace(start, stop, num=50, endpoint=True, dty 2 min read numpy.geomspace() in Python numpy.geomspace() is used to return numbers spaced evenly on a log scale (a geometric progression). This is similar to numpy.logspace() but with endpoints specified directly. Each output sample is a constant multiple of the previous.  Syntax : numpy.geomspace(start, stop, num=50, endpoint=True, dty 2 min read Python Pytorch logspace() method PyTorch is an open-source machine learning library developed by Facebook. It is used for deep neural network and natural language processing purposes. The function torch.logspace() returns a one-dimensional tensor of steps points logarithmically spaced with base base between {\text{base}}^{\text{sta 2 min read Python Pytorch logspace() method PyTorch is an open-source machine learning library developed by Facebook. It is used for deep neural network and natural language processing purposes. The function torch.logspace() returns a one-dimensional tensor of steps points logarithmically spaced with base base between {\text{base}}^{\text{sta 2 min read Like