Category Archives: TODO

Phil 8.29.16

7:00 – 6:00 ASRC

  • Selective Use of News Cues: A Multiple-Motive Perspective on Information Selection in Social Media Environments – Quite close to the Explorer/Confirmer/Avoider study but using a custom(?) browsing interface that tracked the marking of news stories to read later. Subjects were primed for a task with motivations – accuracy, defense and impression. Added this to paragraph 2.9, where explorers are introduced.
  • Looked through Visual Complexity – Mapping Patterns of Information, and it doesn’t even mention navigation. Most information mapping efforts are actually graphing efforts. Added a paragraph in section 2.7
  • Added a TODO for groupthink/confirmation bias, etc.
  • Chat with Heath about AI.He’s looking to build a MUD agent and will probably wind up learning WEKA, etc. so a win, I think.
  • Working on getting the configurator to add string values.
  • Added to DocumentStatistics. Need to switch over to getSourceInfo() from getAddressStrings in the Configurator.
  • Meeting with Wayne about the proposal. One of the branches of conversation went into some research he did on library architecture. That’s been rattling around in my head.
    We tend to talk about interface design where the scale is implicitly for the individual. The environment where these systems function is often thought of as an ecosystem, with the Darwinian perspective that goes along with that. But I think that such a perspective leads to ‘Survival of the Frictionlesss’, where the easiest thing to use wins and damn the larger consequences.
    Reflecting on how the architecture and layout of libraries affected the information interactions of the patrons, I wonder whether we should be thinking about Information Space Architecture. Such a perspective means that the relationships between design at differing scales needs to be considered. In the real world, architecture can encompass everything from the chairs in a room to the landscaping around the building and how that building fits into the skyline.
    I think that regarding information spaces as a designed continuum from the very small to very large is what my dissertation is about at its core. I want a park designed for people, not a wilderness, red in tooth and claw.

Phil 8.26.16

7:00 – 4:00 ASRC

    • Adding more model feedback
    • Something more to think about WRT Group Polarization models? Collective Memory and Spatial Sorting in Animal Groups
    • Need to be able to associate an @attribute  key/value map with Labeled2Dmatrix rows so that we can compare different nominal values across a shared set of numeric columns. This may wind up being a derived class?
      • Working on adding an array of key/value maps;
      • Forgot to add the name to the @data section – oops!
      • text is added to ARFF out. Should I add it to the xlsx outputs as well?
    • Here’s the initial run against the random test data within the class (L2D.arff).
=== Run information ===

Scheme: weka.classifiers.bayes.NaiveBayes
Relation: testdata
Instances: 8
Attributes: 12
name
sv1
sv2
sv3
p1
p2
p3
p4
s1
s2
s3
s4
Test mode: split 66.0% train, remainder test

=== Classifier model (full training set) ===

Naive Bayes Classifier

Class
Attribute p1 p2 p3 p4 s1 s2 s3 s4
(0.13) (0.13) (0.13) (0.13) (0.13) (0.13) (0.13) (0.13)
=======================================================================
sv1
p4-sv1 1.0 1.0 1.0 2.0 1.0 1.0 1.0 1.0
s2-sv1 1.0 1.0 1.0 1.0 1.0 2.0 1.0 1.0
p2-sv1 1.0 2.0 1.0 1.0 1.0 1.0 1.0 1.0
s1-sv1 1.0 1.0 1.0 1.0 2.0 1.0 1.0 1.0
[total] 4.0 5.0 4.0 5.0 5.0 5.0 4.0 4.0

sv2
p2-sv2 1.0 2.0 1.0 1.0 1.0 1.0 1.0 1.0
s4-sv2 1.0 1.0 1.0 1.0 1.0 1.0 1.0 2.0
p1-sv2 2.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0
s1-sv2 1.0 1.0 1.0 1.0 2.0 1.0 1.0 1.0
[total] 5.0 5.0 4.0 4.0 5.0 4.0 4.0 5.0

sv3
p2-sv3 1.0 2.0 1.0 1.0 1.0 1.0 1.0 1.0
p1-sv3 2.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0
s4-sv3 1.0 1.0 1.0 1.0 1.0 1.0 1.0 2.0
p3-sv3 1.0 1.0 2.0 1.0 1.0 1.0 1.0 1.0
p4-sv3 1.0 1.0 1.0 2.0 1.0 1.0 1.0 1.0
s2-sv3 1.0 1.0 1.0 1.0 1.0 2.0 1.0 1.0
s1-sv3 1.0 1.0 1.0 1.0 2.0 1.0 1.0 1.0
[total] 8.0 8.0 8.0 8.0 8.0 8.0 7.0 8.0

p1
mean 1 0 0 0 1 1 0 0
std. dev. 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667
weight sum 1 1 1 1 1 1 1 1
precision 1 1 1 1 1 1 1 1

p2
mean 0 1 0 0 1 0 1 0
std. dev. 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667
weight sum 1 1 1 1 1 1 1 1
precision 1 1 1 1 1 1 1 1

