Skip to content

Commit

Permalink
Merge pull request bsc-wdc#349 from gcasadesus/save-models
Browse files Browse the repository at this point in the history
Save models and RandomForestRegressor
  • Loading branch information
fjconejero authored Aug 9, 2021
2 parents 64faec6 + 4a44cd3 commit 8b34f9c
Show file tree
Hide file tree
Showing 25 changed files with 3,147 additions and 864 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ target/
*compss*.out
*compss*.err


# ========== C & C++ ignores =================
# Prerequisites
*.d
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ MAINTAINER COMPSs Support <support-compss@bsc.es>
COPY . dislib/

ENV PYTHONPATH=$PYTHONPATH:/dislib
ENV LC_ALL=C.UTF-8
RUN pip3 install -r /dislib/requirements.txt

# Expose SSH port and run SSHD
EXPOSE 22
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def setGithubCommitStatus(state, description) {

pipeline {
options {
timeout(time: 4, unit: 'HOURS')
timeout(time: 3, unit: 'HOURS')
}
agent {
node {
Expand Down
4 changes: 2 additions & 2 deletions dislib/classification/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from dislib.classification.csvm.base import CascadeSVM
from dislib.classification.rf.forest import RandomForestClassifier
from dislib.commons.rf.forest import RandomForestClassifier

__all__ = ['CascadeSVM', 'RandomForestClassifier']
__all__ = ["CascadeSVM", "RandomForestClassifier"]
2 changes: 1 addition & 1 deletion dislib/classification/csvm/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def score(self, x, y, collect=False):
Test samples.
y : ds-array, shape=(n_samples, 1)
True labels for x.
collect : bool
collect : bool, optional (default=False)
When True, a synchronized result is returned.
Returns
Expand Down
304 changes: 0 additions & 304 deletions dislib/classification/rf/_data.py

This file was deleted.

Loading

0 comments on commit 8b34f9c

Please sign in to comment.