Text Classification By Naive Bayes Statistical Theorm

Nov 1, 2010

I'm having problem in my code it doesn't work properly.. please have a look

Imports System.Text.RegularExpressions

Dim mytext1() As String

Dim mytext2() As String

[CODE]...

I want to decide about the sample text that from which of two Richtextboxes it has been take, so i tried my level best to do it but here are some errors. can any one remove them?

View 20 Replies


ADVERTISEMENT

Text Classification / Categorization / Identification Do The Same Thing

Oct 14, 2010

My question is whether Text Classification, Categorization and identification is one and same thing or there is difference between them, if it is not the same so what is the difference. and is it possible to make a such a program in Visual Basic? that identify text i think it is type of machine learning? am i right?

View 16 Replies

Conversion Of R-Statistical To VB?

Feb 14, 2011

I have developed a script in R-Statitical that traces the travel paths of a given person on a network, however, the client is not comfortable using R for this task. They are wanting to use VB or C#. Does anyone know if a conversion/translation tool that can quickly and easily convert from R-Statistical to VB or C#?

View 1 Replies

How To Get Statistical Data From DataTable

May 18, 2011

Using VB .NET, I am wondering about the best way to get some statistical data out of a Datatable. I would rather not hit the database with another query, but just look through the datatable I already have. So, Linq must be the answer? I have a datatable (dtable) containing two columns: tech_id and colour. From this, I would like a new datatable containing three columns: tech_id, colour, and count. Of course, I'm trying to find out how many times each "tech_id" used each distinct "colour".

Something like:
tech_id colour count
------------------------------
JM brown 18
JM purple 10
JM green 3
PB brown 51
PB grey 8
TD brown 4
TD pink 67
TD grey 41

My best attempt with Linq is not at all correct, but is pasted below to show how far I've got:
Dim ColourCounts = From p In PGWorkingDataTable.AsEnumerable() _
Group p By p.Field(Of String)("colour") Into Count() _
Select tech_id, colour, ColourCount = Count
Dim colourStatsTable As DataTable = ColourCounts.CopyToDataTable()

View 1 Replies

Classification Estimator With A Function ?

Oct 5, 2011

Average Mark Classification

I want to write a program to estimate the degree of classification from an average mark. For example, an average mark of 55% shd give 2.2 classification.

I need to add a Function that shd take a single parameter value for the average mark, and return the calssification average.

Here are my design code

CODE:

View 6 Replies

Classification Estimator With A Function?

Oct 5, 2011

Average Mark Classification

>=70 1st
60 -69 2.1
50-59 2.2
40-59 3rd
<39 Unclassified

I want to write a program to estimate the degree of classification from an average mark. For example, an average mark of 55% shd give 2.2 classification.I need to add a Function that shd take a single parameter value for the average mark, and return the calssification average.

View 5 Replies

Datagridview With Dynamic Range And Calculating Statistical Functions?

Dec 20, 2010

I have a timer, a textbox and a datagridview with 10 columns. I am running a timmer code (you can see below) and generating randomizes numbers to textbox. Then I am putting distributing this numbers to datagridview. i want to define a dynamic range. This range is important when I am calculating the some statistical function. This range will be used as a calculation period. I want to calculate MAX, MIN, MEDIAN, MODE of the data, written in the first column, in second, third fourth and fifth columns My datagridview is like this and I am trying to calculate MovingAverage, MAX, MIN,MODE and MEDIAN for last 5 data dynamicly!

ID Time
Data1 Mov
Max Min
Mode Median

[code]....

View 4 Replies

Jquery - Libraries - Classification Of Items That Are Listed Inside A Table

Mar 12, 2012

In .NET development and don't really know what to use to do some specific actions. I'm also a newbie in AJAX/JavaScript development. I'm using the mvc3.

I'll have to implement a few things :
-rating systems with 5 stars
-classification of items that are listed inside a table. (e.g. : I want all the people that are older than 20)
-searching inside the whole database (e.g. : I want everything that contains the word "tennis", so, it should give me a table with all the people tha play tennis, than a table with the clubs were people play tennis,...).
-a kind of intellisense (e.g. I add a new person inside the database, and for the field "club", I just want to write the first lettes of the club, and then, I would just have to click on the club to fullfil the field).

I've found plenty of websites that give me a library with some of the things that I need. But, I don't know which one I should choose.

