Codings For Decision Tree Algorithm?
Oct 14, 2009i doing my project in ID3 decision tree algorithm.so i urgently need it.plz send me to mail id {REMOVED}
View 1 Repliesi doing my project in ID3 decision tree algorithm.so i urgently need it.plz send me to mail id {REMOVED}
View 1 RepliesAm looking for an Algorithms that will take object that a linked to multiple other object and work out the best location to draw each object based on there links.
this would generate a tree like diagram.
So i have Object 1 then hast 10 link, one of these link is object 2 that has 5 link but object 1 link to one of object2s links and such link.
so i would have some thing like this
Object1 ------------ Object2
/
/ /
Object 3
But this is on a 100% bigger scale with unlimited number of objects and links.
how i would go about working out the best location on my form for each object?
Cant get the following program to display the decision in the listbox. (visual basic 2005 Express edition)
Public Class Form1
Dim pupil As Integer
Dim number_of_pupils As Integer
Dim pupilname(4) As String
[Code] .....
i am working a "image processing system" project in vb.net using the ms access2007.i have to browse by clicking a button and open a image to display its name to a text box and that image to picturebox.and after that i want to add,del and extract those images to the access database.i want to use datagridview control also.
View 1 RepliesPrivate Sub submit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles submit.Click
m_streamWriter.BaseStream.Seek(0, SeekOrigin.End)
i += 1
m_streamWriter.Write("{0}{1}{2}{3}{4} ", i, " ", TextBox4.Text, " ", DateTime.Now.ToLongTimeString() + ControlChars.Lf)
m_streamWriter.WriteLine(" " + ControlChars.Lf)
m_streamWriter.Close()
[Code]...
If you have been reading my posts I'm trying to learn this ADO.net code. So I have been reading and coding and I have a Question. How to I know in .net, if the record exists to make the decision to Add New Row or UpdateRow? Here is the code from the web I have been working with to better understand this, I could use some help on the decision making code needed to Update or New row.
[Code]...
I am not the original author of this software project and the code is poorly documented. I am mainly a Java/C++ developer.The program displays the tree structure and allows files and folder to be selected. The program is getting errors with FileSystemTreeView when trying to return nodes on a system with a reserved partition.Here is what is happening: tree.SelectedNode = tree.Nodes(0) 'returns error with system reserved partition.calling, GetDriveList() will properly return all the drive letters - and not throw an error. Only when trying to get a tree.Node() or tree.load() is the error occurring.
View 3 RepliesI am trying to implement an Algorithm called "Diamond-Square Algorithm" I am having trouble ending it so that it retiurns the required result. So far I have the folloiwng.
[Code]...
I want the user to be able to click on the "search" button, and for a diaglog box to open, with two options. "ID" or "Postcode".
How would i do this, and then how could i intergrate my line of code into that?
drag and drop nodes within the same tree (not between trees) when users drag and drop nodes within the tree, give them the option to move the original node to a new location within the tree OR to just copy the original node in a new location (seems complex but I have a month to figure this out). change the system default blue highlight for selected nodes to another color change the system default cursors for invalid and valid drops (instead of the circle with slash indicating invalid target, i want a red minus) and (instead of the little plus sign with little box indicating a valid target, i want just a big green plus sign) add a red insert line to indicate where the node would be dropped within a tree also drag and drop the text of a node from the tree to a textbox add a "folder" image next to parent nodes and a "document" image next to children nodes
I have looked through the internet but I am having difficulty sorting through all the information available (I see a lot of information for Visual Basic 5 and 6, and those codes don't work for me in visual studio 2008). I can email anyone my code I have so far.
Public Class Form1
Private MouseIsDown As Boolean = False
Public Sub TreeView_ItemDrag(ByVal sender As Object, ByVal e As ItemDragEventArgs)Handles TreeView1.ItemDrag
[Code]....
I'll do my best to explain what the algorithm is supposed to do:There's a class 'Recipe'.ach Recipe can include other Recipes but cannot include itself or any other Recipe that includes it. So, a simple example is we have just two Recipes A & B.A,B,C(1) Recipe C Adds B(2) Recipe B Adds A(3) Recipe attempts to add C, but can't because of the relationship. C- B - A.
View 4 RepliesI'm Micah. Electrical/Electronic engineering 500 level student. I'm working on my final year project. please i need a code for the implementation of RSA algorithm in VB.NET. your assistance will be appreciated.
View 2 Repliesis the algorithm for VB editor released anywhere? because i'm trying to create my own editor that gives various options like Linking and self defined array functions (see below) such that one edit can update several others in various places, but i do still wish to have the auto formatting VB editor provides us with.an example of a self defined array function (count):we can transform this:
Public Class test
Private Shared number_of_methods As Integer = 2
Public Function get_number_of_methods_juz_an_example() As Integer
Return number_of_methods
[code]....
well of course instead of the code it would be just click and select (i wrote out the code in <> just to show what's happening)
i need some tutorial to implement BLS (Boneh-Lynn-Shacham) signature algorithm to create private key and public key to encrypt a message.I need tutorial to implement this in VB.NET.
View 1 RepliesI found an algorithm in C# that I need to convert to C. Problem is, I have never used C# so the syntax is really strange to me.
Implementation of Berlekamp-Massey algorithm for calculating linear complexity of binary sequence
s = byte array with binary sequence
returns Length of LFSR with smallest length which generates s
[Code].....
I want create my own algorithm
View 1 RepliesHow would I be able to use my own Encryption Algorithm in my program such as encrypting text. I havn't been able to figure this out.
View 1 Repliescan you write an algorithm which can calculate 500 factorial.scientific symbol(mode) is unauthorized.Answer should be in String mode.
View 1 RepliesI am using VB.NET and I am trying to come up with some algorithm or some pseudo-code, or some VB.NET code that will let me do the following (hopefully I can explain this well):I have 2 collection objects, Cob1 and Cob2. These collection objects store objects that implement an interface called ICob. ICob has 3 properties. A boolean IsSelected property, a property called Length, which returns a TimeSpan, and a Rating property, which is a short integer.
OK, now Cob1 has about 100 objects stored in the collection and Cob2 is an empty collection. What I want to do is select objects from Cob1 and copy them over to Cob2. I want the following rules obeyed when selecting the objects though:
[Code]...
[code...]
So far, my friend has this, and we're trying to figure out how to get the code to tell convert F to C, and back. All we can use for input is (example:) 10,f and it will change it to 40,C.
Forgive me if this is a silly question....but I think back to my Comp. Sci. classes and I distinctly remember learning/being quizzed on several sorting algorithms and the corresponding 'Big O' notation.
Outside of the classroom though, I've never actually written code to sort. When I get results from a database, I use 'Order By'. Otherwise, I use a collection class that implements a sort. I have implemented IComparable to allow sorting; but I've never gone beyond that.Was sorting always just an academic pursuit for those of us who don't implement languages/frameworks? Or is it just that modern languages running on modern hardware make it a trivial detail to worry about?
Finally, when I call .Sort on a List(Of String), for example, what sort algorithm is being used under the hood?
I'm trying to convert the following algorithm from C# to VB.NET and the VB.NET I have is not producing the same results as my C# algorithm, can someone tell me where I've gone wrong in my conversion?
public static IEnumerable<T[]> Combinations<T>(this IEnumerable<T> elements, int k)
{
List<T[]> result = new List<T[]>();
[code]....
I need to encrypt vbs file using a cryptographic algorithm. I read about converting it into vbe file, but is there any other way to do it?
View 1 RepliesI have visual studio 2008, and we have been given specific tasks to carry our for our course, we have been asked to implement euclid's algorithm by using a while loop, doing so without the visual part of visual basic whatever that means an example of a question they gave was 1)HCF(88,26)=2 how I would go about doing this, as I am thoroughly confused, and deadlines are fast approaching.
View 3 RepliesI have some text files that contain
<img width="100" or
<img width="1400" or....
How could i replace all above with the following, since the image width is not static?
<img width="200"
i am working on project of using ant colony optimization and espcially on antnet algorithm but i have many problems in programming of this algorithm, and since i dont perfer using simulation for that purpose.
View 4 Repliesi want to implement bankers algorithm in vb.net how can i implement it
View 1 RepliesI am struggling to write a sorting algorithm that can sort characters in a word lexicographically (alphabetically) as follows
lexicographical sort of the word :- Contamination
lexicographically
Sorted Text Index
[code]....
write a pseudo code / or an implementation in C# or VB.NET of how I can do a lexicographical sort of the word above?
I am trying to pair numbers, like for a tournament. I need an idea for the algorithm to pair up the numbers, not the code, but the algorithm.
View 1 RepliesSearching the internet for an example of backtracking in VB.Net has proven fruitless. All the examples I found were either in a language I don't understand (making it impossible for me to convert it to vb.net) or they contained zero commenting (making it difficult to actually understand what is going on).Does anyone have an example of backtracking in VB.Net? Commenting would be useful so I don't have to decipher single letter variables.
View 16 Replies