p3
mean 0 0 1 0 1 0 0 1
std. dev. 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667
weight sum 1 1 1 1 1 1 1 1
precision 1 1 1 1 1 1 1 1

p4
mean 0 0 0 1 1 0 0 1
std. dev. 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667
weight sum 1 1 1 1 1 1 1 1
precision 1 1 1 1 1 1 1 1

s1
mean 1 1 1 1 1 0 0 0
std. dev. 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667
weight sum 1 1 1 1 1 1 1 1
precision 1 1 1 1 1 1 1 1

s2
mean 1 0 0 0 0 1 0 0
std. dev. 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667
weight sum 1 1 1 1 1 1 1 1
precision 1 1 1 1 1 1 1 1

s3
mean 0 1 0 0 0 0 1 0
std. dev. 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667
weight sum 1 1 1 1 1 1 1 1
precision 1 1 1 1 1 1 1 1

s4
mean 0 0 1 1 0 0 0 1
std. dev. 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667
weight sum 1 1 1 1 1 1 1 1
precision 1 1 1 1 1 1 1 1



Time taken to build model: 0 seconds

=== Evaluation on test split ===

Time taken to test model on training split: 0 seconds

=== Summary ===

Correctly Classified Instances 0 0 %
Incorrectly Classified Instances 3 100 %
Kappa statistic 0
Mean absolute error 0.2499
Root mean squared error 0.4675
Relative absolute error 108.2972 %
Root relative squared error 133.419 %
Total Number of Instances 3

=== Detailed Accuracy By Class ===

TP Rate FP Rate Precision Recall F-Measure MCC ROC Area PRC Area Class
0.000 0.333 0.000 0.000 0.000 0.000 ? ? p1
0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.333 p2
0.000 0.333 0.000 0.000 0.000 0.000 ? ? p3
0.000 0.000 0.000 0.000 0.000 0.000 ? ? p4
0.000 0.000 0.000 0.000 0.000 0.000 0.500 0.500 s1
0.000 0.000 0.000 0.000 0.000 0.000 1.000 1.000 s2
0.000 0.333 0.000 0.000 0.000 0.000 ? ? s3
0.000 0.000 0.000 0.000 0.000 0.000 ? ? s4
Weighted Avg. 0.000 0.000 0.000 0.000 0.000 0.000 0.500 0.611

=== Confusion Matrix ===

a b c d e f g h <-- classified as
0 0 0 0 0 0 0 0 | a = p1
0 0 0 0 0 0 1 0 | b = p2
0 0 0 0 0 0 0 0 | c = p3
0 0 0 0 0 0 0 0 | d = p4
0 0 1 0 0 0 0 0 | e = s1
1 0 0 0 0 0 0 0 | f = s2
0 0 0 0 0 0 0 0 | g = s3
0 0 0 0 0 0 0 0 | h = s4
  • Need to add text data from xml or from other(wrapper info? structured data? UI selections?) sources

Phil 10.28.15

8:00 – 5:00 SR

  • Walked through the FA bug with Dong on the phone. Took some screenshots that I will send over tonight.
  • Add a DictionaryText class that uses a passed-in tag list to determine what items to create associations to. Low edit-distance matches get added to the item. Possibly the keyword list can be hierarchical?
  • Add a tn_dictionary table with fields for word, type (optional), description (optional), server_code (optional), parent (optional), and user_id. Multiple users can have different versions of the same word. When a new word is entered, the content of the network is rescanned and items that contain the keyword link to it. We will need to know which definition is being used in the network, since it will point to the master item. – Done, except for the last part
    • The server_code field would include scripts/regexes or something similar that could do special text scanning. This would require the use of eval, for example. In the db, but not used.
  • So now, when an external query is made, only items from the result that contain words in the dictionary will be added to the network. Done and working in the DB and PHP!Done and working in the DB and PHP!
  • There should also be a ‘resubmit’ button that looks for new material while running the stored queries. TODO
  • It’s possible to use NLP, particularly five filter’s, to create a strawman dictionary as a starting point. TODO
  • Meeting with Dr. Pan
    • There are different contexts that a keyword dictionary needs to be aware of. Resumes have skills, tasks and achievements. Scientific papers have contributions and methods, financial data has budget centers, companies, clients, invoices, etc.
    • Phrases add specificity, single words can be very noisy.

Phil 10.13.15

8:00 – 5:00 SR

  • Sent the (hopefully) fixed FA and RA to Bill
  • Think I got my accesses fixed. Again
  • Adding behaviors to support the changes I made to the GUI yesterday.
    • Unlink (from Wampeter)
      • GUI – done. Lots of oddness with the <select> directive.
        • Fixed the blank first selection by setting the initial values in the guiVars object (I’m using to keep things clean) to null.
        • The ng-model is being set to a JSON string. So I had to get the object pointer from the list used to populate the select. In this case I used the guid. What a hack!
      • DB – TODO
    • Link to wampeter
      • GUI – TODO
      • DB – TODO
    • Update wampter DB – TODO
    • Update Rating DB – TODO

