One classic theme in software development is protecting the integrity of your model classes. We lock up access to them by using things like private variables, the proxy pattern, and wrapper classes. Nobody gets to mess with our objects unless they do it our way.
But what about when testing needs to get its hands on restricted parts of our model classes? Imagine that you’ve got a GameBoard class with associated members pieces, bank, and deckCards. Here’s a sample UML to help you visualize:
Sentiment mining is a way of computing how positive/negative a text is. It’s useful when you’ve got too much text to read by yourself, but want to know the overall feeling of certain texts. For example, a company who is curious about public reception of their newest product can read in all tweets mentioning the product’s name and get a sentiment score back. Continue reading “Sentiment mining when you’ve got no labels”
In school courses on data mining and big data, one of the foremost lessons learned is that we have to be cautious about the way we represent our data and (consequentially) our results. Most people don’t think of databases when we think of data representation, but how we store our information probably contributes more to overall system performance than almost anything else nowadays. Continue reading “A crash course in some NoSQL databases”
Welcome to Persephone! This blog is dedicated to promoting the computational sciences, and will feature shorter posts and occasionally longer articles that discuss projects and topics. As way of introduction, my name is Trent Hyer, and I’m a student about to graduate in April. This blog was started to serve as a sandbox for ideas, random writings, and thought-out publications that I want to share with others. Continue reading “Introducing Calliope SPS”