Questions tagged [best-fit]
75 questions
0
votes
1 answer
Issue Validating RandomizedSearchCV Results
I start with a basic Logistic Regression, using all defaults hyper-parameters. And I get a score of 0.8855
Question Next I run a RandomSearch to find the best hyper-parameters; According to the RandomSearch C=10 with Max_iterations=110 gives the…

Ally Ansari
- 47
- 5
0
votes
0 answers
BestFit Algorithm Implementation. Only displaying 1st output
I'm trying to implement the best-fit algorithm in C. The problem is that my implementation just prints the first entry of the chunksizeArray along with all values of the processSizeArray. I can't seem to find where am I going wrong. Please help…

Darryl Fernandes
- 161
- 16
0
votes
1 answer
Sort Array by amount of matches and put best fit first php
I create a tag based search and want to sort the search result according to the relevance. The best fit and the number of tags are relevant. Imagine this is the search query:
$search = ['A', 'B'];
and this the result:
$result = [
[
'id' =>…

Dieter Information
- 1,045
- 2
- 8
- 13
0
votes
1 answer
Calculating value from where it should sit on a graph (line of best fit)
I have the following sample dataset -
| a | f |
|-----------|---------|
| £75.00 | 43,200 |
| £500.00 | 36,700 |
| £450.00 | 53,400 |
| £450.00 | 25,700 |
| £250.00 | 12,900 |
| £1,600.00 | 136,000 |
| £600.00 | …

Ollie
- 1,104
- 7
- 24
- 45
0
votes
1 answer
How to find the best seating arrangement in a theater for 2d array
You run a small theater and each month, you have patrons mail in requests for pre-sale tickets. You need to process these ticket requests and either tell them where their party will sit or explain to the patron why you can't complete their…

naqib83
- 128
- 3
- 14
0
votes
1 answer
best fit algorithm
I was asked to make an algorithm to do the best fit for some music in the minimum number of folders .
The folders has a fixed size ( like the folders can only hold 100 minutes of music ).
for example :
i have music with these lengths ( 50 - 30 -20…

Eslam Muhammad
- 67
- 8
0
votes
1 answer
Elastic/Nearest search based on document properties in MongoDB
We need to accomplish the nearest search based on document properties in MongoDB.
Let's take an example, there is a Car schema in MongoDB, information will be stored as something similar to:
{
Make: "Hyundai",
Model: "Creta",
Title: "Hyundai…

Gaurav Arya
- 211
- 3
- 7
0
votes
1 answer
Error when entering values for a scatter fit
The code: there's a problem with the 5th line it seems, in particular with np.polyfit,
i = text_i.get()
r = text_r.get()
i = i.split(", ")
r = r.split(", ")
fit = np.polyfit(i,r,1)
fit_fn = np.poly1d(fit)
plt.plot(i,r, 'yo', i, fit_fn(i),…

cool dude
- 3
- 1
0
votes
1 answer
Ionic app global AppCtrl, is this right?
This is the third time this week that I reach some one code that user an AppController like this in it app
And in the controller they redirect to the…

Miguel Carvajal
- 1,785
- 19
- 23
0
votes
2 answers
Is it good practice to release from a featurebranch and what are advantages and disadvantages?
What are the consequences for software development if we do release a jee project from a feature branch. We are using GIT. Is it a better practice to merge back to the developer / release branch and then build a release from there?

Rene J.
- 3
- 1
0
votes
0 answers
abline command fitting incorrect
I am trying to use the command abline to fit a line and find an R-squared value for a relationship between columns from two different data sources.
My data manipulation is as follows:
df<-data.frame(prop=as.numeric(as.character(prop$factorised…

johnny utah
- 269
- 3
- 17
0
votes
0 answers
Algorithm to get N best-fit values based on succeed/failed count and succeed/failed dates
I've got a list of proxy servers.
There is a list of ProxyServer items. Item holds proxy Address itself, SucceedCount, FailedCount, LastSucceedDate, LastFailedDate.
If loading operation succeed, SucceedCount is incremented, if failed -…

AsValeO
- 2,859
- 3
- 27
- 64
0
votes
0 answers
Draw best fit line from ImageJ selection
Trying to find a way to convert either:
a multi-point selection or
a segmented line into a best fit line.
Within the Edit>Selection tools I see plenty of options for fit circle, spline, and elipse, but am struggling to find a solution.
I found a…

Jwarzy72
- 1
- 2
0
votes
0 answers
algorithm support 3D texture atlas for arbitrary size of sub-texture
First to be clear all the 'size' mentioned in this problem is power of 2.
I need an algorithm to support create/remove arbitrary size of sub-texture in a large 3D texture atlas, then texture atlas size could be (X, Y, Z) with three different…

Orup
- 559
- 1
- 5
- 14
0
votes
0 answers
Find the origin of FOV given samples in 2D
I have a fun problem that I'm trying to solve. I've been given a data set from a sensor in Cartesian coordinates. This data is very dense so there is no shortage of points.
Now assuming that the origin of this data is at (0,0) I want to find the…

Dammi
- 1,268
- 2
- 13
- 23