I do need something that is as simple as possible, with examples for razor (I'm using VB.net, but it doesn't matter if it's in c#). If possible, having nothing to install could be great (I know that the Jquery scripts that are installed by default are already great).

View 1 Replies

Sql :: Find A Specific Line Of Text In A Text Document And Insert The Next 37 Lines Of Text Into A Database?

Feb 5, 2011

I have an SQL database, and 50 text files, and Visual Basic 2010 Premimum,I need to find a specific line of text in the text files and then take the next 37 lines of text and save them in my database. I need advice as to point me in the right direction

View 2 Replies

VS 2008 : LblTotal.Text = Val(Form2.label.Text) + Val(Form3.label2.Text) Not Working?

Feb 25, 2010

I am creating a Pizza Order program as part of my coursework college. why something isn't working.

Quote:

lblTotal.Text = Val(Form2.lblPizzaTotal.Text) + Val(Form3.lblDrinksTotal.Text)

The code above is what I am using to add the Value of Label 1 (Pizza Total) and Label 2 (Drinks Total), however it seems that in the final total it doesn't appear to add the value of Label 2.

View 8 Replies

Format Text - Rich Text Box - Where The User Will Be Entering Information - The Text Is Black

Aug 11, 2011

On the main form of my application, I have a Rich Text Box which is where the user will be entering information. The text is black. then, i have a button which calls the dialogue "Notes" A dialogue appears, with a rich text box. the user should then be able to enter text into the box, click "OK", and the text entered into the Notes dialogue be inserted to the rich text box on the main form -- with the font colour "Red". The rest of the text in the main rich text box on the main form should remain black.

View 2 Replies

How To Make The Text In A Text Box Into A Text File That Auto-creates In A Specific

Jan 24, 2011

make the text in a text box into a text file that auto-creates in a specific?

View 4 Replies

IDE :: Make Search Bar Take The Text In The Text Bar And Add It Into A Pre Defined Weblink And Replace A Bit Of Text?

May 25, 2010

Im trying to make a search bar that has a Go button now heres where it gets diffcuilt How do i make this search bar take the text in the the text bar and add it into a pre defined weblink and replace a bit of text with that word in the search bar so the user types into the text bar for example they type in NAME HERE so when you click go it taxt for instance [URL] now how could i make it so when you hit the GO button that it takes the text in the textbox and and replaced REPLACE TEXT in the pre defined address and put NAME HERE into the address and then load it up with a web browser and also how would i make it open up with the web browser that the person is useing (since lods of people use diffrent web browsers)

View 3 Replies

Make The Text In A Text Box Into A Text File That Auto-creates In A Specific?

Aug 15, 2011

make the text in a text box into a text file that auto-creates in a specific?

View 4 Replies

VbCrLf Keeps Replacing Text In A Text Box When It's Meant To Be Displaying The Next Block Of Text Below It?

Mar 14, 2011

I'm building a program in which it asks for your name and age and determines a ticket price based upon these details. I want it to show the person's name, then their age, (jump down a line) then their ticket price, and then it jumps down a line to show the next person's name, age and ticket price. Issue is, when it's meant to jump down to show the next person, it just completely deletes the last person's details.I'm using this line of code:

TxtFareShow.Text = (Name & Age & vbCrLf & Price) & vbCrLf

How do I fix this?

View 1 Replies

VS 2010 - Rich Text Box - Getting User Text In The Text Changed Event

Jan 20, 2011

I'm Making a Simple syntax highlighter and I'm Doing the highlighting in the text Changed event of a RTB and for obvious reasons I can't re highlight the whole document each time someone presses a key so i highlight one line each time the text changes. But this creates a Problem. If someone pastes code into the RichTextBox It only highlights the last Line. So is there a way to get if the user typed the text in with his keyboard or pasted it from the clipboard in the text Changed event?

View 6 Replies

Add Label.text, Datetimepicker.text And ComboBox1.Text Into Listview1?

Nov 13, 2010

I am having trouble adding label.text, datetimepicker.text and ComboBox1.Text into listview1 box.I have set up multiple columns, one for the label, one for the date and one for the combo box text. All i have done is:

ListView1.Items.Add(DateTimePicker1.Text)ListView1.Items.Add(TextBox1.Text)ListView1.Items.Add(ComboBox1.Text)

How do i add these in the different columns so that they are all in one single row.

View 4 Replies

Insert Text To Rich Text Field At Text Cursor?

Mar 28, 2010

I have a question, how would i have a button, then when you click it, it puts the text at the text cursor in the RTF?

View 5 Replies

Comparing Text Box Text With Listbox Items Text?

Dec 7, 2010

how to Compare text box text with listbox items text in vb.NE

View 3 Replies

Listbox.Text Into Combobox.text / Textbox.text

Dec 22, 2011

I am making a webbrowser and it has a history listbox(so it is always changing). I would like it so that if you double click on a listbox item or click on button5, axwebbrowser1 will goto the selected item, then the history form will close. [code]

View 16 Replies

When Click Button It Sends Text From First Text Box To Second Text Box

Oct 9, 2010

I just finished reading Hour 3 in Sams Teach Yourself Visual Basic 2010 and I got a little stuck. url....Is the section I'm on, on exercise 1. I have the form set up with 1 button and 2 textboxes, but I'm not sure how I could make it so when you click the button it sends the text from the first text box to the second text box.

View 1 Replies

VS 2008 - Read Text File - When Click Button Add Text From Combobox Is Added To Text File

Jan 4, 2010

I have one combobox, two buttons (Add and View) and listbox. When I click button Add text from combobox is added to text file. This is code for Add button:

[Code]...

View 7 Replies

Text Box Control - Allow The User Of My Application, To Enter The Text "unemployed" Into A Text Box

Jan 27, 2010

A piece of code that will allow the user of my application, to enter the text "unemployed" into a text box and also allow them to enter numbers for how many years the person had been employed for.

View 2 Replies

Add A Condition When Textbox1.text Changes , The Added Text To Textbox1.text Is Showed In Another Textbox?

Feb 23, 2012

I want to add a condition when textbox1.text changes , the added text to textbox1.text is showed in another textbox.

View 6 Replies

FCL For A Method That Will Allow To Erase A Line Of Text From A Text File And Replace It With Another Line Of Text

Dec 19, 2008

I've been looking through the FCL for a method that will allow me to erase a line of text from a text file and replace it with another line of text. Neither the StreamReader nor StreamWriter have a method for replacing or removing Text from a text file, as does the string object. Are there any available methods for erasing just certain lines of text from a file, and then replacing them with others?

In my code, I'd like to locate a certain line in the text file, and then at that point in the text file, use a For...Next Loop to replace each successive line of the text file with new text:

Dim user_data_file As String = "user_data.txt"
edit_input = New StreamReader(user_data_file)
Dim edit_line As String = edit_input.ReadLine

[CODE]...

However, I can't find any methods that will allow me to do this.

View 4 Replies

Label.Text = Val(Textbox.Text) / (Textbox.Text) - How To Obtain The Info

Dec 7, 2010

LblPPG.Text = Val(TextBoxPP.Text) / (TextBoxQTY.Text)

This is the only way I know how to obtain the info I need for this equation but if generated again with no input from the textboxes I get an error. Is there anyway to bypass this if its generated a second time with no inputs?

View 12 Replies

Find Shortest ,average And Longest Text Length In Text Box In Visual Basic?

Apr 25, 2011

what is the code for finding the shortest,average and longest sentence form the text box

View 4 Replies

How Will Change The Label's Text To The Random String Of The Text File On Startup Of The Application

Apr 23, 2011

I have a label that reads a random line from a text file and that string becomes the text for the label.

Now the problem; the label will only work if it is clicked because the event handler is click.What I need is this to work automatically at startup. In other words, it should change the label's text to the random string of the text file on startup of the application.

Here is my code.[code..]

View 4 Replies

Make A Program That Sends Text In The Text Box To A Form On A Website And Print The Page As .xps

Aug 30, 2010

I want to make a program that sends text in the text box to a form on a website and print the page as .xps

View 2 Replies

Reading A Specific Line From A Text File And Displaying It In Individual Text Boxes?

Feb 16, 2010

I've been writing a weight program for flooded pressure vessels and I'm having trouble retrieving the data from the text files I've been saving. I know how to write the data to the text file, but retrieving it with OpenFileDialog is not so easy for me.The user has individual text boxes that they input strings or numbers into and when they save the file, each text box input is written to one line in the text file. For example, the first text box is for the username, therefore the first line of text that is saved is the person's name, the second text box is the customer, thus the second line in the text file is the customer name, and so on.

(Actually, the first line of text in the saved file designates whether English units were used or Metric units because when the user retrieves the saved file, English units will open one form and Metric units will open a separate form, so some If...Then statement will need to occur).I need to be able to read the first line, have either my "EnglishForm"form open or my "MetricForm" form open, and then have each subsequent line of text be displayed in their corresponding text boxes. I know I need to use ReadLine or LineInput, but I don't have a clue what to do.Assuming the syntax I've displayed below would just magically work (if only life were that easy), it would look something like this

If FirstLineOfTextInFile = "English" Then
EnglishForm.Show()
ElseIf FirstLineOfTextInFile = "Metric" Then[code]....

And so on...I read a lot of articles from the MSDN library and exhausted each link that I've looked through from Google and Bing, but most only retrieve data from the file to a single text box through some loop or streamreader and don't take into account multiple forms.

View 17 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved