Questions tagged [analysis]

Analysis is the process of searching code, documents, or data to answer a particular question or predict a particular result.

References

2144 questions
8
votes
2 answers

CameraX Image analysis's imageproxy size and PreviewView size are not the same

I'm trying to use Firebase's MLKit for face detection with Camerax. I'm having a hard time to get Image analysis's imageproxy size to match PreviewView's size. For both Image analysis and PreviewView, I've set setTargetResolution() to PreviewView…
Rocky666
  • 91
  • 1
  • 5
8
votes
2 answers

No C# Code Analysis in Visual Studio Code

I'm currently using VS Code for C# development because I find it to be much more lightweight than Visual Studio itself, but there doesn't seem to be any code analysis tools available. This is a problem as I am not getting any warnings about unused…
Floating Sunfish
  • 4,920
  • 5
  • 29
  • 48
8
votes
4 answers

Sedgewick Algorithms 4, why BinarySearchST put FrequencyCounters test costs lower than SequentialSearchST?

I'm reading Algorithms 4th edition. I have some questions when reading chapter 3 Searching. From the cost summary the insert cost of BinarySearchST(2N in worst case) is a little worse than SequentialSearchST(N in worst case). But the…
Chen Li
  • 320
  • 1
  • 10
8
votes
4 answers

Java image analysis - counting vertical lines

I need a little help on an image analysis algorithm in Java. I basically have images like this: So, as you might guessed, I need to count the lines. What approach do you think would be best? Thanks, Smaug
Smaug
  • 307
  • 5
  • 13
8
votes
5 answers

Among MATLAB and Python, which one is good for statistical analysis?

Which one among the two languages is good for statistical analysis? What are the pros and cons, other than accessibility, for each?
user238469
8
votes
3 answers

Is there a way to get a list of all the CSS applied to a HTML fragment or page?

I know it's easy to get the CSS that is applied to a single node in HTML, using tools like the Firebug extension for Firefox, etc. But is there a way to see all the CSS that is in effect on an entire page, or a larger fragment of HTML? Specifically,…
Niels Heidenreich
  • 1,257
  • 1
  • 9
  • 20
8
votes
3 answers

Merge multiple pandas columns into new column

I have a dataframe where some of the columns indicate whether or not a set of survey questions was seen. For example: Q1_Seen Q2_Seen Q3_Seen Q4_Seen Q1a nan nan nan nan Q2a nan nan nan …
redct
  • 884
  • 1
  • 6
  • 8
8
votes
1 answer

Roslyn : How to get the Namespace of a DeclarationSyntax with Roslyn C#

I have a c# solution that contains some class files. With Roslyn I am able to parse a solution to obtain a list of projects within the solution. From there, I can get the documents in each project. Then, I can get a list of every…
Pangamma
  • 731
  • 12
  • 28
8
votes
3 answers

SonarQube Analysis takes too much time

Even though it seems to point to the enormous number of lines of code (500,000), engineering is unconvinced why it takes 90 mins on a beefy Solaris box with 16GB RAM and dual-CPU to finish one Sonar analysis. Please tell me if 90 mins is too much…
Sreeram K
  • 83
  • 1
  • 1
  • 6
8
votes
4 answers

Is there a Elasticsearch plugin similar to the Solr analysis tool?

Solr has the built-in "Analysis Screen", which helps to debug the interplay between tokenizers and filters for specific field types: Is there a plugin for ElasticSearch that does something similar? Specifically, I want to see the input/ output of…
Martin Loetzsch
  • 587
  • 5
  • 12
8
votes
8 answers

Pre-sorting analysis algorithm?

It's a well-known isssue with Quicksort that when the data set is in or almost in sort order, performance degrades horribly. In this case, Insertion Sort, which is normally very slow, is easily the best choice. The question is knowing when to use…
Mason Wheeler
  • 82,511
  • 50
  • 270
  • 477
8
votes
4 answers

Check string indentation?

I'm building an analyzer for a series of strings. I need to check how much each line is indented (either by tabs or by spaces). Each line is just a string in a text editor. How do I check by how much a string is indented? Or rather, maybe I could…
Dhruv Govil
  • 349
  • 1
  • 3
  • 13
8
votes
5 answers

Comparison of Python and Perl solutions to Wide Finder challenge

I'd be very grateful if you could compare the winning O’Rourke's Perl solution to Lundh's Python solution, as I don't know Perl good enough to understand what's going on there. More specifically I'd like to know what gave Perl version 3x advantage:…
Constantin
  • 27,478
  • 10
  • 60
  • 79
8
votes
2 answers

Analysis and Design for Functional Programming

How do you deal with analysis and design phases when you plan to develop a system using a functional programming language like Haskell? My background is in imperative/object-oriented programming languages, and therefore, I am used to use case…
7
votes
1 answer