Skip to content

docs: Fix a few typos #168

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ A short paper describing the library is available on arXiv http://arxiv.org/abs/

Supported Operating Systems
---------------------------
fastFM has a continous integration / testing servers (Travis) for **Linux (Ubuntu 14.04 LTS)**
fastFM has a continuous integration / testing servers (Travis) for **Linux (Ubuntu 14.04 LTS)**
and **OS X Mavericks**. Other OS are not actively supported.

.. toctree::
Expand Down
2 changes: 1 addition & 1 deletion doc/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Regression with ALS Solver
--------------------------

We first set up a small toy dataset for a regression problem. Please
refere to [SIGIR2011] for background information on the implemented ALS solver.
refer to [SIGIR2011] for background information on the implemented ALS solver.

.. testcode::

Expand Down
2 changes: 1 addition & 1 deletion examples/warm_start_als.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

fm = als.FMRegression(n_iter=0, l2_reg_w=l2_reg_w,
l2_reg_V=l2_reg_V, rank=rank, random_state=seed)
# initalize coefs
# initialize coefs
fm.fit(X_train, y_train)

rmse_train = []
Expand Down
2 changes: 1 addition & 1 deletion examples/warm_start_mcmc.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"""

fm = mcmc.FMRegression(n_iter=0, rank=rank, random_state=seed)
# initalize coefs
# initialize coefs
fm.fit_predict(X_train, y_train, X_test)

rmse_test = []
Expand Down
2 changes: 1 addition & 1 deletion fastFM/bpr.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class FMRecommender(FactorizationMachine):

step_size : float
Stepsize for the SGD solver, the solver uses a fixed step size and
might require a tunning of the number of iterations `n_iter`.
might require a tuning of the number of iterations `n_iter`.

Attributes
---------
Expand Down
4 changes: 2 additions & 2 deletions fastFM/sgd.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class FMRegression(FactorizationMachine, RegressorMixin):

step_size : float
Stepsize for the SGD solver, the solver uses a fixed step size and
might require a tunning of the number of iterations `n_iter`.
might require a tuning of the number of iterations `n_iter`.

Attributes
---------
Expand Down Expand Up @@ -125,7 +125,7 @@ class FMClassification(BaseFMClassifier):

step_size : float
Stepsize for the SGD solver, the solver uses a fixed step size and
might require a tunning of the number of iterations `n_iter`.
might require a tuning of the number of iterations `n_iter`.

Attributes
---------
Expand Down
2 changes: 1 addition & 1 deletion fastFM/tests/test_als.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def test_warm_start_path():

fm = als.FMRegression(n_iter=0, l2_reg_w=l2_reg_w,
l2_reg_V=l2_reg_V, rank=rank, random_state=seed)
# initalize coefs
# initialize coefs
fm.fit(X_train, y_train)

rmse_train = []
Expand Down
2 changes: 1 addition & 1 deletion fastFM/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def check_random_state(seed):


def _shape_repr(shape):
"""Return a platform independent reprensentation of an array shape
"""Return a platform independent representation of an array shape
Under Python 2, the `long` type introduces an 'L' suffix when using the
default %r format for tuples of integers (typically used to store the shape
of an array).
Expand Down