Changelogs¶
0.1.11¶
Background stuff:
Added testing section for unit tests (simple assert statements inside the notebooks)
Bioinfo cli:
Added numpy/torch checks to
dereference
Renamed
sample
topeek
Added
infiniteFrom
,joinStreamsRandom
,batched
,collate
,splitList
Added
infiniteF
Added
toTensor
Replaced
infinite
in favor ofrepeat
Updated all cli tools to use
super().__init__()
Added
_ctx
module, withPromise
,enum
,identity
classes, andgetC()
,setC()
methods
DL:
Added
k1lib.data.CyclicRandomSampler
andk1lib.data.DatasetWithSampler
Added highlight feature in
callbacks.Callbacks.checkpointGraph()
Added
k1lib.viz.Carousel.pop()
,k1lib.viz.Carousel.__getitem__()
Added
k1lib.Learner.sample()
Disallow
k1lib.executeNb()
to execute lines that starts with “!”, also removed parametercatchErrors
, as it’s quite uselessAdded
k1lib.Object()
0.1.10¶
Background stuff:
Added notebook regression tests
Added tutorials automated building tool
Added
k1lib.ignoreWarnings
Tutorials part moved to official docs (rather than .md files on github)
Added covid tutorial
Bioinfo cli:
Added
lengths
,applySingle
Exposed
serial
,oneToMany
,manyToMany
, andmanyToManySpecific
DL:
Added
confusionMatrix.ConfusionMatrix
andk1lib.viz.confusionMatrix()
Added
torch.nn.modules.Module.paramsContext()
Modified
k1lib.Object
to allow settinggetdoc
fieldAdded
k1lib.viz.Carousel.saveBytes()
,k1lib.viz.Carousel.saveFile()
,k1lib.viz.Carousel.saveGraphviz()
, and handle different image formats much better now
0.1.9¶
Bioinfo cli:
Added
k1lib.Domain
classAdded
__invert__
option forrows
andcolumns
by incorporatingk1lib.Domain
Sped up
rows
significantlyRemoved cli tool
every
asrows
is good enoughAdded
__invert__
option forhead
. As a result, removednhead
Added
gb
cli module to deal with genbank file formatAdded
tableFromList()
as alias oflistToTable()
Renamed
avg
totoAvg
Added
toSum
DL:
Added Callbacks tab completion to
k1lib.Learner
andCallbacks
Refactored
lossLandscape.LossLandscape
tolandscape.Landscape
that can be used by any other callbacks, right now it’sLoss
andAccuracy
Added
callbacks.Callback.pause()
to help withAccuracy
’sLandscape
0.1.8¶
Fixed installation bug where readme.md would be absent, and setup.py won’t work at all.
Bioinfo cli:
Huge revamp of how tables are treated. Before, row elements are in a single string, separated by a delimiter. Now each row is a full fledged list
Added
grepToTable
,joinList
,contains
,table
,stitch
,listToTable
,insertColumn
cli toolsRemoved
joinRows
but still keepjoinStreams
as “joinRows” is not really obviousRenamed
inside
toinSet
Cut out nested functionality from
grep
togrepToTable
0.1.7¶
Interface with external modules:
Swapped out
register_backward_hook
withregister_full_backward_hook()
inHookModule
callbackAdded
torch.nn.Module.preserveDevice()
context manager
Callbacks:
Changed
Callbacks.suspend()
to take in names onlyAdded
Callbacks.suspendClasses()
to take in classesChanged
Callbacks.suspendEvaluation()
toCallbacks.suspendEval()
, also added functionality for white and black listsRipped out complex
Callback.__getattr__()
mechanism (that automatically searches the parent learner for missing attributes) to improve speedAdded
k1lib.callbacks.core
callbacksCoreNormal
andCoreRNN
Added more plot decorators for
MemoryProfiler
, including backward-forward separator with their textChanged
LossLandscape
callback so that it follows the common flow structure. Before, it implements a whole newcbs(...)
schema that essentially duplicated the loop inside ofk1lib.Learner
Learner:
Implemented grace stop handling for
Learner
. Before, if someone throwsCancelRunException
while executing a batch, then it will immediately jump to the end of the run. Changed it so that it will be caught in the batch loop, execute checkpointscancelBatch
andendBatch
and rethrow it. Same thing withCancelEpochException
Moved loss function from being a core functionality inside
Learner
to an external callback, so that adapting multiple loss functions are possibleAdded
Learner.__call__()
Bioinfo cli:
Added
isValue
,intersection
,AA_
,infinite
,dereference
cli toolsModified
cat
to be able to take in file name by pipeAdded new joining operator “+” between
init.BaseCli
Style changes:
Changed
Callbacks.learner
toCallbacks.l
Changed
Callback.learner
toCallbacks.l
Removed
k1lib.eqn
fromk1lib.imports
’s namespace
0.1.6¶
I don’t really keep track of things 0.1.6 and before, so nothing here really.