Skip to content

Commit

Permalink
Merge branch 'staging' into dependabot/pip/pyarrow-gte-0.8.0-and-lt-7…
Browse files Browse the repository at this point in the history
….0.0
  • Loading branch information
miguelgfierro authored Dec 17, 2021
2 parents 1269e3f + ba24adc commit 7013f0d
Show file tree
Hide file tree
Showing 6 changed files with 257 additions and 249 deletions.
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# What's New

## Update December 17, 2021

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.

## Update September 27, 2021

We have a new release [Recommenders 0.7.0](https://github.com/microsoft/recommenders/releases/tag/0.7.0)!
Expand Down
14 changes: 2 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,9 @@

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

## What's New
### (September 27, 2021)
## What's New (December 17, 2021)

We have a new release [Recommenders 0.7.0](https://github.com/microsoft/recommenders/releases/tag/0.7.0)!
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).

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.

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.

We have also added new evaluation metrics: _novelty, serendipity, diversity and coverage_ (see the [evalution notebooks](examples/03_evaluate/README.md)).

Code coverage reports are now generated for every PR, using [Codecov](https://about.codecov.io/).
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.

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

Expand Down
251 changes: 146 additions & 105 deletions examples/00_quick_start/rbm_movielens.ipynb

Large diffs are not rendered by default.

231 changes: 102 additions & 129 deletions examples/02_model_collaborative_filtering/rbm_deep_dive.ipynb

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions recommenders/models/rbm/rbm.py
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ def train_test_precision(self, xtst):

self.sess.run(
self.iter.initializer,
feed_dict={self.vu: xtst, self.batch_size: xtst.shape[0]},
feed_dict={self.vu: xtst, self.batch_size: self.minibatch},
)

precision_test = self.sess.run(self.Clacc)
Expand Down Expand Up @@ -618,7 +618,7 @@ def init_gpu(self):
"""Config GPU memory"""

self.config_gpu = tf.compat.v1.ConfigProto(
log_device_placement=True, allow_soft_placement=True
log_device_placement=False, allow_soft_placement=True
)
self.config_gpu.gpu_options.allow_growth = True # dynamic memory allocation

Expand Down
2 changes: 1 addition & 1 deletion tests/ci/component_governance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- job: Component_governance
timeoutInMinutes: 20 # how long to run the job before automatically cancelling
pool:
vmImage: 'ubuntu-16.04'
vmImage: 'ubuntu-18.04'

steps:
- bash: |
Expand Down

0 comments on commit 7013f0d

Please sign in to comment.