Phil 10.12.15

1:30 – 5:30 SR

  • Adding data objects to ITarget – done
  • Adding test in parseDataObject and addNetItems to see if links aren’t loading sometimes. Done
  • Adding a check to see prevent (non-URL, non-Query) items that only have one link aren’t added to pagerank calculation and listing. Done.
  • Adding an ‘add selected’ to the Wampeter feed directive – button added TODO: add functionality
  • Adding unlink from: <wampeter name> to any icon that is, well, linked to a wampeter. Not that this may need to be an ng-repeat. – button added TODO: add functionality
  • May switch over to keywords only. Concepts and entities overlap a lot. Also thinking that Adding the url could do that without exploring. Just open and make sure that it’s not 404? And just running with that thought, Explore could return a ‘Cliff Notes’ Dialog that could have the capability to link to other items? Or just select what gets attached? And merged?…

Phil 10.5.15

  1. 8:00 – 4:00 SR
  • Change the divisor in the PageRank class to be a scalar.
  • Change the ‘History’ list to show the ranked items. Either all, or individually. (tab view)?
  • Add sliders to the rating view in the feed. Will also need a save with associated PHP code
  • Add update rating PHP
  • Add update linkSelected PHP
  • Show the changes in the list of items as the sliders are adjusted.
  • add an ‘annotation’ field to the rating? Better tracking?

Phil 10.1.15

8:00 – 4:30 SR

  • And Dreamhost is back up. Looks stable too.
  • Had a good discussion with Dr. Pan about next steps.
    • A simple page rank based on support/dispute value is a reasonable place to start
    • See how sensitive the Eigenvector is to:
      • Number of rated nodes
      • Support/dispute values
  • The query history is listing multiples where they are linked to a Wampeter.
    • The data object is coming back with redundant entries (my_query_guid_5). It’s not there in the DB, so tn_view_network_items is wrong. Fixed – I had to add ‘distinct’ to the select that makes the view. I thought it would be possible to nest selects, but something about views made that trickier.
  • Wire up type visibility checkboxes – Done. Had to spend a good deal of time pondering how to deal with the on-the-fly recalculation based on how many links an item has and what it’s default visibility is. Still need to hide objects if they are unselected and should not be visible. TODO.
  • Make Reset Positions set the origin to zero. Done.
  • Deployed the new version.

Phil 9.29.15

7:30 – 4:30 SR

  • Server backups
  • Finish ‘link selected’
    • Build PostObj – done. Also constructed a default title.
    • New PHP query, which will require an array of ‘targets’ Done
    • Insert the new source, get the ID, Done
    • Add the associations Done
    • Added a new item type – Wampeter
    • Return the DataProvider (is it time to clean this up?)
  • Add show/hide checkboxes by type (URL, Query, Rating, etc.) TODO
  • Need to add a ‘guest’ or view only role/user. TODO
  • And Dreamhost is busted again.

Phil 10.16.15

8:00 – 5:00 SR

  • Added Ronda as an admin. We need to do something with groups but can’t figure out what/how to do.
  • Fixed Carla’s cert problems
  • Need to add ‘tolower’ on the names/labels of non-url items in the PHP, before the item is stored – TODO
  • Need to check if it’s easy to move the root object to where the selected item(‘s average) position – TODO
  • Need to be able to edit an item – TODO
  • Working on ratings
    • Making a ratingObject to pass between the controller, the rating directive, and the rssFeed directives. Done
    • Wired up the Rating directive to the RssFeed directive.
    • Reworking the rating query.It needs to create the item, get its id_index, then create an association between it and the target that has already been passed in. Done
    • Last thing to do is to enable the query in the rssPull.php and uncomment the submitObj call in RssController.addRatingSubmit. Cool!

Phil 10.15.15

8:00 – 4:00 SR

  • No change on dev admin
  • Need to add ‘tolower’ on the names/labels of non-url items in the PHP, before the item is stored
  • Adding rating directive today.
    • Starting with adding ratings to the data object and data format
    • Added additional shapes so ratings can be distinguished.
    • Killed Eclipse trying to run a PHP test
    • Adding a separate tn_rating to the network is going to be a lot of work. Going to see if I can use tn_items for ratings. They have enough fields, and I have the logic to treat items differently already. Ok, that seems to work. Going to delete the tn_ratings logic. Add rating will be the addition of a RATING item type and an RATING association from the rating item to the target (which can be any item?). Actually, this may turn out better. I can add COMMENT types and other meta information items.
    • Got most of the initial directive layout done and running. Tomorrow we’ll wire it up.
  • Need a show/hide selection capability. All, URLS, ENTITIES, SELECTED, etc.TODO
  • If that gets done I’ve been thinking about the addition of user-specified items. TODO
    • A new item should (must?) have an association with at least one other item.
    • Associations will be made with all selected items
    • Directive dialog to create the new item.
    • In the item list, selected and ‘visible’ items need to be color coded and labeled
    • Items need to be selectable from the item list