<commit_before>#!/usr/bin/env python

import numpy as np
from rpca import rpca

x = np.random.randn(100) * 5
y = np.random.randn(100)
points = np.vstack([y,x])

L,S = rpca(points.T, k=1)

print L
print S<commit_msg>rpyca function signature changed in this commit: 584f3750530a2cf34ce9cc6df8f7494af0ca39bd  - k -> r<commit_after>#!/usr/bin/env python

import numpy as np
from rpca import rpca

x = np.random.randn(100) * 5
y = np.random.randn(100)
points = np.vstack([y,x])

L,S = rpca(points.T, r=1)

print L
print S
{'fraction_non_alphanumeric': 0.13565891472868216, 'fraction_numerical': 0.0755813953488372, 'mean_word_length': 4.329896907216495, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4387460', 'n_tokens_mistral': 251, 'n_tokens_neox': 228, 'n_words': 56}