Skip to content

Commit 7013f0d

Browse files
Merge branch 'staging' into dependabot/pip/pyarrow-gte-0.8.0-and-lt-7.0.0
2 parents 1269e3f + ba24adc commit 7013f0d

6 files changed

Lines changed: 257 additions & 249 deletions

File tree

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# What's New
22

3+
## Update December 17, 2021
4+
5+
We have a new release [Recommenders 1.0.0](https://github.com/microsoft/recommenders/releases/tag/1.0.0)! The codebase has now migrated to TensorFlow versions 2.6 / 2.7 and to Spark version 3. In addition, there are a few changes in the dependencies and extras installed by `pip` (see [this guide](recommenders/README.md#optional-dependencies)). We have also made improvements in the code and the CI / CD pipelines.
6+
37
## Update September 27, 2021
48

59
We have a new release [Recommenders 0.7.0](https://github.com/microsoft/recommenders/releases/tag/0.7.0)!

README.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,9 @@
22

33
[![Documentation Status](https://readthedocs.org/projects/microsoft-recommenders/badge/?version=latest)](https://microsoft-recommenders.readthedocs.io/en/latest/?badge=latest)
44

5-
## What's New
6-
### (September 27, 2021)
5+
## What's New (December 17, 2021)
76

8-
We have a new release [Recommenders 0.7.0](https://github.com/microsoft/recommenders/releases/tag/0.7.0)!
9-
We have changed the names of the folders which contain the source code, so that they are more informative. This implies that you will need to change any import statements that reference the recommenders package. Specifically, the folder `reco_utils` has been renamed to `recommenders` and its subfolders have been renamed according to [issue 1390](https://github.com/microsoft/recommenders/issues/1390).
10-
11-
The previous release ([0.6.0](https://github.com/microsoft/recommenders/releases/tag/0.6.0)) is compatible with the old style of naming of modules.
12-
13-
The recommenders package now supports three types of environments: [venv](https://docs.python.org/3/library/venv.html), [virtualenv](https://virtualenv.pypa.io/en/latest/index.html#) and [conda](https://docs.conda.io/projects/conda/en/latest/glossary.html?highlight=environment#conda-environment) with Python versions 3.6 and 3.7.
14-
15-
We have also added new evaluation metrics: _novelty, serendipity, diversity and coverage_ (see the [evalution notebooks](examples/03_evaluate/README.md)).
16-
17-
Code coverage reports are now generated for every PR, using [Codecov](https://about.codecov.io/).
7+
We have a new release [Recommenders 1.0.0](https://github.com/microsoft/recommenders/releases/tag/1.0.0)! The codebase has now migrated to TensorFlow versions 2.6 / 2.7 and to Spark version 3. In addition, there are a few changes in the dependencies and extras installed by `pip` (see [this guide](recommenders/README.md#optional-dependencies)). We have also made improvements in the code and the CI / CD pipelines.
188

199
Starting with release 0.6.0, Recommenders has been available on PyPI and can be installed using pip!
2010

examples/00_quick_start/rbm_movielens.ipynb

Lines changed: 146 additions & 105 deletions
Large diffs are not rendered by default.

examples/02_model_collaborative_filtering/rbm_deep_dive.ipynb

Lines changed: 102 additions & 129 deletions
Large diffs are not rendered by default.

recommenders/models/rbm/rbm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ def train_test_precision(self, xtst):
554554

555555
self.sess.run(
556556
self.iter.initializer,
557-
feed_dict={self.vu: xtst, self.batch_size: xtst.shape[0]},
557+
feed_dict={self.vu: xtst, self.batch_size: self.minibatch},
558558
)
559559

560560
precision_test = self.sess.run(self.Clacc)
@@ -618,7 +618,7 @@ def init_gpu(self):
618618
"""Config GPU memory"""
619619

620620
self.config_gpu = tf.compat.v1.ConfigProto(
621-
log_device_placement=True, allow_soft_placement=True
621+
log_device_placement=False, allow_soft_placement=True
622622
)
623623
self.config_gpu.gpu_options.allow_growth = True # dynamic memory allocation
624624

tests/ci/component_governance.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- job: Component_governance
1313
timeoutInMinutes: 20 # how long to run the job before automatically cancelling
1414
pool:
15-
vmImage: 'ubuntu-16.04'
15+
vmImage: 'ubuntu-18.04'
1616

1717
steps:
1818
- bash: |

0 commit comments

Comments
 (0)