Computer Science
Subforums
-
Discussion of computer problems
- 434 posts
3274 topics in this forum
-
http://www.constructorscorner.net/Files/20201024RSA290.pdf This is the last of my attempts. If you graph the function simply: x (the small prime factor) occurs where the graph goes from zero to 1 (y-value). I think that this eliminates the value of x to a manageable amount of test values. Is this useful? And does a graph of a function faster than trial and error division?
-
0
Reputation Points
- 1 reply
- 819 views
-
-
Hi, I have found a link for creating a bot using Markov Chain:Markov Chain Code They have provided a "run" option also. My question about the program is that the program is showing the random unique responses? Am I right? It looks that the random unique responses are meaningful as far as English is concerned. It looks like they have provided different variations of same sentences. So the program only generates the sentences randomly. But to generate the random sentences we have to first identify the intent of the user, whether the user is asking about the price of item, whether the user is asking about the expiry date of item, whet…
-
0
Reputation Points
- 17 replies
- 4.7k views
-
-
Hi, I am trying to built a chatbot. I found following link: developer refinitive I am following the above link, its creating a intents file, It has some fields with their values separated by colons. "intents":[ { "tag":"greeting", "patterns":["Hi there","How are you","Is anyone there?","Hello","Good day"], "responses":["Hello, thanks for asking","Good to see you again","Hi there, how can I help?"], "context":[""]}, One other link (https://www.pluralsight.com/guides/build-a-chatbot-with-python) shows set_pairs like: What is the difference between intents file and set_pairs? Zulfi.
-
0
Reputation Points
- 7 replies
- 1.5k views
-
-
Seems like its only a big question because some person or group with academic reputation said its a problem and big question. Also seems more like a philosophical math question in a way and with those you can come with your own ones and can just consider them some paradoxical or tricky type of questions that have no answer. Could P vs NP be a stupid question that ignores common sense (how human thinking is hardwired which I talked about in my other question which wonders about human step by step kind of thinking and that no P doesn't equal to NP) and is similar to other tricky questions many people come up with. So maybe all together it's math/philosophy and psy…
-
0
Reputation Points
- 2 replies
- 1k views
-
-
import pickle,random a=open('lexicon-luke','rb') successorlist=pickle.load(a) a.close() def nextword(a): if a in successorlist: return random.choice(successorlist[a]) else: return 'the' speech='' while speech!='quit': speech=raw_input('>') s=random.choice(speech.split()) response='' while True: neword=nextword(s) response+=' '+neword s=neword if neword[-1] in ',?!.': break print (response) Hi, I got the above code from: https://stackoverflow.com/questions/5306729/how-do-markov-chain-chatbots-work I am getting following error: Somebody please guid…
-
0
Reputation Points
- 2 replies
- 816 views
- 1 follower
-
-
Must the locality of a read/write head be preserved in the case of an abstract read/write machine? If yes, why? If not, what is the difference between a head measuring multiple, locally variant nodes, and a head which considers these nodes as one 'hypernode' with a larger number of states? General locality of computation thread. If this question is worded poorly, please feel free to ask questions. Related documents: https://en.wikipedia.org/wiki/Locality_of_reference https://www.youtube.com/watch?v=-t1_ffaFXao (over four hours long, but worth every moment)
-
0
Reputation Points
- 0 replies
- 625 views
- 1 follower
-
-
Hi, I want to built a chatbot to act as sale agent for grocery items. One option is to use Chatterbot. How we can built a chatbot from scratch? Kindly list the steps and provide the links. I have found some code here: https://www.pluralsight.com/guides/build-a-chatbot-with-python Kindly guide me how to extend the above code. Zulfi
-
0
Reputation Points
- 0 replies
- 745 views
-
-
Hi, I can't understand the difference between Transponder only entry Toll booths and Transponder only exit Toll booths. As far as I understand , Transponder entry only Toll booths checks whether Transponder is operational or not and Transponder only exit Toll booths can do the transaction and deduct the Toll from the account associated with Transponder. But if the Transponder exit only toll booths can perform the payment, they can also do the detection, then why we need the Transponder only entry Toll booths? Somebody please guide me. The details are available at the following link: https://www.diqutech.com/highways.html Zulfi.
-
0
Reputation Points
- 2 replies
- 804 views
-
-
Hi, I have a confusion about transponders in automated Toll Systems. I know that they are useful to avoid huge traffic gathering at the Toll booths. But then we have transponder only lanes. Transponders are detected by sensors. But how these fast vehicles fitted by transponders are charged with Toll fees. I mean once the car is detected in the transponder lane what are the remaining functions till the car leaves through the transponer only exit lane and how they performed? There are no barriers, so if there is a problem with the transponder, how this problem is detected if the car leaves through the transponder only exit lane. Some body please guide me. …
-
0
Reputation Points
- 4 replies
- 1.4k views
-
-
Hi, I am trying to create a Byesian network to predict about the election results. For this election there are some important issues (I would call them as nodes) like EV, CD19, BLM, and WSM. I can assign some values to them. And then we can have two candidates, T and B, they belong to some party and these parties have workers. Now I have to arrange the nodes to indicate the dependencies and then assign conditional probabilities. Kindly guide me how can I improve my approach and what values should I assign to conditional probabilities and how to estbalish the network. Zulfi.
-
0
Reputation Points
- 3 replies
- 911 views
-
-
Hello everybody. Im beginner in science.And i planning to work on project.If you already watched SAO(Sword Art Online) you must know about Nerve Gear.Im going to make Nerve Gear on real life.If you dont know about Nerver Gear i will introduce it.Nerve Gear is helmet that will stop your movement and send you in to 3D game world.That's what i want to make real.My project name is "Ecto Gear".Im exploring about brain.How to connect brain to server?This is my first answer.But i think its possible.And my plan is connect brain to server based on computer and server will connect it directly to Virtual Character.Only thing that i want to know is this possible?Please leave me answe…
-
0
Reputation Points
- 25 replies
- 31k views
- 8 followers
-
-
i know java and python what other languages would i need to make my own operating system
-
0
Reputation Points
- 17 replies
- 2.5k views
- 2 followers
-
-
Hi, I have to proof using backward reasoning. Wikipedia says its same as backward chaining and book says that it is same as goal driven search. I don't then why we call it "backward". Any way my question is: I have gt(5,2) and I have to prove it. For this purpose I am given a tree and some assumptions: Somebody please guide me. Sorry I don't have any idea. Should I try by doing the replacements provided at the end of each level of the tree? Linked concepts and Questions: By goal driven search it means that we have to start at the current state. How is it different from resolution proof? Zulfi.
-
0
Reputation Points
- 1 reply
- 779 views
-
-
Hi, I am reading a tutorial which translates the following sentence into logic: The translation is: Sunny_days => garden_weddings The "implies" formula is given by: P => Q is given by: ~P V Q I can't understand this translation. According to the formula we should have: not sunny_days V garden_wedding which can be stated in English as: On sunny days weddings are held in the garden However the tutorial translates it into: "Either not sunny days weddings are held in the garden" I can't understand this, why we have 'not" before sunny_days. Original sentence does not use 'not' with sunny_days. I have attach…
-
0
Reputation Points
- 13 replies
- 2.5k views
- 1 follower
-
-
I've submited a paper that was a result of a frustreted attept to show that P=NP. I found a fatal flaw but mended the pieces. The result is a draft Iǘe submited and some exemples in my page. Not a "proof", but a weaking of 3.SAT. Maybe there are classes of formulas we can untangle. I am seeking for advices better than "give up" for it is not real Science nor Philosofy. Thanks for the hints, angela https://www.ime.usp.br/~weiss/
-
0
Reputation Points
- 14 replies
- 2.5k views
- 1 follower
-
-
After going round in circles on utube/google I still have no answer to these basic questions. The Net is full of descriptions of Qbits, rather than explanations of Qbits. If I code a conventional binary computer I can store 1 or 0 (true or false) and can comer back and retrieve it to find the vlaue (e.g. true or false). If I go to a qubit and find it is in a state of "1 And 0" simultaneously, then how the heck is this useful - being neither one or zero - neither true or false, or conversely true and false simultaneously? How does a qbit having three states 0, 1 and "both 0 and 1" get to be exponentially more powerful? How is a bit of data stored in a…
-
0
Reputation Points
- 0 replies
- 892 views
- 1 follower
-
-
Hi, Can I unify the following arguments? p(X, X) and p(a, Z) Here 'X' is a variable and 'a' is a constant. We can unify them but can we unify 2nd argument which is again 'X' with a variable 'Z'. Previously we unified 'X' with a constant and now we have to unify 'X' with a variable, I think its not allowed. Similarly for: p(X, X) and p(a,b) Now we have to unify 'X' with two different constants. I don't think this is possible. Somebody please guide me. Zulfi.
-
0
Reputation Points
- 0 replies
- 629 views
-
-
Hi, I am trying to understand the Bayesian network. I understand it is based upon conditional probabilities. I need a quick tutorial for it. I found an example on Wikepedia: https://en.wikipedia.org/wiki/Bayesian_network, but the mathematical formulae are creating problem. Somebody please guide me the example discussed in the wikepedia. I want to understand the 3 tables and the graph. Zulfi.
-
0
Reputation Points
- 2 replies
- 1k views
-
-
Hi, Kindly guide me some code for producing sound or music which I can use for indicating that a computer piece has been killed or the computer has killed the piece. Small file just executable for 2 or 3 secs. I am working in text mode. Zulfi.
-
0
Reputation Points
- 4 replies
- 1k views
-
-
I am learning mqtt,mosquitto and test on my localhost is work well. And then,i rent a linux centos 8 machine and install mosquitto, i try to publish a message to that linux broker from my local windows ip. But it always show TimeoutError: [WinError 10060],I have google but still don't know where is the problem? I have tried to publish from my windows local ip to test.mosquitto.org and subscribe from linux,it's work!! I have no idea. publish: local broker .\mosquitto_pub -h 192.168.168.100 -p 1883 -t test -m 'hi' # mosquitto test server .\mosquitto_pub -h test.mosquitto.org -p 1883 -t test -m 'hi' subscribe hi but,when i chan…
-
0
Reputation Points
- 1 reply
- 1.8k views
-
-
Hi, I am creating a two board game. Kindly guide me about a simple technique related to Heuristics.If possible kindly tell me about pruning. I have 8 pieces on both sides. I am thinking to move 3 pieces of both ends together and keep two pieces fixed. Is this a good idea for Heuristics Zulfi.
-
0
Reputation Points
- 4 replies
- 967 views
-
-
I am trying to develop a peer to peer project and I need to communicate between those peers by sending huge json data. I went through various libraries but couldn't find the perfect one for my use case. Could you please suggest something? We are working in a team of 3 members and the mutual language is JavaScript. We are actually thinking about building a peer to peer search engine where the peers would request other peers to give results for a specific search query. And yes we would be developing a web application to display results as well as client applications to communicate with other available peers.
-
0
Reputation Points
- 8 replies
- 1.9k views
- 1 follower
-
-
Hi, I have written code, I am presenting a portion of it. I want to modify my original code for inputting, so I have created this portion for testing. My code is: import numpy as np class Board: #Matrix = np.empty((8, 8)) #Matrix.fill(0) #create a 8 * 8 matrix, each entry is -1, indicating no activity on the board Matrix = np.array( [[-1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -1, -1, -1, -1, -1]]) def __init__(self, n): …
-
0
Reputation Points
- 10 replies
- 2k views
-
-
Hi, I am trying to understand the Hill Climbing algorithm. I found a question at: https://stackoverflow.com/questions/8946719/hill-climbing-algorithm-simple-example Somebody please guide me. Zulfi.
-
0
Reputation Points
- 11 replies
- 4.3k views
-
-
20201007151103cv_hw_2.docx
-
0
Reputation Points
- 1 reply
- 670 views
- 2 followers
-