226 questions
31
votes
4
answers
18k
views
PBFT algorithm in hyperledger
Can anyone explain PBFT Algorithm in detail without giving any link for the same? And how it works in hyperledger. So, once the transaction is sent to the blockchain:
Who validates the transaction?
...
14
votes
3
answers
24k
views
Converting a Document Term Matrix into a Matrix with lots of data causes overflow
Let's do some Text Mining
Here I stand with a document term matrix (from the tm Package)
dtm <- TermDocumentMatrix(
myCorpus,
control = list(
weight = weightTfIdf,
...
7
votes
3
answers
3k
views
algorithm to calculate similarity between texts
I am trying to score similarity between posts from social networks, but didn't find any good algorithms for that, thoughts?
I just tried Levenshtein, JaroWinkler, and others, but those one are more ...
4
votes
7
answers
10k
views
Remove all punctuation from string, except if it's between digits
I have a text that contains words and numbers. I'll give a representative example of the text:
string = "This is a 1example of the text. But, it only is 2.5 percent of all data"
I'd like to convert ...
4
votes
1
answer
1k
views
How do bitcoin miners check for double-spend or over-spend?
The only way i can visualize the process is: search the blockchain for all the transactions that have the same source address as the transaction being processed, add them all up (including the trx ...
4
votes
2
answers
5k
views
Stop mining on private net on geth ethrereum
I have started a geth client using the below client(I had already created two accounts.:
geth --datadir datadir --networkid 123 --rpc --rpcaddr="localhost" --rpccorsdomain="*" --unlock <my account&...
4
votes
3
answers
8k
views
How do I stop the command console from scrolling to the bottom every time there's a new entry?
New entries are added automatically, so when I'm trying to scroll up through old entries, I might get close but before I can read anything there's a new entry and it scrolls to the bottom.
I've ...
4
votes
1
answer
408
views
Mining/Crawling/ the web console with phantomjs or something else?
I am wanting to create an application whose behavior is directly related to that of another web application. Essentially, there is an application that runs within Gmail that dynamically interacts ...
3
votes
1
answer
1k
views
How to generate a counter for finding a hash with 9 leading zeroes
I'm trying to create a function that will generate a hash using sha1 algorithm with 9 leading zeroes. The hash is based on some random data and, like in concurrency mining, I just want to add 1 to the ...
3
votes
1
answer
3k
views
Frequent pattern mining in Python
I want to know how to get the absolute support and relative support of itemsets in python. Presently I have the following:
import pandas as pd
import pyfpgrowth
from mlxtend.preprocessing import ...
3
votes
1
answer
237
views
Share an object (blockchain) on a network
I created a simple "blockchain" on Java.
Blockchain class is an ArrayList<> of Blocks. The blocks are made by: hashcode, previous hashcode and nonse counter. When a block is created, it is added ...
3
votes
2
answers
298
views
Techniques to display related content or articles
I've been trying to learn Text mining and other related things in Collective Intelligence field. I am interested to make an app which will scan thru the document and show related posts/articles on ...
3
votes
1
answer
2k
views
Web mining -classification algorithms
my senior project is determining the dominant category of a web page.I crawled dmoz. now i am trying to build arff. After that i will use some feature extraction methods and classification algorithms. ...
3
votes
2
answers
4k
views
Are there any open source solutions for mining bitcoins using WebAssembly?
I'm a little late to the game, but I just learned about Web Assembly and am considering using this to mine bitcoin instead of serving ads (which tend to expose a user's identity/data). I have never ...
3
votes
1
answer
1k
views
geth --targetgaslimit not working?
My contract creation requires 5633321 gas - more than default block gas limit. I was able to deploy on Ropsten network it few times ago: https://ropsten.etherscan.io/tx/...