Plotting of the title with dataset name and dimensionality reduction parameters.
Scaling of original data for cases when clustering labels are based on it.
Change of scaler, now it's MinMax.
A fix (?) for the dataset plot tool. As you can see in plot.py the dataset was seemingly missing in the parameters. Before that, I was getting the following error :
┌──[user@packing-box]──[~/.packing-box/datasets]──────── ────[172.17.0.3]──[15:54:53]────
$ dataset plot features upx-PE byte_0_after_ep
00:00:03.206 [INFO] Preparing data...
Traceback (most recent call last):
File "/home/user/.opt/tools/dataset", line 220, in <module>
getattr(ds, args.command)(**vars(args))
File "/home/user/.local/lib/python3.10/site-packages/pbox/learning/dataset.py", line 200, in plot
plot(self, "ds-%s" % subcommand, **kw)
File "/home/user/.local/lib/python3.10/site-packages/pbox/learning/plot.py", line 220, in plot
img = root.joinpath(PLOTS[ptype](obj, **kw))
File "/home/user/.local/lib/python3.10/site-packages/pbox/learning/plot.py", line 84, in _dataset_features_bar_chart
feature = select_features(feature)
File "/home/user/.local/lib/python3.10/site-packages/pbox/common/utils.py", line 460, in select_features
dataset._compute_all_features()
AttributeError: 'list' object has no attribute '_compute_all_features'
This adds :
A fix (?) for the dataset plot tool. As you can see in
plot.py
the dataset was seemingly missing in the parameters. Before that, I was getting the following error :