learningmachine 2.2.0__py2.py3-none-any.whl → 2.2.2__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -122,3 +122,16 @@ class Regressor(Base, RegressorMixin):
122
122
  X_r
123
123
  ))
124
124
 
125
+ def update(self, newx, newy):
126
+ """
127
+ update the model.
128
+ """
129
+
130
+ newx_r = base.as_vector(FloatVector(newx))
131
+
132
+ self.obj["update"](newx_r,
133
+ base.as_numeric(FloatVector([newy]))
134
+ )
135
+
136
+ return self
137
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: learningmachine
3
- Version: 2.2.0
3
+ Version: 2.2.2
4
4
  Summary: Machine Learning with uncertainty quantification and interpretability
5
5
  Home-page: https://github.com/Techtonique/learningmachine_python
6
6
  Author: T. Moudiki
@@ -1,10 +1,10 @@
1
1
  learningmachine/__init__.py,sha256=rFWh3ToZt2j5KwtKjeC9eGlk-YI-QfGBs4Ot19-cOsc,256
2
2
  learningmachine/base.py,sha256=ieEBocAmc0W8nFJ5-6HjHn56RZgrdyPUWAdEd3nvSYk,9790
3
3
  learningmachine/classifier.py,sha256=MiEkyYDvOfdcuRenS8Ct9PcaWzvfINO0I2BoSf9R28o,6080
4
- learningmachine/regression.py,sha256=gHNvwiWmm-aUkA7z1Jn_UWbswQl_De099SllGzKxJy8,4637
4
+ learningmachine/regression.py,sha256=Pw7cOjK86afh79BOdtgokdBVD2ug7HNu_JNUSm2Wz6g,4945
5
5
  learningmachine/utils.py,sha256=aD2SInKmJtf_54wKnzeM9mKsstVWS5BWkcMGxXHstIM,7004
6
- learningmachine-2.2.0.dist-info/LICENSE,sha256=0M75bfQ3jR1Q1PKVwJdHHMXFK3iiSKGMrOGmBIV7Kms,1690
7
- learningmachine-2.2.0.dist-info/METADATA,sha256=yFkePz2CJTJEPZQpiskrsif9FwW_9oAJ62rbH9udoY4,939
8
- learningmachine-2.2.0.dist-info/WHEEL,sha256=M4n4zmFKzQZk4mLCcycNIzIXO7YPKE_b5Cw4PnhHEg8,109
9
- learningmachine-2.2.0.dist-info/top_level.txt,sha256=CBp1D7tBEVWpNIXFWmJ9Y0LhPRN3S8HS3sdVMOKrRU8,16
10
- learningmachine-2.2.0.dist-info/RECORD,,
6
+ learningmachine-2.2.2.dist-info/LICENSE,sha256=0M75bfQ3jR1Q1PKVwJdHHMXFK3iiSKGMrOGmBIV7Kms,1690
7
+ learningmachine-2.2.2.dist-info/METADATA,sha256=bKvJH3ePV5lWvQZjgk5Bqm0zJ1saClEiS-K_lJq_mmQ,939
8
+ learningmachine-2.2.2.dist-info/WHEEL,sha256=M4n4zmFKzQZk4mLCcycNIzIXO7YPKE_b5Cw4PnhHEg8,109
9
+ learningmachine-2.2.2.dist-info/top_level.txt,sha256=CBp1D7tBEVWpNIXFWmJ9Y0LhPRN3S8HS3sdVMOKrRU8,16
10
+ learningmachine-2.2.2.dist-info/RECORD,,