Comments (5)
Hi @yauhen-info, thank you for your interest in Flor and for the feedback. Yes, indeed the docs are deprecated.
Flor is currently in a state where people should be able to try it on their own machines. I'll spend some time today updating the docs so people can try a tutorial and see what we're about.
Flor is transparent now and invoked from the command line: flor python iris.py experiment_name_iris
. So you don't need Flor inside your code. More instructions to follow.
from flor.
Hi all, please see updated docs. More documentation to follow, but this should be enough to get you started. Thanks!
from flor.
Same problem and I install from source lol
The python version is 3.7
from flor.
Thanks everyone, we're rolling out a new version of Flor and the docs are outdated. The new version will be transparent to the user (you won't need to import Flor), but it will require some command-line invocations. I'll follow up once we update the docs, and explain the relevant changes. Leaving the issue open until then.
from flor.
I have the same issue as the topic-starter. Thanks, @rlnsanz, for your work.
Though atm looks like the way described in the docs is deprecated.
The docs say:
from sklearn import datasets
from sklearn import svm
from sklearn.model_selection import train_test_split
import flor
log = flor.log
@flor.track
def fit_and_score_model():
iris = datasets.load_iris()
X_tr, X_te, y_tr, y_te = train_test_split(iris.data, iris.target,
test_size=log.param(0.15),
random_state=log.param(430))
clf = svm.SVC(gamma=log.param(0.001), C=(100.0))
clf.fit(X_tr, y_tr)
score = log.metric(clf.score(X_te, y_te))
with flor.Context('iris'):
fit_and_score_model()
The exact same example is under the deprecated folder of the source code https://github.com/ucbrise/flor/blob/master/examples/deprecated/iris/iris.py
Thus, I bet that current working example of Log initialization is under https://github.com/ucbrise/flor/blob/master/examples/iris/iris.py
from flor.
Related Issues (20)
- Data management for replay/reproducibility.
- Jupyter, Collaboratory, IPython Integration
- Windows support HOT 1
- Fault Tolerance HOT 1
- Error Running Linear.py HOT 1
- New CLI
- WandB and TensorBoard integrations
- Save CLI flags
- IO Intercept HOT 2
- Warn about Autosave
- Relative paths in .flor
- Add NAME to Full_Pivot
- Update ReadMe HOT 1
- Link between Makefile & .gitignore
- Ignore SigChld causes issues on distributed code
- Multiple file support
- remove pytorch from dependencies when installing via pip HOT 1
- Add cards to project planning to TensorFlor Support project HOT 1
- Add cards to project planning for Historical Queries project HOT 1
- Add version control
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flor.