• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

Access each cell value in a csv file

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Like I said you can alter to meet your needs. This is just to give a head way; it's meant to be an assignment lol. Carey, Thanks anyway.
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot. Will try it out.
 
Marshal
Posts: 66537
251
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don's use Strings for gender; use an enumerated type.
 
Campbell Ritchie
Marshal
Posts: 66537
251
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome t the Ranch Apart from the gender thing, that class is good. Consider changing years of experience to start date; then you can calculate length of experience dynamically.
 
Anam Abdul Razaq
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I asked my teacher about the input data.
He said that first the user will enter a "Trainee data". The program will learn the rules from it and then user will enter the "Test Data".
 
Marshal
Posts: 7315
497
Mac OS X VI Editor BSD Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Anam Abdul Razaq wrote:I asked my teacher about the input data.
He said that first the user will enter a "Trainee data". The program will learn the rules from it and then user will enter the "Test Data".

I think I lost the track. What problem you are solving now? As far as I remember, last week you managed let user to select either csv or txt file and then you had to read one of those files.

Please remind us what you are solving now and what issues you still facing.
 
Anam Abdul Razaq
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am sorry for the last post. It was out of nowhere.
Yes, i am still managing to deal with csv file from the user.
 
Liutauras Vilda
Marshal
Posts: 7315
497
Mac OS X VI Editor BSD Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1.

Anam Abdul Razaq wrote:I am sorry for the last post. It was out of nowhere.
Yes, i am still managing to deal with csv file from the user.


Are you sure that you posted mistaken content (mentioned in the 2nd quote)? I've seen somewhere similar task some time ago.
In case it turns out that your task has something to do with points mentioned below, that would change the game rules.

2.

Anam Abdul Razaq wrote:I asked my teacher about the input data.
He said that first the user will enter a "Trainee data". The program will learn the rules from it and then user will enter the "Test Data".


Anyway, if you stuck show us once again what you have, so guys could help you
 
Anam Abdul Razaq
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I mentioned before that i have to make an application that would implement "One R ", "Mean Imputation" and "Binning" algorithms.
For that the user first has to enter a trainee data, the code will run on that data and make the rules for One R algorithm. Then the user will enter "Test Data".
Both times the data will be entered in the form of a csv or txt file.
 
Do you want ants? Because that's how you get ants. And a tiny ads:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!