Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I am getting married in three months and what to attempt create a python code that will pick my seating plan for me as a project to improve my coding further. On the day there will be 10 tables for 100 guests. I want to build a sample to see how effective it is but struggling with ideas on how best to do it as I am fairly new to python coding.
I decided to start with a matrix which determines how much each guest knows each other. The more positive the number the better, the more negative the number the more they dislike each other.
Below is an example: 12 guests try would like to try and get 3 tables. Any suggestions on how to optimize this or a better way to go about it would be greatly appreciated.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 days ago.
Improve this question
I have thousands of questions that each have 1 or many skills (typically fewer than 5). I also have assessments that need to contain certain skills in certain quantities (for example, 1 question with Skill A, 3 with Skill B, 5 with Skill C, etc.). I'm trying to figure out how to build an assessment with the least amount of questions to satisfy the skill requirements.
I tried solving this by getting all of the combinations of skills and the checking questions to see if they matched. This worked for assessments with a small number of skills, but not for assessments with many skills because the combinations scale at n!.
I'm not sure where to start here - can anyone point me to a similar problem or help me get started?
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
Im trying to find a way to compare what students performed consistantly in their InternalAssessment_Performance to their FinalExam_Performance. Essentially i need to find what students have the same answer in both those columns.
How is it possible to compare the values in both commons and have them returned if they are the same?
Any help no matter how small would be great.
If the columns are aligned you can do something like this:
df[df['InternalAssessment_Performance'] == df['FinalExam_Performance']]
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I want to play a bunch of movies on a grid let's say of dimension (n, n), where each movie m_ij is an element of the grid. I would like to decide which movie is positioned where on the grid at each second, i.e. movies can switch positions over time. How would one start to do this? I'd preferably use Python, but am open to use another language if appropriate. Thanks a lot for any help, it's for an art project.
I know you prefer Python but first think I can think of to achieve something like that easily would be through using this JavaScript library called p5js or processing which is same library written in Java. It is very good for doing art with code kinda thing.
Here is a video to give you the idea.
Anyways hope this helps. Cheers.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I need to identify the songs by human hum. what are the best methodology and algorithm that i can use for achieve that. I search for code samples. But I couldn't find. Please help me....
You could begin a python program that uses tensorflow to deep-learn the correspondence between humming and songs - it should fall under the umbrella initiative by Google Brain called Magenta.
Of course for Deep-Learning you would need to have a large corpus of examples to learn from.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I'm wondering if I can extract a sequence of musical notes from a recorded sound using Python.
It is the first time I'm considering using Python for this.
Help would be truly awesome :)
What you would want to do is take your audio samples, convert them into the frequency domain with a Fast Fourier Transform (FFT), find the most powerful frequency in the sample, and convert that frequency into a note.
See FFT for Spectrograms in Python for pointers to libraries to help with the first two items. See http://80.68.92.234/sigproc.html for some sample code to get you started.