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 9 years ago.
Improve this question
I am trying to make a system that assesses students' exams to learn their weaknesses. The exam consists of all subjects on their syllabus.
How do I --
Measure the skill of a student based on his/her score on the exam
Extract from the exam the topics on which the student performed poorly
My question is what algorithm should I use to map the syllabus based on the incorrect answers. Please help me. I'm new to this.
Update:
The input would be their exam with their answer and the output would be their knowledge level and suggestion of which topic should they study more
If you need more information please ask, i really need to know what algorithm should i use.
A simple system consists of tagging each question with one or more topics, then tallying the correct answers, sort by percentage, and output e.g. You got 3/8 (38%) of StackOverflow questions right
I notice you haven't tagged a specific language, so I'll outline the way I would do it in Python.
Could you not have a dict (this is composed of a a key - this could be the subject, and a corresponding value - this could be the exam result).
You could then sort the dict by values, in order from high to low. The best subjects would be at the top and the worst at the bottom.
If you're not using Python, you could use the Map type from C++ instead.
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 6 years ago.
Improve this question
I've got a database of questions in SQlite that I read them from my java code. My questions are questions of Mathematics and I provide them as a text in the database.
My problem is that in several questions I want to include mathematical symbols and operators that I can include with my keyboard and provide it as a text.
Is there a way to include my math symbols inside the database?
Or I have to do it from my code?
I see two options
1. Unicode
In Sqlite choose text type that stores unicode. In unicode, you have plenty of math symbols https://www.wikiwand.com/en/Mathematical_operators_and_symbols_in_Unicode
If unicode does not contain symbol you need, you are out of luck, and you need some other solution
To store text as unicode, see http://www.sqlite.org/datatype3.html and https://stackoverflow.com/a/19397231/1849837
2. Math language
Store equations in some math language that is able to describe equations. In this solution, in order for your equations to look nice you will need something that translate quation description (pure text) into equation image.
If you ask this question on https://mathematica.stackexchange.com/ I am sure you will be advised component and data format that fit your needs.
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 8 years ago.
Improve this question
Please explain me the differences over time and space complexities in java for user defined and predefined functions in java. examples like, linked list, list, stack class. please explain this with valid example.
thank you.
There is nothing special in predefined function over user defined. The only thing is predefined has been written by somebody else for you. It depends on algorithm.
Crap code/implementation runs in a crap way. Doesn't matter if its user created or system/API provided. example at a high level is EJBs vs Spring.
Good written code runs pretty and sleek. Again doesn't matter who the hell wrote it.
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 8 years ago.
Improve this question
How can i let user write only one number in text field? Other should be consume.
I have code for write number.
private boolean number(char zn){
if(zn>='0' && zn<='9')
return true;
return false;
}
You state that this is a Swing question, and so I assume that you are using a JTextField. If so, you have one of two possible solutions here:
Use a JFormattedTextField and use a MaskFormatter, something simple like "#" should probably work perfectly here.
Or get the JTextField's Document and set its DocumentFilter with one that restricts input to as you deserve it. I think that this would be unnecessarily complex for you, and I recommend the first option.
Check the tutorial on how to use JFormattedTextFields which you can find here: JFormattedTextField Tutorial. It will explain all of the above including how to use a mask formatter with JFormattedTextFields.
Also please check Jon Skeet's blog on Writing the Perfect Question. Writing questions on this and other sites is a learned skill which can get better with study and effort. The tips that this blog contains will help you so that you'll know what information to include in your question so that the volunteers helping you don't have to guess at things. They will appreciate it, and you'll likely get better and quicker answers.
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 9 years ago.
Improve this question
I'm looking for an algorithm that is able to find trends in large amounts of data. For instance, if one is given time t and a variable x, (t,x), and given input such as {(1,1), (2,4), (3,9), (4,16)}, it should be able to figure out that the value of x for t=5 is 25. How is this normally implemented? Do most algorithms compute lines of best fit that are linear, quadratic, exponential, etc. and then chooses the line of best fit with the lowest standard deviation? Are there other techniques for finding trends in data? Also, what happens when you increase the number of variables to analyze large vectors?
This is a really complex question, try to start from: http://en.wikipedia.org/wiki/Interpolation
There is no simple answer for a complex problem: http://en.wikipedia.org/wiki/Regression_analysis
A Neural network might be a good candidate. Especially if you want to learn it something nonlinear.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I'm looking to create an application that will be used to help find a suitable University for prospective students to attend (which is based on various criteria about themselves). The application will be used by prospective students to enter details about themselves and a list of Universities will be displayed based on their profile.
I'm on the design stage (class diagram and etc) and i'm currently thinking of some Java classes I need to produce to do this. So far I've only thought of two...
University class (to hold information about Universities)
Interface class (this the GUI display)
Can someone help suggest what other class that I will need to create this application? You can suggest as many as you like.
Take every noun in your application description. Make it into a class. See if you can write a more detailed description of your app. Use those nouns as classes as well.