Package: nntm
Warningnntm can only be used with thev3dataset for nownntmA set of modules for theNumerai tournament.Installationpipinstallnntm==1.6.2Usagefromgetpassimportgetpassfromnntm.datasetsimport(fetch_numerai_training,fetch_numerai_tournament,submit_numerai_tournament,COLUMN_NAMES_SMALL,)fromsklearn.linear_modelimportLinearRegression# Leave some columns out to save RAMcolumns=COLUMN_NAMES_SMALL# FitX_train,y_train=fetch_numerai_training(return_X_y=True,columns=columns)model=LinearRegression()model.fit(X_train,y_train)# PredictX_tourn,_=fetch_numerai_tournament(return_X_y=True,columns=columns)y_pred=model.predict(X_tourn)# Submitmodel_id=input("Model ID (numer.ai/models):")public_id=input("API Key Public ID (numer.ai/account):")secret_key=getpass("API Key Secret (numer.ai/account):")submit_numerai_tournament(y_pred,model_id=model_id,public_id=public_id,secret_key=secret_key)DevelopmentRun TestspytestDocsapt-getinstall-ypython3-sphinx
pipinstall-rdocs/requirements.txt
pipinstall.cddocsGenerate api documentation from docstringssphinx-apidoc-f-osource/../src/nntm/Build html documentationmakehtml1.6.2 (2022-09-11)Fixuse version prefix when downloading dataset1.6.1 (2022-06-19)Fixremove submission version1.6.0 (2021-12-05)Featadd function to submit tournament prediction1.5.0 (2021-11-30)Featadd round_num attribute to datasetsadd metrics to public api1.4.1 (2021-11-14)Fixset factory argsdon't pass eras to predict methodpass eras to scorers on callconvert ndarray to series1.4.0 (2021-11-11)Featadd validation_curveadd numerai correlation scoreadd utility function to build cvRefactorsimplify function1.3.0 (2021-11-04)Featadd argument to keep downloaded file1.2.2 (2021-11-04)Fixexplicitly check if groups is None1.2.1 (2021-11-04)Fixexplicitly check if groups is None1.2.0 (2021-10-30)Featadd constants for feature and target names1.1.1 (2021-10-30)Fixadd suffix only to filepath1.1.0 (2021-10-30)Featadd fetcher for feature metadataadd argument to fetch custom round1.0.0 (2021-10-29)Featadd fetcher for validation predictionsadd fetcher for example predictionsadd fetcher for live dataadd fetcher for test dataadd fetcher for tournament dataadd targets attributeremove na_value argumentuse original data typesreturn metadata as separate attributesBREAKING CHANGEremove support for NaN value replacement in fetchers.don't converteras to int.replace the dataset'sinfoattribute byid,eraanddata_typeattributes.0.3.0 (2021-10-28)Featadd PurgedKFold cross-validatorPerffill NaNs only when necessary0.2.0 (2021-10-08)Featadd fetcher for validation data0.1.2 (2021-10-07)Fixsupport earlier python versions0.1.1 (2021-10-07)Refactorremove icons0.1.0 (2021-10-07)Featadd fetcher for training dataMIT LicenseCopyright (c) 2021 Timo SuttererPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.BSD 3-Clause LicenseCopyright (c) 2007-2021 The scikit-learn developers.
All rights reserved.Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.