From ece5d0c145b8f916b52e0e7c2c388203faa1a971 Mon Sep 17 00:00:00 2001 From: AlexMili Date: Mon, 21 Nov 2016 11:57:16 +0100 Subject: [PATCH] 1.6.1 Release --- NEWS.md | 3 +++ README.md | 17 +++---------- rocks/torch-dataframe-1.6-1.rockspec | 37 ++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+), 13 deletions(-) create mode 100644 rocks/torch-dataframe-1.6-1.rockspec diff --git a/NEWS.md b/NEWS.md index 930b917..d1bd43f 100644 --- a/NEWS.md +++ b/NEWS.md @@ -3,6 +3,9 @@ News file for torch-dataframe Version: development -------------------- + +Version: 1.6.1 +-------------------- * The get_max_value/get_min_value use torch.max/min when no missing data is present in the column * Fixed upgrade_frame bug * Fixed bug with saving CSV-files when they contain boolean values diff --git a/README.md b/README.md index d277709..ff5bd59 100644 --- a/README.md +++ b/README.md @@ -79,20 +79,11 @@ luarocks install torch-dataframe ## Changelog -Version: 1.6 +Version: 1.6.1 -------------------- -* The data is now stored in Dataseries that handles all the manipulations, statistics, categoricals, etc internally. The data backend is either a tensor or a tds.Vec in order to better accomodate large datasets. -* The self.columns has been dropped and there is now only self.column_order that keeps track of column order. -* Most functions now use either tds.Hash or tds.Vec for returning values instead of regular tables. -* The data types are now more sophisticate with boolean, integer, long, double, and string. The first and the last are internally stored as `tds.Vec` while the remaining are in the form of torch tensors. -* Since conversions are more restricted with the new column types the is a boolean2tensor and boolean2categorical that help converting boolean columns into numerical. -* The `Dataframe.schema` property has been removed as it now resides in the series. The same information can be retrieved using `get_schema()`. -* There is now a custom busted assertion that can compare tensors, tds, and Dataseries. -* The csv data is entered using csvigo's `large` mode thus circumventing the memory limit for large csv's. -* The to_/from_categorical now always return a single value when a single value is entered. -* Add column now takes a Dataseries instead of a Df_Array -* Generalized the argcheck by adding string.split for `|` separated arguments -* Multiple minor bug-fixes with non-local variables +* The get_max_value/get_min_value use torch.max/min when no missing data is present in the column +* Fixed upgrade_frame bug +* Fixed bug with saving CSV-files when they contain boolean values See `NEWS.md` file for previous changes. diff --git a/rocks/torch-dataframe-1.6-1.rockspec b/rocks/torch-dataframe-1.6-1.rockspec new file mode 100644 index 0000000..6ca4b5b --- /dev/null +++ b/rocks/torch-dataframe-1.6-1.rockspec @@ -0,0 +1,37 @@ +package = "torch-dataframe" +version = "1.6-1" +source = { + url = "https://github.com/alexmili/torch-dataframe/archive/v1.6-1.tar.gz", + dir = "torch-dataframe-1.6-1" +} + +description = { + summary = "A Dataframe class for Torch", + detailed = [[ + Dataframe is a Torch7 class to load and manipulate + Kaggle-style CSVs inspired from R's and pandas' Dataframes. + Compatible with torchnet. + ]], + homepage = "https://github.com/alexmili/torch-dataframe", + license = "MIT/X11", + maintainer = "AlexMili" +} +dependencies = { + "lua >= 5.1", + "torch >= 7.0", + "argcheck >= 2.0", + "luafilesystem >= 1.6.3", + "paths", + "torchnet >= 1.0", + "threads >= 1.0", + "tds", + "nn" +} +build = { + type = "cmake", + variables = { + CMAKE_BUILD_TYPE="Release", + LUA_PATH="$(LUADIR)", + LUA_CPATH="$(LIBDIR)" + } +}