Questions tagged [best-fit]
75 questions
0
votes
2 answers
Best code practice iPhone & iPad custom view controllers
This question may looks like silly. But I want to know & check the correct way to write & group my code.
Consider I'm writing an app for both iPhone & iPad. I'm writing by code and not using storyboard.
What is the suggested way to keep the code?
I…

Confused
- 3,846
- 7
- 45
- 72
0
votes
1 answer
How to fit a plane based on a 3D point cloud
I have a 3D point cloud, I want fit a plane based on these points. And I want to know the normal vector of the fitting plane. Which algorithm is the best? Would you please give me detailed steps? I plan to write using R, any function I can use?

Tao
- 1
- 1
- 1
0
votes
2 answers
Data search with partially match
I have a database with column A,B,C and row data, for example:
A B C
test1 2.0123 3.0123
test2 2.1234 3.1234
In my program I would like to search for the bestfit match in the databases,
for example I will key in value…

xvi_16
- 115
- 1
- 1
- 10
0
votes
0 answers
Finding best fit from a list of images
I'm using a library called Image4j to load an ico file, choose one of the images from the list, scale it (if necessary) and put it in a JLabel as an ImageIcon.
The library has a method read(File icoFile) which returns a List , a list…

Dziugas
- 1,500
- 1
- 12
- 28
0
votes
0 answers
Best way to add buttons in jqGrid?
I would like to know the best way to create a column of buttons using jqGrid?
Because I saw that it is possible to do this through the creation of attribute formatter in row of colModel or using gridCOmplete method, but did not see anywhere which…

LeoLana
- 49
- 1
- 7
0
votes
1 answer
Build RPM to deploy
I would like to know what is the best method to deploy applications like Django, Flask etc.. is by building RPM files or by using a tool like fabric which more or less does the same thing.. I'm trying to figure out the best approach to handle…

pabloh007
- 49
- 1
- 3
0
votes
1 answer
2D fitting using matlab?
This may sound like an old question. I thought I know the code, but running it does not give me expected values.
My problem is:
target function: f = C / (x ^ p * y ^ q)
(if you know something about machining, you can tell that this is the Taylor's…

user3607522
- 11
0
votes
1 answer
Find Best-Fit-Line and Correlation Between Two Tables in Microsoft Access?
I have two queries in a Microsoft Access database. They are named Average and Home_Runs. They both share the same first three columns Name, [Year] and Month.
Query: Average
Name Year Month Average
Cabrera 2013 5 .379
Fielder …

gromit1
- 577
- 2
- 14
- 36
-1
votes
1 answer
how to get the best-fit multi parameters in a given founction form by Python
I have a function with multi unknown parameters (m, n, u, v, w, a):
z=m * (x + 273.15) -n + u * y - v * (x + 273.15)^2 - w * y^2 + a * y * (x + 273.15)
and i known some points of (x, y, z), my question is how i can use this to get the best-fit…

Liule
- 21
- 5
-1
votes
1 answer
How to Graph Trend Line as function of Dates?
I'm trying to plot a trend line that depends on dates (in the form Sep-14 to Dec-2018) on the same plot as my actual data values.
I've tried using Seaborn:
#dh1018['BILLDATE'] returns a pandas series of strings containing the dates from Sep-14 to…

jho
- 1
-1
votes
1 answer
Plotting a least squares best fit line using calculated values of y=ax+b
I am writing a code to find the least squares of best fit line of some data in an imported file. The equation of the line is ax+b where I have calculated a and b already. To plot the line I have tried:
LS_fit_ydata = []
for i in x_data:
y_new =…

Jess Gates
- 1
- 1
-2
votes
1 answer
implement phone authentication
I am trying to implement phone authentication in my asp.net core backend Apis, something like whatsapp.
the flow is:
user opens the mobile app
if he isnt current user he can write his phone number
backend should send verification code to his…

Nour Berro
- 550
- 5
- 14
-2
votes
1 answer
What is best practice for design tables for variable information?
I am faced with the problem that you may have experienced it,
There is a entity with formal field and variable field, For example
consider a Person entity that have name and family and state, depend of state
value
if state=1 then person must fill…

Reza ArabQaeni
- 4,848
- 27
- 46
-3
votes
2 answers
Is there a way to solve the bestfit allocation problem in bash?
I have some problems with the application bestfit allocation dynamic partition in Bash and i want to know how do i create the bestfit algorithm that can work with blocks and processes and allocate by entering if a block fits?
I tried to launch it…

codecreater_512Z
- 3
- 3
-3
votes
2 answers
Build up List from another List
I've got a list of Players. Each Player has a Marketvalue. I need to build up a second list which iterates through the player list and builds up a team. The tricky thing is the new team should have at least 15 players and a maximum Marketvalue of…