Skip to main content

All Questions

0 votes
1 answer
198 views

SLOW conversion of strings to floats in Python - ways to speed this up?

Summary of Problem I have a data set supplied to me which has geographic coordinates provided as strings with leading spaces and spaces between the positive/negative signs and the numbers. The data ...
brosenheim's user avatar
2 votes
1 answer
2k views

Problem minimizing a constrained function in Python with scipy.optimize.minimize

I'm trying to minimize a constrained function of several variables adopting the algorithm scipy.optimize.minimize. The function concerns the minimization of 3*N parameters, where Nis an input. More ...
Mateus Forcelini's user avatar
4 votes
4 answers
522 views

Fast way to find all vectors similar to a given one

By "similar vector" I define a vector that differs from a given one at just one position by either -1 or 1. However, if the element of the given one is zero, only difference by 1 is possible. Examples:...
WojciechR's user avatar
  • 333
1 vote
0 answers
294 views

Python Sklearn - Multidimensional Parameter Optimization

I am not too convinced by the parameter optimization classes sklearn provides, in fact GridSearchCV (http://scikit-learn.org/stable/modules/generated/sklearn.model_selection.GridSearchCV.html#sklearn....
Project_Prkt's user avatar
0 votes
1 answer
540 views

TFlearn/ Tensorflow way slower than expected

I am working on an engineering problem about numerical optimization. Usually I used metamodel approaches like Kriging - but now I want to try the new popular stuff. The data here is showing a machine ...
JP K.'s user avatar
  • 1,311
18 votes
4 answers
31k views

how to find global minimum in python optimization with bounds?

I have a Python function with 64 variables, and I tried to optimise it using L-BFGS-B method in the minimise function, however this method have quite a strong dependence on the initial guess, and ...
dilyar's user avatar
  • 261
1 vote
2 answers
1k views

How to improve my performance in filling gaps in time series and data lists with Python

I'm having a time series data sets comprising of 10 Hz data over several years. For one year my data has around 3.1*10^8 rows of data (each row has a time stamp and 8 float values). My data has gaps ...
Betrieb's user avatar
  • 70